Skip to contentSkip to conversation

BPF-Helpers : Correct spelling mistake

PATCH Superseded Prabhav Kumar Vaish 2 participants 3 messages Dec 10, 2024 – Dec 11, 2024 BPF

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 BPF-Helpers : Correct spelling mistake

Changes :
- "unsinged" is spelled correctly to "unsigned"

---
 kernel/bpf/helpers.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/bpf/helpers.c +1 -1
index 532ea74d4850..1493f1daecaa 100644
@@ -3057,7 +3057,7 @@ __bpf_kfunc int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void __user
 	return ret + 1;
 }
 
-/* Keep unsinged long in prototype so that kfunc is usable when emitted to
+/* Keep unsigned long in prototype so that kfunc is usable when emitted to
  * vmlinux.h in BPF programs directly, but note that while in BPF prog, the
  * unsigned long always points to 8-byte region on stack, the kernel may only
  * read and write the 4-bytes on 32-bit.
Signature · 1 line
2.34.1
#1 lore raw
Quoted 3 lines · Prabhav Kumar Vaish

Changes :
- "unsinged" is spelled correctly to "unsigned"

Is that the only typo in that file?
I doubt it.
Fix them all in one patch.

pw-bot: cr

#2 lore raw
Quoted 10 lines · Alexei Starovoitov
Quoted 3 lines · Prabhav Kumar Vaish

Changes :
- "unsinged" is spelled correctly to "unsigned"

Is that the only typo in that file?
I doubt it.
Fix them all in one patch.

Yes, This was the only typo to correct in the file.

Quoted 2 lines

pw-bot: cr