]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Bluetooth: RFCOMM: Fix typos in comments
authorBastien Nocera <hadess@hadess.net>
Thu, 3 Jul 2025 17:17:00 +0000 (19:17 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 23 Jul 2025 14:30:32 +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/rfcomm/core.c
net/bluetooth/rfcomm/tty.c

index 3b8f39618d651e7aa0500dae726a89593b89b08a..96250807b32b44817df6780c2a54c107e6b3de31 100644 (file)
@@ -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;
 
index 21a5b5535ebceb3f7117f53258676939e13e921b..58d1707f7daf52db8cadf68c9c8adc4263286306 100644 (file)
@@ -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;