]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ACPI: toshiba_acpi.c fix sparse signedness mismatch warnings
authorHarvey Harrison <harvey.harrison@gmail.com>
Mon, 22 Sep 2008 21:37:29 +0000 (14:37 -0700)
committerLen Brown <len.brown@intel.com>
Fri, 10 Oct 2008 22:05:53 +0000 (18:05 -0400)
commit9e113e0014204bfb44a2baa29b2a141ede41b074
tree7585a62864913163cbf33a974df8708b1be4e489
parent4b5fcb353ba46adfa2f98546e3d34e7dc65221cb
ACPI: toshiba_acpi.c fix sparse signedness mismatch warnings

set_bit expects unsigned int, and we start with a u32 anyway.
drivers/acpi/toshiba_acpi.c:397:14: warning: incorrect type in argument 1 (different signedness)
drivers/acpi/toshiba_acpi.c:397:14:    expected unsigned int [usertype] *word
drivers/acpi/toshiba_acpi.c:397:14:    got int *<noident>
drivers/acpi/toshiba_acpi.c:399:14: warning: incorrect type in argument 1 (different signedness)
drivers/acpi/toshiba_acpi.c:399:14:    expected unsigned int [usertype] *word
drivers/acpi/toshiba_acpi.c:399:14:    got int *<noident>
drivers/acpi/toshiba_acpi.c:401:14: warning: incorrect type in argument 1 (different signedness)
drivers/acpi/toshiba_acpi.c:401:14:    expected unsigned int [usertype] *word
drivers/acpi/toshiba_acpi.c:401:14:    got int *<noident>

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/toshiba_acpi.c