Re: [PATCH bpf-next] bpf: Fix typo in kernel/bpf/bpf_lsm.c

From: Andrii Nakryiko
Date: Wed Jun 16 2021 - 23:00:25 EST


On Tue, Jun 15, 2021 at 7:04 PM Shuyi Cheng
<chengshuyi@xxxxxxxxxxxxxxxxx> wrote:
>
> Signed-off-by: Shuyi Cheng <chengshuyi@xxxxxxxxxxxxxxxxx>
> ---

Applied to bpf-next, adding a minimal commit message. Please always
provide a commit message, however minimal it is.

> kernel/bpf/bpf_lsm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/bpf/bpf_lsm.c b/kernel/bpf/bpf_lsm.c
> index 5efb2b2..99ada85 100644
> --- a/kernel/bpf/bpf_lsm.c
> +++ b/kernel/bpf/bpf_lsm.c
> @@ -125,7 +125,7 @@ static bool bpf_ima_inode_hash_allowed(const struct bpf_prog *prog)
> }
>
> /* The set of hooks which are called without pagefaults disabled and are allowed
> - * to "sleep" and thus can be used for sleeable BPF programs.
> + * to "sleep" and thus can be used for sleepable BPF programs.
> */
> BTF_SET_START(sleepable_lsm_hooks)
> BTF_ID(func, bpf_lsm_bpf)
> --
> 1.8.3.1
>