From: Grant Likely Date: Thu, 12 Apr 2012 20:42:15 +0000 (-0600) Subject: irq_domain: fix type mismatch in debugfs output format X-Git-Tag: v3.4-rc3~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5269a9ab7def9a3116663347d59c4d70afa2d180;p=pandora-kernel.git irq_domain: fix type mismatch in debugfs output format sizeof(void*) returns an unsigned long, but it was being used as a width parameter to a "%-*s" format string which requires an int. On 64 bit platforms this causes a type mismatch: linux/kernel/irq/irqdomain.c:575: warning: field width should have type 'int', but argument 6 has type 'long unsigned int' This change casts the size to an int so printf gets the right data type. Reported-by: Andreas Schwab Signed-off-by: Grant Likely Cc: David Daney --- Reading git-diff-tree failed