kernel test robot 4bdffd2708 arch/csky/kernel/probes/kprobes.c: fix bugon.cocci warnings
Use BUG_ON instead of a if condition followed by BUG.

Generated by: scripts/coccinelle/misc/bugon.cocci

Link: https://lkml.kernel.org/r/alpine.DEB.2.22.394.2107061049150.7197@hadrien
Fixes: 7d37cb2c912d ("lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS")
Signed-off-by: kernel test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Julian Braha <julianbraha@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-09-03 09:58:09 -07:00
..
2021-07-30 10:56:47 -07:00
2021-08-27 09:00:43 -07:00
2021-08-26 11:26:00 -07:00
2021-07-30 10:56:47 -07:00
2021-07-10 11:01:38 -07:00
2021-09-03 09:58:09 -07:00
2021-07-30 10:56:47 -07:00
2021-07-10 11:01:38 -07:00
2021-08-08 10:23:13 -07:00
2021-07-21 15:51:37 +02:00
2021-07-10 11:01:38 -07:00
2021-07-10 11:01:38 -07:00
2021-08-28 10:40:41 -07:00
2021-08-27 11:04:57 -07:00
2021-07-30 10:56:47 -07:00
2021-07-10 11:01:38 -07:00
2021-07-30 10:56:47 -07:00