]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Bluetooth: Fix typos in comments
authorBastien Nocera <hadess@hadess.net>
Thu, 3 Jul 2025 17:17:01 +0000 (19:17 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 23 Jul 2025 14:30:48 +0000 (10:30 -0400)
Found by codespell.

Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_conn.c
net/bluetooth/hci_event.c
net/bluetooth/hci_sync.c
net/bluetooth/lib.c
net/bluetooth/smp.c

index f5cd935490ad976ee1de098e382afa2ddd8ae228..b2e09e7f70e17cfe47acf6c9c964015687fc9fc1 100644 (file)
@@ -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)
 {
index d44463e6519470f3c3e52821840a7b44b27c50b5..c0eb03e5cbf8ddf1a2d6a1b5395c74fe278c8344 100644 (file)
@@ -5717,7 +5717,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))
@@ -7075,7 +7075,7 @@ unlock:
 /* 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);
index 956aea977f2af6f0d673db6ebc1557533c416c35..e9df6502e58eab286555e57ddcb0f04afde8bada 100644 (file)
@@ -5677,7 +5677,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.
         */
index 43aa01fd07b989b48245cec842b9019e0f866c12..305044a8447833cd57d318ece6487ee838ee0c01 100644 (file)
@@ -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:
index 8115d42fc15b03f197bfeb691e1a008de0dfe82e..45512b2ba951cc66026709f0874407d5827f178f 100644 (file)
@@ -3189,7 +3189,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;