summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorQiujun Huang <hqjagain@gmail.com>2020-04-03 10:07:34 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2020-04-06 21:54:10 +0200
commit0ac16296ffc638f5163f9aeeeb1fe447268e449f (patch)
treef60a3a58643bb42a00d62547b0461da74c7fbb16 /kernel
parentlibbpf: Initialize *nl_pid so gcc 10 is happy (diff)
downloadlinux-0ac16296ffc638f5163f9aeeeb1fe447268e449f.tar.xz
linux-0ac16296ffc638f5163f9aeeeb1fe447268e449f.zip
bpf: Fix a typo "inacitve" -> "inactive"
There is a typo in struct bpf_lru_list's next_inactive_rotation description, thus fix s/inacitve/inactive/. Signed-off-by: Qiujun Huang <hqjagain@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/1585901254-30377-1-git-send-email-hqjagain@gmail.com
Diffstat (limited to 'kernel')
-rw-r--r--kernel/bpf/bpf_lru_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/bpf_lru_list.h b/kernel/bpf/bpf_lru_list.h
index f02504640e18..6b12f06ee18c 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;