Skip to contentSkip to conversation

ACPI: Avoid NULL derefernce when hotplugging

PATCH Applied Thomas Renninger 2 participants 2 messages Jan 29, 2010 ACPI

lore
Share & tools
lore
#0 lore raw

cover ACPI: Avoid NULL derefernce when hotplugging

Hi,

these are against 2.6.32, but patch fine against latest acpi release tree with a small offset.

Would be great to see them mainline soon.
The first is IMO a must for stable, eventually both should end up there.

Thanks,

Thomas

#1 lore raw
Quoted 6 lines · Thomas Renninger

these are against 2.6.32, but patch fine against latest acpi release tree with a small offset.

Would be great to see them mainline soon.
The first is IMO a must for stable, eventually both should end up there.

I guess I don't object to these.

I still hope that we can someday get rid of these external calls to acpi_bus_add(), acpi_bus_start(), etc., and instead have the Linux/ACPI code handle hotplug itself and call the driver .add() and .remove() methods like normal subsystems do.

But until we can do that, I guess we have to patch up the current code so it at least doesn't crash.

Bjorn