Skip to contentSkip to conversation

net: doc: Fix typos in docs

PATCH Superseded Bhanu Seshu Kumar Valluri 2 participants 3 messages Oct 1, 2025

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: doc: Fix typos in docs

Fix typos in doc comments.

---
 include/linux/phy.h | 4 ++--
 net/tipc/crypto.c   | 2 +-
 net/tipc/topsrv.c   | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
include/linux/phy.h +2 -2
index bb45787d8684..de786fc2169b 100644
@@ -292,7 +292,7 @@ static inline const char *phy_modes(phy_interface_t interface)
  *
  * Description: maps RGMII supported link speeds into the clock rates.
  * This can also be used for MII, GMII, and RMII interface modes as the
- * clock rates are indentical, but the caller must be aware that errors
+ * clock rates are identical, but the caller must be aware that errors
  * for unsupported clock rates will not be signalled.
  *
  * Returns: clock rate or negative errno
@@ -514,7 +514,7 @@ enum phy_state {
  * struct phy_c45_device_ids - 802.3-c45 Device Identifiers
  * @devices_in_package: IEEE 802.3 devices in package register value.
  * @mmds_present: bit vector of MMDs present.
- * @device_ids: The device identifer for each present device.
+ * @device_ids: The device identifier for each present device.
  */
 struct phy_c45_device_ids {
 	u32 devices_in_package;
net/tipc/crypto.c +1 -1
index ea5bb131ebd0..751904f10aab 100644
@@ -1797,7 +1797,7 @@ int tipc_crypto_xmit(struct net *net, struct sk_buff **skb,
  * @b: bearer where the message has been received
  *
  * If the decryption is successful, the decrypted skb is returned directly or
- * as the callback, the encryption header and auth tag will be trimed out
+ * as the callback, the encryption header and auth tag will be trimmed out
  * before forwarding to tipc_rcv() via the tipc_crypto_rcv_complete().
  * Otherwise, the skb will be freed!
  * Note: RX key(s) can be re-aligned, or in case of no key suitable, TX
net/tipc/topsrv.c +2 -2
index ffe577bf6b51..ebe993ebcd48 100644
@@ -57,7 +57,7 @@
  * @conn_idr: identifier set of connection
  * @idr_lock: protect the connection identifier set
  * @idr_in_use: amount of allocated identifier entry
- * @net: network namspace instance
+ * @net: network namespace instance
  * @awork: accept work item
  * @rcv_wq: receive workqueue
  * @send_wq: send workqueue
@@ -83,7 +83,7 @@ struct tipc_topsrv {
  * @sock: socket handler associated with connection
  * @flags: indicates connection state
  * @server: pointer to connected server
- * @sub_list: lsit to all pertaing subscriptions
+ * @sub_list: list to all pertaing subscriptions
  * @sub_lock: lock protecting the subscription list
  * @rwork: receive work item
  * @outqueue: pointer to first outbound message in queue
Signature · 1 line
2.34.1
#1 lore raw
Quoted 40 lines

Subject: [PATCH] net: doc: Fix typos in docs

Fix typos in doc comments.

---

include/linux/phy.h | 4 ++--
net/tipc/crypto.c   | 2 +-
net/tipc/topsrv.c   | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
net/tipc/crypto.c index renamed from net/tipc/crypto.c +0 -0

ea5bb131ebd0..751904f10aab 100644

net/tipc/crypto.c +2 -1
@@ -1797,7 +1797,7 @@ int tipc_crypto_xmit(struct net *net, struct sk_buff
 **skb,
 * @b: bearer where the message has been received
 *
 * If the decryption is successful, the decrypted skb is returned directly or
- * as the callback, the encryption header and auth tag will be trimed out
+ * as the callback, the encryption header and auth tag will be trimmed
+ out
 * before forwarding to tipc_rcv() via the tipc_crypto_rcv_complete().
 * Otherwise, the skb will be freed!
 * Note: RX key(s) can be re-aligned, or in case of no key suitable, TX diff --git

a/net/tipc/topsrv.c b/net/tipc/topsrv.c index ffe577bf6b51..ebe993ebcd48 100644

net/tipc/topsrv.c +1 -1
@@ -57,7 +57,7 @@
 * @conn_idr: identifier set of connection
 * @idr_lock: protect the connection identifier set
 * @idr_in_use: amount of allocated identifier entry
- * @net: network namspace instance
+ * @net: network namespace instance
 * @awork: accept work item
 * @rcv_wq: receive workqueue
 * @send_wq: send workqueue

net/tipc/topsrv.c struct tipc_topsrv { · line 86

Quoted 5 lines
net/tipc/topsrv.c +1 -1
@@ -83,7 +83,7 @@ struct tipc_topsrv {
 * @sock: socket handler associated with connection
 * @flags: indicates connection state
 * @server: pointer to connected server
- * @sub_list: lsit to all pertaing subscriptions
+ * @sub_list: list to all pertaing subscriptions

Replace "pertaing" with "pertaining"

Quoted 6 lines
net/tipc/topsrv.c +0 -1
 * @sub_lock: lock protecting the subscription list
 * @rwork: receive work item
 * @outqueue: pointer to first outbound message in queue
--

2.34.1

#2 lore raw
Quoted 5 lines · Tung Quang Nguyen
Quoted 3 lines

* @server: pointer to connected server
- * @sub_list: lsit to all pertaing subscriptions
+ * @sub_list: list to all pertaing subscriptions

Replace "pertaing" with "pertaining"

v2 patch is sent fixing the "pertaing" spelling.

Thanks.

Quoted 7 lines
Quoted 6 lines

* @sub_lock: lock protecting the subscription list
* @rwork: receive work item
* @outqueue: pointer to first outbound message in queue
--
2.34.1