Message ID | 20241210185321.23144-1-pvkumar5749404@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | BPF |
Headers | show |
Series | [bpf-next] BPF-Helpers : Correct spelling mistake | expand |
On Tue, Dec 10, 2024 at 10:53 AM Prabhav Kumar Vaish <pvkumar5749404@gmail.com> wrote: > > 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
On Wed, Dec 11, 2024 at 12:31 AM Alexei Starovoitov <alexei.starovoitov@gmail.com> wrote: > > On Tue, Dec 10, 2024 at 10:53 AM Prabhav Kumar Vaish > <pvkumar5749404@gmail.com> wrote: > > > > 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. > > pw-bot: cr
diff --git a/kernel/bpf/helpers.c b/kernel/bpf/helpers.c index 532ea74d4850..1493f1daecaa 100644 --- a/kernel/bpf/helpers.c +++ b/kernel/bpf/helpers.c @@ -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.
Changes : - "unsinged" is spelled correctly to "unsigned" Signed-off-by: Prabhav Kumar Vaish <pvkumar5749404@gmail.com> --- kernel/bpf/helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)