Thread (12 messages) 12 messages, 2 authors, 2012-05-30

[PATCH 6/8] compat-wireless: add bluetooth to pr_fmt patch

STALE5237d

From: Hauke Mehrtens <hauke@hauke-m.de>
Date: 2012-05-29 22:40:10
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 patches/53-pr_fmt.patch |   14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff --git a/patches/53-pr_fmt.patch b/patches/53-pr_fmt.patch
index 1e5ee79..874e756 100644
--- a/patches/53-pr_fmt.patch
+++ b/patches/53-pr_fmt.patch
@@ -374,6 +374,20 @@ compiler warnings. This is going to be sent upstream.
  #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  
  #include <linux/types.h>
+--- a/net/bluetooth/lib.c
++++ b/net/bluetooth/lib.c
+@@ -24,9 +24,11 @@
+ 
+ /* Bluetooth kernel library. */
+ 
++#undef pr_fmt
+ #define pr_fmt(fmt) "Bluetooth: " fmt
+ 
+ #include <linux/export.h>
++#include <linux/printk.h>
+ 
+ #include <net/bluetooth/bluetooth.h>
+ 
 --- a/net/wireless/lib80211.c
 +++ b/net/wireless/lib80211.c
 @@ -13,8 +13,10 @@
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help