Re: [PATCH v1] DEBUG: BT

From
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date
2018-01-03 17:32:12
Reply to
Andy Shevchenko, 2018-01-03
On Wed, 2018-01-03 at 19:30 +0200, Andy Shevchenko wrote:

Sorry for the noise and happy New Year!

Wrong patch.
quoted hunk ↗ jump to hunk
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/bluetooth/Makefile  | 2 ++
 drivers/bluetooth/btbcm.c   | 2 ++
 drivers/bluetooth/hci_bcm.c | 2 ++
 3 files changed, 6 insertions(+)
diff --git a/drivers/bluetooth/Makefile b/drivers/bluetooth/Makefile
index 4e4e44d09796..2b4d3ab1972e 100644
--- a/drivers/bluetooth/Makefile
+++ b/drivers/bluetooth/Makefile
@@ -44,3 +44,5 @@ hci_uart-$(CONFIG_BT_HCIUART_QCA)	+=
hci_qca.o
 hci_uart-$(CONFIG_BT_HCIUART_AG6XX)	+= hci_ag6xx.o
 hci_uart-$(CONFIG_BT_HCIUART_MRVL)	+= hci_mrvl.o
 hci_uart-objs				:= $(hci_uart-y)
+
+ccflags-y	+= -DDEBUG
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index afa4cb3b16e3..fb0371a935b1 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -21,6 +21,8 @@
  *
  */
 
+#define DEBUG
+
 #include <linux/module.h>
 #include <linux/firmware.h>
 #include <asm/unaligned.h>
diff --git a/drivers/bluetooth/hci_bcm.c b/drivers/bluetooth/hci_bcm.c
index 1fc604a0d870..dedbafb4e38f 100644
--- a/drivers/bluetooth/hci_bcm.c
+++ b/drivers/bluetooth/hci_bcm.c
@@ -21,6 +21,8 @@
  *
  */
 
+#define DEBUG
+
 #include <linux/kernel.h>
 #include <linux/errno.h>
 #include <linux/skbuff.h>
-- 
Andy Shevchenko [off-list ref]
Intel Finland Oy
Thread (2 messages) 2 messages, 1 author, last reply 2018-01-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help