From a0807bad4a7313f7014cd58205d665c521273cb3 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Mon, 3 May 2010 15:30:16 +0200 Subject: [PATCH] --- yaml --- r: 197567 b: refs/heads/master c: 7715348cbe28da80fd5372fd68748e852a9d8468 h: refs/heads/master i: 197565: 974425bc3c1ba8900c53da2e9637ff625d889c7d 197563: 2f69d1013d64feef5661c097d4639f732b2cfaef 197559: 25d61a20aec9ec5ce68d95eb2ff92acfcc73b003 197551: a5894311e00af6aec20a0a3756dc77e0d1949401 197535: bdf0d6a3f58947d57dfccdeb36c444b379866da9 197503: b1632ee780b7e36a7bff644090457e789b56ecae v: v3 --- [refs] | 2 +- trunk/drivers/platform/x86/wmi.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9080ea37e5fe..e9c372bfc112 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fc3155b2c6419a442c6f8b34a3bf31f8efe0fe33 +refs/heads/master: 7715348cbe28da80fd5372fd68748e852a9d8468 diff --git a/trunk/drivers/platform/x86/wmi.c b/trunk/drivers/platform/x86/wmi.c index e820f4cddb61..f16768db4468 100644 --- a/trunk/drivers/platform/x86/wmi.c +++ b/trunk/drivers/platform/x86/wmi.c @@ -880,6 +880,7 @@ static void acpi_wmi_notify(struct acpi_device *device, u32 event) struct guid_block *block; struct wmi_block *wblock; struct list_head *p; + char guid_string[37]; list_for_each(p, &wmi_blocks.list) { wblock = list_entry(p, struct wmi_block, list); @@ -889,6 +890,11 @@ static void acpi_wmi_notify(struct acpi_device *device, u32 event) (block->notify_id == event)) { if (wblock->handler) wblock->handler(event, wblock->handler_data); + if (debug_event) { + wmi_gtoa(wblock->gblock.guid, guid_string); + printk(KERN_INFO PREFIX "DEBUG Event GUID:" + " %s\n", guid_string); + } acpi_bus_generate_netlink_event( device->pnp.device_class, dev_name(&device->dev),