Skip to contentSkip to conversation

acpi: missing break

PATCH New Alan Cox 1 participant 1 message Oct 25, 2012 ACPI

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 acpi: missing break

From: Alan Cox <[email protected]>

We handle NOTIFY_THROTTLING so don't then fll through to unsupported event

---

 drivers/acpi/processor_driver.c |    1 +
 1 file changed, 1 insertion(+)
drivers/acpi/processor_driver.c +1 -0
index ae50bfc..a4352b8 100644
@@ -409,6 +409,7 @@ static void acpi_processor_notify(struct acpi_device *device, u32 event)
 		acpi_bus_generate_proc_event(device, event, 0);
 		acpi_bus_generate_netlink_event(device->pnp.device_class,
 						  dev_name(&device->dev), event, 0);
+		break;
 	default:
 		ACPI_DEBUG_PRINT((ACPI_DB_INFO,
 				  "Unsupported event [0x%x]\n", event));