2020-04-03 08:29:20

by Qiujun Huang

[permalink] [raw]
Subject: [PATCH] bpf: fix a typo "inacitve" -> "inactive"

There is a typo, fix it.
s/inacitve/inactive

Signed-off-by: Qiujun Huang <[email protected]>
---
kernel/bpf/bpf_lru_list.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/bpf/bpf_lru_list.h b/kernel/bpf/bpf_lru_list.h
index f025046..6b12f06 100644
--- a/kernel/bpf/bpf_lru_list.h
+++ b/kernel/bpf/bpf_lru_list.h
@@ -30,7 +30,7 @@ struct bpf_lru_node {
struct bpf_lru_list {
struct list_head lists[NR_BPF_LRU_LIST_T];
unsigned int counts[NR_BPF_LRU_LIST_COUNT];
- /* The next inacitve list rotation starts from here */
+ /* The next inactive list rotation starts from here */
struct list_head *next_inactive_rotation;

raw_spinlock_t lock ____cacheline_aligned_in_smp;
--
1.8.3.1


2020-04-06 20:18:08

by Daniel Borkmann

[permalink] [raw]
Subject: Re: [PATCH] bpf: fix a typo "inacitve" -> "inactive"

On 4/3/20 10:07 AM, Qiujun Huang wrote:
> There is a typo, fix it.
> s/inacitve/inactive
>
> Signed-off-by: Qiujun Huang <[email protected]>

Applied, thanks!