Skip to contentSkip to conversation

bluetooth: hci_ll: remove \n from kernel messages

PATCH In review David Lechner 2 participants 2 messages Dec 3, 2017 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluetooth: hci_ll: remove \n from kernel messages

The bt_* printk macros include a \n already, so we don't need extra ones here.

---
 drivers/bluetooth/hci_ll.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/bluetooth/hci_ll.c +2 -2
index 42142be..0f0a3a2 100644
@@ -628,11 +628,11 @@ static int download_firmware(struct ll_device *lldev)
 				break;
 			}
 			if (cmd->prefix != 1)
-				bt_dev_dbg(lldev->hu.hdev, "command type %d\n", cmd->prefix);
+				bt_dev_dbg(lldev->hu.hdev, "command type %d", cmd->prefix);
 
 			skb = __hci_cmd_sync(lldev->hu.hdev, cmd->opcode, cmd->plen, &cmd->speed, HCI_INIT_TIMEOUT);
 			if (IS_ERR(skb)) {
-				bt_dev_err(lldev->hu.hdev, "send command failed\n");
+				bt_dev_err(lldev->hu.hdev, "send command failed");
 				err = PTR_ERR(skb);
 				goto out_rel_fw;
 			}
Signature · 1 line
2.7.4
maintainer
#1 lore raw

Hi David,

Quoted 7 lines

The bt_* printk macros include a \n already, so we don't need extra ones here.

---
drivers/bluetooth/hci_ll.c | 4 ++--

1 file changed, 2 insertions(+), 2 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel