]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: thunderbolt: Fix typos in comments
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 11 Apr 2023 09:10:49 +0000 (12:10 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 13 Apr 2023 04:09:12 +0000 (21:09 -0700)
Fix two typos in comments:

  blongs -> belongs
  UPD -> UDP

No functional changes.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/thunderbolt/main.c

index 6a43ced74881f368f804d6a0a1b1b57f6e076c73..0c1e8970ee589fde200ba494f79ed48ce499ae7a 100644 (file)
@@ -148,7 +148,7 @@ struct tbnet_ring {
 /**
  * struct tbnet - ThunderboltIP network driver private data
  * @svc: XDomain service the driver is bound to
- * @xd: XDomain the service blongs to
+ * @xd: XDomain the service belongs to
  * @handler: ThunderboltIP configuration protocol handler
  * @dev: Networking device
  * @napi: NAPI structure for Rx polling
@@ -1030,7 +1030,7 @@ static bool tbnet_xmit_csum_and_map(struct tbnet *net, struct sk_buff *skb,
        /* Data points on the beginning of packet.
         * Check is the checksum absolute place in the packet.
         * ipcso will update IP checksum.
-        * tucso will update TCP/UPD checksum.
+        * tucso will update TCP/UDP checksum.
         */
        if (protocol == htons(ETH_P_IP)) {
                __sum16 *ipcso = dest + ((void *)&(ip_hdr(skb)->check) - data);