diff options
author | kernel test robot <lkp@intel.com> | 2021-02-28 12:10:22 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-03-17 04:34:19 +0100 |
commit | 6e9070dc2e847ef77aa1c581252a1b97eb2225b9 (patch) | |
tree | 5a03b64a6defb7f7e8390ce8698c2644f7fcdbe6 /arch/csky/kernel/probes/ftrace.c | |
parent | riscv: process: Fix no prototype for arch_dup_task_struct (diff) | |
download | linux-6e9070dc2e847ef77aa1c581252a1b97eb2225b9.tar.xz linux-6e9070dc2e847ef77aa1c581252a1b97eb2225b9.zip |
riscv: fix bugon.cocci warnings
Use BUG_ON instead of a if condition followed by BUG.
Generated by: scripts/coccinelle/misc/bugon.cocci
Fixes: c22b0bcb1dd0 ("riscv: Add kprobes supported")
CC: Guo Ren <guoren@linux.alibaba.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/csky/kernel/probes/ftrace.c')
0 files changed, 0 insertions, 0 deletions