kernel_optimize_test/kernel/irq
Grant Likely 5269a9ab7d 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 <schwab@linux-m68k.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: David Daney <david.daney@cavium.com>
2012-04-12 16:25:48 -06:00
..
autoprobe.c
chip.c
debug.h
devres.c
dummychip.c
generic-chip.c
handle.c
internals.h
irqdesc.c
irqdomain.c
Kconfig
Makefile
manage.c
migration.c
pm.c
proc.c
resend.c
settings.h
spurious.c