PCI hotplug: cpcihp: fix debug module parameter to be bool
authorDanny Kukawka <danny.kukawka@bisect.de>
Mon, 30 Jan 2012 22:00:10 +0000 (23:00 +0100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 14 Feb 2012 16:45:03 +0000 (08:45 -0800)
Fix debug variable from module parameter to be really bool to
fix 'warning: return from incompatible pointer type'.

Acked-by: Scott Murray <scott@spiteful.org>
Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/cpcihp_generic.c

index fb3f84661bdc93c890d63111567216d505ed877b..81af764c629b6d34573fc2bb9297b26316fa79c6 100644 (file)
@@ -62,7 +62,7 @@
 #define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg)
 
 /* local variables */
-static int debug;
+static bool debug;
 static char *bridge;
 static u8 bridge_busnr;
 static u8 bridge_slot;