[PATCH bpf-next] BPF-Helpers : Correct spelling mistake

Prabhav Kumar Vaish posted 1 patch 1 year, 1 month ago
There is a newer version of this series
kernel/bpf/helpers.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH bpf-next] BPF-Helpers : Correct spelling mistake
Posted by Prabhav Kumar Vaish 1 year, 1 month ago
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(-)

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.
-- 
2.34.1
Re: [PATCH bpf-next] BPF-Helpers : Correct spelling mistake
Posted by Alexei Starovoitov 1 year, 1 month ago
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
Re: [PATCH bpf-next] BPF-Helpers : Correct spelling mistake
Posted by prabhav kumar 1 year, 1 month ago
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