Re: [PATCH 1/1] bpf: fix spelling mistakes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 24, 2021 at 7:57 PM Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote:
>
> Fix some spelling mistakes in comments:
> aother ==> another
> Netiher ==> Neither
> desribe ==> describe
> intializing ==> initializing
> funciton ==> function
> wont ==> won't          //Move the word 'the' at the end to the next line,
>                         //because it's more than 80 columns

commit message is not a code, so I removed this C++ comment and made
it a bit more human-readable. Applied to bpf-next, thanks!

> accross ==> across
> pathes ==> paths
> triggerred ==> triggered
> excute ==> execute
> ether ==> either
> conervative ==> conservative
> convetion ==> convention
> markes ==> marks
> interpeter ==> interpreter
>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>
> ---
>  include/linux/bpf_local_storage.h |  2 +-
>  kernel/bpf/bpf_inode_storage.c    |  2 +-
>  kernel/bpf/btf.c                  |  6 +++---
>  kernel/bpf/devmap.c               |  4 ++--
>  kernel/bpf/hashtab.c              |  4 ++--
>  kernel/bpf/reuseport_array.c      |  2 +-
>  kernel/bpf/trampoline.c           |  2 +-
>  kernel/bpf/verifier.c             | 12 ++++++------
>  8 files changed, 17 insertions(+), 17 deletions(-)
>
> diff --git a/include/linux/bpf_local_storage.h b/include/linux/bpf_local_storage.h
> index b902c580c48d..6915ba34d4a2 100644
> --- a/include/linux/bpf_local_storage.h
> +++ b/include/linux/bpf_local_storage.h
> @@ -71,7 +71,7 @@ struct bpf_local_storage_elem {
>         struct bpf_local_storage __rcu *local_storage;
>         struct rcu_head rcu;
>         /* 8 bytes hole */
> -       /* The data is stored in aother cacheline to minimize
> +       /* The data is stored in another cacheline to minimize
>          * the number of cachelines access during a cache hit.

also s/access/accessed/

>          */
>         struct bpf_local_storage_data sdata ____cacheline_aligned;
> diff --git a/kernel/bpf/bpf_inode_storage.c b/kernel/bpf/bpf_inode_storage.c
> index 2921ca39a93e..96ceed0e0fb5 100644
> --- a/kernel/bpf/bpf_inode_storage.c
> +++ b/kernel/bpf/bpf_inode_storage.c
> @@ -72,7 +72,7 @@ void bpf_inode_storage_free(struct inode *inode)
>                 return;
>         }
>

[...]



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux