aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorGrant Likely <[email protected]>2012-04-12 14:42:15 -0600
committerGrant Likely <[email protected]>2012-04-12 16:25:48 -0600
commit5269a9ab7def9a3116663347d59c4d70afa2d180 (patch)
treee4c93f4f7a1cc8e6c243bce6be7b5c37ece3cc54 /net/lapb/lapb_timer.c
parentecca5c3acc0d0933d89abc44e60afb0cc8170e35 (diff)
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 <[email protected]> Signed-off-by: Grant Likely <[email protected]> Cc: David Daney <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions