Displaying 3 results from an estimated 3 matches for "efa9f2d".
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...t, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
+do { \
+ if (acpiphp_debug) \
+ pr_debug(format, ##arg); \
+} while (0)
struct acpiphp_bridge;
struct acpiphp_slot;
diff --git a/drivers/pci/hotplug/acpiphp_core.c b/drivers/pci/hotplug/acpiphp_core.c
index efa9f2d..25dba60 100644
--- a/drivers/pci/hotplug/acpiphp_core.c
+++ b/drivers/pci/hotplug/acpiphp_core.c
@@ -31,6 +31,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
@@ -137,7 +13...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...t, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
+do { \
+ if (acpiphp_debug) \
+ pr_debug(format, ##arg); \
+} while (0)
struct acpiphp_bridge;
struct acpiphp_slot;
diff --git a/drivers/pci/hotplug/acpiphp_core.c b/drivers/pci/hotplug/acpiphp_core.c
index efa9f2d..25dba60 100644
--- a/drivers/pci/hotplug/acpiphp_core.c
+++ b/drivers/pci/hotplug/acpiphp_core.c
@@ -31,6 +31,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
@@ -137,7 +13...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...t, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg)
+do { \
+ if (acpiphp_debug) \
+ pr_debug(format, ##arg); \
+} while (0)
struct acpiphp_bridge;
struct acpiphp_slot;
diff --git a/drivers/pci/hotplug/acpiphp_core.c b/drivers/pci/hotplug/acpiphp_core.c
index efa9f2d..25dba60 100644
--- a/drivers/pci/hotplug/acpiphp_core.c
+++ b/drivers/pci/hotplug/acpiphp_core.c
@@ -31,6 +31,8 @@
*
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/init.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
@@ -137,7 +13...