Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: mctp: fix typo in comment

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>

authored by

Alok Tiwari and committed by
Jakub Kicinski
bd647233 f3883b1e

+1 -1
+1 -1
net/mctp/af_mctp.c
··· 256 256 257 257 skb_reserve(skb, hlen); 258 258 259 - /* set type as fist byte in payload */ 259 + /* set type as first byte in payload */ 260 260 *(u8 *)skb_put(skb, 1) = addr->smctp_type; 261 261 262 262 rc = memcpy_from_msg((void *)skb_put(skb, len), msg, len);