projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3883b1
)
net: mctp: fix typo in comment
author
Alok Tiwari
<alok.a.tiwari@oracle.com>
Fri, 5 Sep 2025 16:50:03 +0000
(09:50 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Tue, 9 Sep 2025 00:47:57 +0000
(17:47 -0700)
Correct a typo in af_mctp.c: "fist" -> "first".
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Acked-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link:
https://patch.msgid.link/20250905165006.3032472-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/mctp/af_mctp.c
patch
|
blob
|
history
diff --git
a/net/mctp/af_mctp.c
b/net/mctp/af_mctp.c
index
6855248
..
b99ba14
100644
(file)
--- a/
net/mctp/af_mctp.c
+++ b/
net/mctp/af_mctp.c
@@
-256,7
+256,7
@@
static int mctp_sendmsg(struct socket *sock, struct msghdr *msg, size_t len)
skb_reserve(skb, hlen);
- /* set type as fist byte in payload */
+ /* set type as fi
r
st byte in payload */
*(u8 *)skb_put(skb, 1) = addr->smctp_type;
rc = memcpy_from_msg((void *)skb_put(skb, len), msg, len);