diff options
author | kernel test robot <lkp@intel.com> | 2021-09-02 14:50:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-03 09:58:09 -0700 |
commit | 4bdffd2708d65e68ff254d90793bb167d828219f (patch) | |
tree | da5fbf083c2eadb346c0a46b7f718b4232c80bfe /lib/sbitmap.c | |
parent | 9673e0050c39b0534d0e2ca431223f52089f4959 (diff) | |
download | linux-4bdffd2708d65e68ff254d90793bb167d828219f.tar.gz linux-4bdffd2708d65e68ff254d90793bb167d828219f.tar.bz2 linux-4bdffd2708d65e68ff254d90793bb167d828219f.zip |
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>
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions