Commit da511997 authored by Roel Kluin's avatar Roel Kluin Committed by Len Brown

acpi-wmi: unsigned cannot be less than 0


typedef u32                 acpi_status;

result is unsigned, so an error returned by acpi_bus_register_driver()
will not be noticed.
Signed-off-by: default avatarRoel Kluin <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLen Brown <>
parent b36a50f9
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment