ACPI: unsigned cannot be less than 0.
Subsystems (2)
PATCH 1/1 ACPI: unsigned cannot be less than 0.
include/linux/pci-acpi.h:74:
typedef u32 acpi_status;
------------------------------>8-------------8<--------------------------------- result is unsigned, so an error returned by acpi_bus_register_driver() will not be noticed.
---
drivers/platform/x86/wmi.c +1 -1
@@ -708,7 +708,7 @@ static int __init acpi_wmi_add(struct acpi_device *device)static int __init acpi_wmi_init (void ) { -acpi_status result; +int result;INIT_LIST_HEAD (&wmi_blocks.list);
applied
thanks,
Len Brown, Intel Open Source Technology Center
Quoted 26 lines · Roel Kluin
include/linux/pci-acpi.h:74:
typedef u32acpi_status;
------------------------------>8-------------8<--------------------------------- result is unsigned, so an error returned byacpi_bus_register_driver()will not be noticed.Signed-off-by Roel Kluin <[email protected]>---
drivers/platform/x86/wmi.c +1
-2@@ -708,7 +708,7 @@ static int __init acpi_wmi_add(struct acpi_device *device)static int __init acpi_wmi_init (void ) { -acpi_status result; +int result;INIT_LIST_HEAD (&wmi_blocks.list); --To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html