• H
    ACPI: toshiba_acpi.c fix sparse signedness mismatch warnings · 9e113e00
    Harvey Harrison 提交于
    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: NHarvey Harrison <harvey.harrison@gmail.com>
    Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLen Brown <len.brown@intel.com>
    9e113e00
toshiba_acpi.c 14.7 KB