Skip to contentSkip to conversation

bpf: Fix typo in kernel/bpf/bpf_lsm.c

PATCH Applied Shuyi Cheng 3 participants 3 messages Jun 16, 2021 – Jun 17, 2021

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpf: Fix typo in kernel/bpf/bpf_lsm.c

---
 kernel/bpf/bpf_lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/bpf/bpf_lsm.c +1 -1
index 5efb2b2..99ada85 100644
@@ -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)
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 3 lines · Shuyi Cheng

---

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

Quoted 19 lines
 kernel/bpf/bpf_lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/bpf/bpf_lsm.c +1 -2
index 5efb2b2..99ada85 100644
@@ -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

#2 lore raw
In reply to Shuyi Cheng
This patch was applied to bpf/bpf-next.git (refs/heads/master):

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

Quoted 4 lines · On Wed, 16 Jun 2021 10:04:36 +0800 you wrote:
---
 kernel/bpf/bpf_lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [bpf-next] bpf: Fix typo in kernel/bpf/bpf_lsm.c

    https://git.kernel.org/bpf/bpf-next/c/712b78c697cd

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html