• Harvey Harrison's avatar
    ACPI: toshiba_acpi.c fix sparse signedness mismatch warnings · 9e113e00
    Harvey Harrison authored
    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: default avatarHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    9e113e00
toshiba_acpi.c 14.7 KB