Bluetooth: Fix typos
Subsystems (5)
v2 cover Bluetooth: Fix typos
Found using codespell.
Probably best taken in through the Bluetooth tree.
Changes since v1:
- Added whether typos were in comments or log strings
- Fix typo in typo fix ("btrtl: Fix typo")
Bastien Nocera (7):
Bluetooth: btintel: Fix typo in comment
Bluetooth: btmtk: Fix typo in log string
Bluetooth: btrtl: Fix typo in comment
Bluetooth: hci_bcm4377: Fix typo in comment
Bluetooth: aosp: Fix typo in comment
Bluetooth: RFCOMM: Fix typos in comments
Bluetooth: Fix typos in comments
drivers/bluetooth/btintel.c | 2 +- drivers/bluetooth/btmtkuart.c | 2 +- drivers/bluetooth/btrtl.c | 2 +- drivers/bluetooth/hci_bcm4377.c | 2 +- net/bluetooth/aosp.c | 2 +- net/bluetooth/hci_conn.c | 2 +- net/bluetooth/hci_event.c | 4 ++-- net/bluetooth/hci_sync.c | 2 +- net/bluetooth/lib.c | 2 +- net/bluetooth/rfcomm/core.c | 3 ++- net/bluetooth/rfcomm/tty.c | 2 +- net/bluetooth/smp.c | 2 +- 12 files changed, 14 insertions(+), 13 deletions(-)
Signature · 1 line
2.50.0
PATCH v2 1/7 Bluetooth: btintel: Fix typo in comment
Found by codespell.
--- drivers/bluetooth/btintel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/btintel.c +1 -1
@@ -555,7 +555,7 @@ int btintel_parse_version_tlv(struct hci_dev *hdev,/* Consume Command Complete Status field */ skb_pull (skb,1 ); -/* Event parameters contatin multiple TLVs. Read each of them +/* Event parameters contain multiple TLVs. Read each of them * and only keep the required data. Also, it use existing legacy * version field like hw_platform, hw_variant, and fw_variant * to keep the existing setup flow
Signature · 1 line
2.50.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=978733
---Test result---
Test Summary:
CheckPatch PENDING 0.26 seconds GitLint PENDING 0.21 seconds SubjectPrefix PASS 0.85 seconds BuildKernel PASS 23.93 seconds CheckAllWarning PASS 26.61 seconds CheckSparse WARNING 30.61 seconds BuildKernel32 PASS 23.84 seconds TestRunnerSetup PASS 469.08 seconds TestRunner_l2cap-tester PASS 25.18 seconds TestRunner_iso-tester PASS 34.20 seconds TestRunner_bnep-tester PASS 5.91 seconds TestRunner_mgmt-tester FAIL 132.24 seconds TestRunner_rfcomm-tester PASS 9.34 seconds TestRunner_sco-tester PASS 14.72 seconds TestRunner_ioctl-tester PASS 10.10 seconds TestRunner_mesh-tester FAIL 13.56 seconds TestRunner_smp-tester PASS 8.66 seconds TestRunner_userchan-tester PASS 6.22 seconds IncrementalBuild PENDING 0.53 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: CheckSparse - WARNING
Desc: Run sparse tool with linux kernel
Output:net/bluetooth/hci_event.c: note: in included file (through include/net/bluetooth/hci_core.h):
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 484 (98.8%), Failed: 2, Not Run: 4
Failed Test Cases
LL Privacy - Add Device 2 (2 Devices to AL) Failed 0.206 seconds LL Privacy - Set Flags 4 (RL is full) Failed 0.282 seconds
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0
Failed Test Cases
Mesh - Send cancel - 1 Timed out 2.126 seconds Mesh - Send cancel - 2 Timed out 1.998 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth
PATCH v2 2/7 Bluetooth: btmtk: Fix typo in log string
In reply to Bastien NoceraFound by codespell.
--- drivers/bluetooth/btmtkuart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/btmtkuart.c +1 -1
@@ -316,7 +316,7 @@ mtk_stp_split(struct btmtkuart_dev *bdev, const unsigned char *data, int count,/* Resync STP when unexpected data is being read */ if (shdr->prefix !=0x80 || bdev->stp_dlen >2048 ) { -bt_dev_err (bdev->hdev,"stp format unexpect (%d, %d)" , +bt_dev_err (bdev->hdev,"stp format unexpected (%d, %d)" , shdr->prefix, bdev->stp_dlen); bdev->stp_cursor =2 ; bdev->stp_dlen =0 ;
Signature · 1 line
2.50.0
PATCH v2 3/7 Bluetooth: btrtl: Fix typo in comment
In reply to Bastien NoceraFound by codespell.
--- drivers/bluetooth/btrtl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/btrtl.c +1 -1
@@ -693,7 +693,7 @@ static int rtlbt_parse_firmware(struct hci_dev *hdev,/* Loop from the end of the firmware parsing instructions, until * we find an instruction that identifies the "project ID" for the -* hardware supported by this firwmare file. +* hardware supported by this firmware file. * Once we have that, we double-check that project_id is suitable * for the hardware we are working with. */
Signature · 1 line
2.50.0
PATCH v2 4/7 Bluetooth: hci_bcm4377: Fix typo in comment
In reply to Bastien NoceraFound by codespell.
--- drivers/bluetooth/hci_bcm4377.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/hci_bcm4377.c +1 -1
@@ -420,7 +420,7 @@ struct bcm4377_ring_state {* payloads_dma:DMA address for payload buffer * events: pointer to array of completions if waiting is allowed * msgids: bitmap to keep track of used message ids -* lock: Spinlock to protect access to ring structurs used in the irq handler +* lock: Spinlock to protect access to ring structures used in the irq handler */ struct bcm4377_transfer_ring {enum bcm4377_transfer_ring_id ring_id;
Signature · 1 line
2.50.0
PATCH v2 5/7 Bluetooth: aosp: Fix typo in comment
In reply to Bastien NoceraFound by codespell.
--- net/bluetooth/aosp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/bluetooth/aosp.c +1 -1
@@ -70,7 +70,7 @@ void aosp_do_open(struct hci_dev *hdev) rp = (struct aosp_rp_le_get_vendor_capa *)skb->data; version_supported =le16_to_cpu (rp->version_supported); -/* AOSP displays the verion number like v0.98, v1.00, etc. */ +/* AOSP displays the version number like v0.98, v1.00, etc. */ bt_dev_info (hdev,"AOSP extensions version v%u.%02u" , version_supported >>8 , version_supported &0xff );
Signature · 1 line
2.50.0
PATCH v2 6/7 Bluetooth: RFCOMM: Fix typos in comments
In reply to Bastien NoceraFound by codespell.
--- net/bluetooth/rfcomm/core.c | 3 ++- net/bluetooth/rfcomm/tty.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
net/bluetooth/rfcomm/core.c +2 -1
@@ -1962,7 +1962,8 @@ static void rfcomm_accept_connection(struct rfcomm_session *s)int err;/* Fast check for a new connection. -* Avoids unnesesary socket allocations. */ +* Avoids unnecessary socket allocations. +*/ if (list_empty (&bt_sk (sock->sk)->accept_q))return ;
net/bluetooth/rfcomm/tty.c +1 -1
@@ -980,7 +980,7 @@ static void rfcomm_tty_set_termios(struct tty_struct *tty, baud =RFCOMM_RPN_BR_230400 ;break ;default : -/* 9600 is standard accordinag to the RFCOMM specification */ +/* 9600 is standard according to the RFCOMM specification */ baud =RFCOMM_RPN_BR_9600 ;break ;
Signature · 1 line
2.50.0
PATCH v2 7/7 Bluetooth: Fix typos in comments
In reply to Bastien NoceraFound by codespell.
--- net/bluetooth/hci_conn.c | 2 +- net/bluetooth/hci_event.c | 4 ++-- net/bluetooth/hci_sync.c | 2 +- net/bluetooth/lib.c | 2 +- net/bluetooth/smp.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
net/bluetooth/hci_conn.c +1 -1
@@ -814,7 +814,7 @@ static int hci_le_big_terminate(struct hci_dev *hdev, u8 big, struct hci_conn *c* * Detects if there any BIS left connected in a BIG * broadcaster: Remove advertising instance and terminate BIG. -* broadcaster receiver: Teminate BIG sync and terminate PA sync. +* broadcaster receiver: Terminate BIG sync and terminate PA sync. */ static void bis_cleanup (struct hci_conn *conn) {
net/bluetooth/hci_event.c +2 -2
@@ -5754,7 +5754,7 @@ static void le_conn_complete_evt(struct hci_dev *hdev, u8 status, conn->state =BT_CONFIG ;/* Store current advertising instance as connection advertising instance -* when sotfware rotation is in use so it can be re-enabled when +* when software rotation is in use so it can be re-enabled when * disconnected. */ if (!ext_adv_capable (hdev))
@@ -7077,7 +7077,7 @@ static void hci_le_big_info_adv_report_evt(struct hci_dev *hdev, void *data,/* Entries in this table shall have their position according to the subevent * opcode they handle so the use of the macros above is recommend since it does * attempt to initialize at its proper index using Designated Initializers that -* way events without a callback function can be ommited. +* way events without a callback function can be omitted. */ static const struct hci_le_ev { void (*func)(struct hci_dev *hdev, void *data, struct sk_buff *skb);
net/bluetooth/hci_sync.c +1 -1
@@ -5633,7 +5633,7 @@ int hci_abort_conn_sync(struct hci_dev *hdev, struct hci_conn *conn, u8 reason) }/* Cleanup hci_conn object if it cannot be cancelled as it -* likelly means the controller and host stack are out of sync +* likely means the controller and host stack are out of sync * or in case of LE it was still scanning so it can be cleanup * safely. */
net/bluetooth/lib.c +1 -1
@@ -54,7 +54,7 @@ EXPORT_SYMBOL(baswap);* bt_to_errno() - Bluetooth error codes to standard errno * @code: Bluetooth error code to be converted * -* This function takes a Bluetooth error code as input and convets +* This function takes a Bluetooth error code as input and converts * it to an equivalent Unix/standard errno value. * * Return:
net/bluetooth/smp.c +1 -1
@@ -3172,7 +3172,7 @@ static void smp_ready_cb(struct l2cap_chan *chan)/* No need to call l2cap_chan_hold() here since we already own * the reference taken in smp_new_conn_cb(). This is just the * first time that we tie it to a specific pointer. The code in -* l2cap_core.c ensures that there's no risk this function wont +* l2cap_core.c ensures that there's no risk this function won't * get called if smp_new_conn_cb was previously called. */ conn->smp = chan;
Signature · 1 line
2.50.0
This series was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This series was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 9 lines · On Thu, 3 Jul 2025 19:16:54 +0200 you wrote:
Found using codespell.
Probably best taken in through the Bluetooth tree.
Changes since v1:
- Added whether typos were in comments or log strings
- Fix typo in typo fix ("btrtl: Fix typo")[...]
Here is the summary with links:
- [v2,1/7] Bluetooth: btintel: Fix typo in comment
https://git.kernel.org/bluetooth/bluetooth-next/c/728beb9bb8b3 - [v2,2/7] Bluetooth: btmtk: Fix typo in log string https://git.kernel.org/bluetooth/bluetooth-next/c/03b2d5bf4881 - [v2,3/7] Bluetooth: btrtl: Fix typo in comment https://git.kernel.org/bluetooth/bluetooth-next/c/5d12ca753070 - [v2,4/7] Bluetooth: hci_bcm4377: Fix typo in comment https://git.kernel.org/bluetooth/bluetooth-next/c/aa0d0b408a5a - [v2,5/7] Bluetooth: aosp: Fix typo in comment https://git.kernel.org/bluetooth/bluetooth-next/c/033ea129991b - [v2,6/7] Bluetooth: RFCOMM: Fix typos in comments https://git.kernel.org/bluetooth/bluetooth-next/c/b14c362ad112 - [v2,7/7] Bluetooth: Fix typos in comments https://git.kernel.org/bluetooth/bluetooth-next/c/c819e415efb3
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html