Commit 9c60f2a4 authored by Mika Westerberg's avatar Mika Westerberg Committed by Jakub Kicinski

net: thunderbolt: Fix typos in comments

Fix two typos in comments:

  blongs -> belongs
  UPD -> UDP

No functional changes.
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5bbec0ad
...@@ -148,7 +148,7 @@ struct tbnet_ring { ...@@ -148,7 +148,7 @@ struct tbnet_ring {
/** /**
* struct tbnet - ThunderboltIP network driver private data * struct tbnet - ThunderboltIP network driver private data
* @svc: XDomain service the driver is bound to * @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 * @handler: ThunderboltIP configuration protocol handler
* @dev: Networking device * @dev: Networking device
* @napi: NAPI structure for Rx polling * @napi: NAPI structure for Rx polling
...@@ -1030,7 +1030,7 @@ static bool tbnet_xmit_csum_and_map(struct tbnet *net, struct sk_buff *skb, ...@@ -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. /* Data points on the beginning of packet.
* Check is the checksum absolute place in the packet. * Check is the checksum absolute place in the packet.
* ipcso will update IP checksum. * ipcso will update IP checksum.
* tucso will update TCP/UPD checksum. * tucso will update TCP/UDP checksum.
*/ */
if (protocol == htons(ETH_P_IP)) { if (protocol == htons(ETH_P_IP)) {
__sum16 *ipcso = dest + ((void *)&(ip_hdr(skb)->check) - data); __sum16 *ipcso = dest + ((void *)&(ip_hdr(skb)->check) - data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment