diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-22 09:38:36 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-04-02 06:37:06 +0200 |
commit | 9d8c7d92015ece9a2139a259cef781a41845d2c0 (patch) | |
tree | af3f2d15fab2fd2527b3452d37d308bf0cfa28e2 /arch/riscv/mm | |
parent | riscv,entry: fix misaligned base for excp_vect_table (diff) | |
download | linux-9d8c7d92015ece9a2139a259cef781a41845d2c0.tar.xz linux-9d8c7d92015ece9a2139a259cef781a41845d2c0.zip |
riscv: remove unneeded semicolon
Eliminate the following coccicheck warning:
./arch/riscv/mm/kasan_init.c:219:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/mm')
-rw-r--r-- | arch/riscv/mm/kasan_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/mm/kasan_init.c b/arch/riscv/mm/kasan_init.c index 4f85c6d0ddf8..937d13ce9ab8 100644 --- a/arch/riscv/mm/kasan_init.c +++ b/arch/riscv/mm/kasan_init.c @@ -216,7 +216,7 @@ void __init kasan_init(void) break; kasan_populate(kasan_mem_to_shadow(start), kasan_mem_to_shadow(end)); - }; + } for (i = 0; i < PTRS_PER_PTE; i++) set_pte(&kasan_early_shadow_pte[i], |