Message ID | 201001291748.51320.trenn@suse.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Index: linux-2.6.32-SLE11-SP1/drivers/acpi/scan.c =================================================================== --- linux-2.6.32-SLE11-SP1.orig/drivers/acpi/scan.c +++ linux-2.6.32-SLE11-SP1/drivers/acpi/scan.c @@ -1382,6 +1382,9 @@ int acpi_bus_start(struct acpi_device *d { struct acpi_bus_ops ops; + if (!device) + return -EINVAL; + memset(&ops, 0, sizeof(ops)); ops.acpi_op_start = 1;