From nobody Wed Oct 8 07:43:03 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50AF7223327; Tue, 1 Jul 2025 08:47:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751359649; cv=none; b=L9EghG0Oya9lox2iwZWLDqHrCIYVx7oEFs09Vy8630XV18v+JV95Znhe+kT1yta/Htpdd1IbI1vbj1mGumUfoUnnhqoKezHPyZPByZbtdL5yW5TO/U7luGoXASmElevA5T51aqZ3IvHYYtENqijYZeODVqWzs+NiiJIta7X6R0M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751359649; c=relaxed/simple; bh=XQ+f6cDEDaX5fw9hlM7XL9SW1PnvQSB/e3VpIAkFu8k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=dmoCIJxFFxGoi3NZYWX98tUhHdhgt28KIfxNAcIkBIqbf9vCEjiceErCQr2VsRdgbGa7DgC2riPDxu9rcXAxqPfmh/nlCWcmhi0tKU6RMsYXztSBV7O/oiZkcW0lwi5Zy3wOBudbpy72pPv2/+3Cz6gpWAYEs9s2JfF3bzuay/E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nB+wXDpJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nB+wXDpJ" Received: by smtp.kernel.org (Postfix) with ESMTPS id CA6A3C4CEEB; Tue, 1 Jul 2025 08:47:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1751359648; bh=XQ+f6cDEDaX5fw9hlM7XL9SW1PnvQSB/e3VpIAkFu8k=; h=From:Date:Subject:To:Cc:Reply-To:From; b=nB+wXDpJubGkHZYNFTDtLCZQztEiAPPQbudMKb9tC/JJJpzTiPhXJoifF15D6Jfk8 JboAljYIltUiH9BN5Oe8d5IqVX9bRAUiQrcg0xV7rDXgBJ9fYHUOUef764JNTRfaNm Ncp16a8wT+4lRRlYPlM3ypFxr14sS/X8g/vUm/CgR39g+z8eCi6+eP4DOsd/01Mo6T 6YVbKYRGojxy52EWScqoWUR8FM5BYrWtMVjfm1fwR3MwPy8bYU99btJr54TRCSbhoa e/YV0DccePtp8jS8GXavPfVKLdGL7EhzLYbH5gnCq0TPzv4+Z+M6M5jxhHJLdsDlCL JJPoBnFnnWApQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B378CC8302F; Tue, 1 Jul 2025 08:47:28 +0000 (UTC) From: Yang Li via B4 Relay Date: Tue, 01 Jul 2025 16:47:26 +0800 Subject: [PATCH] Bluetooth: Fix spelling mistakes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250701-fix_typos-v1-1-090f06fdfaea@amlogic.com> X-B4-Tracking: v=1; b=H4sIAJ2gY2gC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI1MDcwND3bTMiviSyoL8Yl1LC2Mj00QTEzPzRFMloPqColSgJNis6NjaWgB oh1BFWwAAAA== To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li X-Mailer: b4 0.13-dev-f0463 X-Developer-Signature: v=1; a=ed25519-sha256; t=1751359647; l=5289; i=yang.li@amlogic.com; s=20240418; h=from:subject:message-id; bh=VQIDv2I4hUGURzA15ufBv8DnkunpA/1+l0Qi7aaRxGw=; b=/K6FSfTrL0eD/O5Jjt0xg/7Swn27fMtrIeOCy5Inv13sPcG45X3L7zuicjdW2I/wiJWvn8PYd yPoJ3lrSEQQDlkYO6gTY1L1n6KBRq+F7T5KD5sarBJUatMilfRSdBwr X-Developer-Key: i=yang.li@amlogic.com; a=ed25519; pk=86OaNWMr3XECW9HGNhkJ4HdR2eYA5SEAegQ3td2UCCs= X-Endpoint-Received: by B4 Relay for yang.li@amlogic.com/20240418 with auth_id=180 X-Original-From: Yang Li Reply-To: yang.li@amlogic.com From: Yang Li Correct the misspelling of =E2=80=9Cestabilished=E2=80=9D in the code. Signed-off-by: Yang Li --- include/net/bluetooth/hci.h | 2 +- net/bluetooth/hci_event.c | 12 ++++++------ net/bluetooth/iso.c | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index fe932ca3bc8c..887db7b4edd9 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -2767,7 +2767,7 @@ struct hci_evt_le_create_big_complete { } __packed; =20 #define HCI_EVT_LE_BIG_SYNC_ESTABILISHED 0x1d -struct hci_evt_le_big_sync_estabilished { +struct hci_evt_le_big_sync_established { __u8 status; __u8 handle; __u8 latency[3]; diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index a487f9df8145..3f939a3cdb86 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -6335,7 +6335,7 @@ static int hci_le_pa_term_sync(struct hci_dev *hdev, = __le16 handle) return hci_send_cmd(hdev, HCI_OP_LE_PA_TERM_SYNC, sizeof(cp), &cp); } =20 -static void hci_le_pa_sync_estabilished_evt(struct hci_dev *hdev, void *da= ta, +static void hci_le_pa_sync_established_evt(struct hci_dev *hdev, void *dat= a, struct sk_buff *skb) { struct hci_ev_le_pa_sync_established *ev =3D data; @@ -6652,7 +6652,7 @@ static void hci_le_phy_update_evt(struct hci_dev *hde= v, void *data, hci_dev_unlock(hdev); } =20 -static void hci_le_cis_estabilished_evt(struct hci_dev *hdev, void *data, +static void hci_le_cis_established_evt(struct hci_dev *hdev, void *data, struct sk_buff *skb) { struct hci_evt_le_cis_established *ev =3D data; @@ -6875,7 +6875,7 @@ static void hci_le_create_big_complete_evt(struct hci= _dev *hdev, void *data, static void hci_le_big_sync_established_evt(struct hci_dev *hdev, void *da= ta, struct sk_buff *skb) { - struct hci_evt_le_big_sync_estabilished *ev =3D data; + struct hci_evt_le_big_sync_established *ev =3D data; struct hci_conn *bis; int i; =20 @@ -7030,7 +7030,7 @@ static const struct hci_le_ev { HCI_MAX_EVENT_SIZE), /* [0x0e =3D HCI_EV_LE_PA_SYNC_ESTABLISHED] */ HCI_LE_EV(HCI_EV_LE_PA_SYNC_ESTABLISHED, - hci_le_pa_sync_estabilished_evt, + hci_le_pa_sync_established_evt, sizeof(struct hci_ev_le_pa_sync_established)), /* [0x0f =3D HCI_EV_LE_PER_ADV_REPORT] */ HCI_LE_EV_VL(HCI_EV_LE_PER_ADV_REPORT, @@ -7041,7 +7041,7 @@ static const struct hci_le_ev { HCI_LE_EV(HCI_EV_LE_EXT_ADV_SET_TERM, hci_le_ext_adv_term_evt, sizeof(struct hci_evt_le_ext_adv_set_term)), /* [0x19 =3D HCI_EVT_LE_CIS_ESTABLISHED] */ - HCI_LE_EV(HCI_EVT_LE_CIS_ESTABLISHED, hci_le_cis_estabilished_evt, + HCI_LE_EV(HCI_EVT_LE_CIS_ESTABLISHED, hci_le_cis_established_evt, sizeof(struct hci_evt_le_cis_established)), /* [0x1a =3D HCI_EVT_LE_CIS_REQ] */ HCI_LE_EV(HCI_EVT_LE_CIS_REQ, hci_le_cis_req_evt, @@ -7054,7 +7054,7 @@ static const struct hci_le_ev { /* [0x1d =3D HCI_EV_LE_BIG_SYNC_ESTABILISHED] */ HCI_LE_EV_VL(HCI_EVT_LE_BIG_SYNC_ESTABILISHED, hci_le_big_sync_established_evt, - sizeof(struct hci_evt_le_big_sync_estabilished), + sizeof(struct hci_evt_le_big_sync_established), HCI_MAX_EVENT_SIZE), /* [0x22 =3D HCI_EVT_LE_BIG_INFO_ADV_REPORT] */ HCI_LE_EV_VL(HCI_EVT_LE_BIG_INFO_ADV_REPORT, diff --git a/net/bluetooth/iso.c b/net/bluetooth/iso.c index cc055b952ce6..706a47357363 100644 --- a/net/bluetooth/iso.c +++ b/net/bluetooth/iso.c @@ -1728,7 +1728,7 @@ struct iso_list_data { =20 static bool iso_match_big(struct sock *sk, void *data) { - struct hci_evt_le_big_sync_estabilished *ev =3D data; + struct hci_evt_le_big_sync_established *ev =3D data; =20 return ev->handle =3D=3D iso_pi(sk)->qos.bcast.big; } @@ -1742,7 +1742,7 @@ static void iso_conn_ready(struct iso_conn *conn) { struct sock *parent =3D NULL; struct sock *sk =3D conn->sk; - struct hci_ev_le_big_sync_estabilished *ev =3D NULL; + struct hci_ev_le_big_sync_established *ev =3D NULL; struct hci_ev_le_pa_sync_established *ev2 =3D NULL; struct hci_ev_le_per_adv_report *ev3 =3D NULL; struct hci_conn *hcon; @@ -1844,7 +1844,7 @@ static void iso_conn_ready(struct iso_conn *conn) hci_conn_hold(hcon); iso_chan_add(conn, sk, parent); =20 - if ((ev && ((struct hci_evt_le_big_sync_estabilished *)ev)->status) || + if ((ev && ((struct hci_evt_le_big_sync_established *)ev)->status) || (ev2 && ev2->status)) { /* Trigger error signal on child socket */ sk->sk_err =3D ECONNREFUSED; @@ -1900,7 +1900,7 @@ int iso_connect_ind(struct hci_dev *hdev, bdaddr_t *b= daddr, __u8 *flags) * proceed to establishing a BIG sync: * * 1. HCI_EV_LE_PA_SYNC_ESTABLISHED: The socket may specify a specific - * SID to listen to and once sync is estabilished its handle needs to + * SID to listen to and once sync is established its handle needs to * be stored in iso_pi(sk)->sync_handle so it can be matched once * receiving the BIG Info. * 2. HCI_EVT_LE_BIG_INFO_ADV_REPORT: When connect_ind is triggered by a --- base-commit: df8c0b8a03e871431587a13a6765cb4c601e1573 change-id: 20250701-fix_typos-98325a4467a5 Best regards, --=20 Yang Li