diff mbox series

[v5,5/5] Bluetooth: btmtksdio: clean up inconsistent error message in btmtksdio_mtk_reg_read

Message ID 7a5491bd4192cbd7423c8769641df9045a565ad4.1641755121.git.objelf@gmail.com (mailing list archive)
State Accepted
Commit 6cd9f1d4c17ffd01df43e1629606a44082eeb8a3
Headers show
Series [v5,1/5] Bluetooth: btmtksdio: rename btsdio_mtk_reg_read | expand

Checks

Context Check Description
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint fail [v5,5/5] Bluetooth: btmtksdio: clean up inconsistent error message in btmtksdio_mtk_reg_read 1: T1 Title exceeds max length (92>80): "[v5,5/5] Bluetooth: btmtksdio: clean up inconsistent error message in btmtksdio_mtk_reg_read"

Commit Message

Sean Wang Jan. 9, 2022, 7:24 p.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

Have "..reg (%d)" to be consistent with the other similar error messages.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
v5: new created to make the series better
---
 drivers/bluetooth/btmtksdio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index d82ba9d71fb8..25fb9c79b1f4 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -816,7 +816,7 @@  static int btmtksdio_mtk_reg_read(struct hci_dev *hdev, u32 reg, u32 *val)
 
 	err = mtk_hci_wmt_sync(hdev, &wmt_params);
 	if (err < 0) {
-		bt_dev_err(hdev, "Failed to read reg(%d)", err);
+		bt_dev_err(hdev, "Failed to read reg (%d)", err);
 		return err;
 	}