[PATCH 234/241] ACPI: missing break

Herton Ronaldo Krzesinski herton.krzesinski at canonical.com
Thu Dec 13 13:59:59 UTC 2012 -stable review patch.  If anyone has any objections, please let me know.


From: Alan Cox <alan at linux.intel.com>

commit 879dca019dc43a1622edca3e7dde644b14b5acc5 upstream.

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

Signed-off-by: Alan Cox <alan at linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski at canonical.com>
 drivers/acpi/processor_driver.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c
index bbac51e..4a2c131 100644
--- a/drivers/acpi/processor_driver.c
+++ b/drivers/acpi/processor_driver.c
@@ -407,6 +407,7 @@ static void acpi_processor_notify(struct acpi_device *device, u32 event)
 		acpi_bus_generate_proc_event(device, event, 0);
 						  dev_name(&device->dev), event, 0);
+		break;
 				  "Unsupported event [0x%x]\n", event));

More information about the kernel-team mailing list