Messages in this thread | | | Date | Sun, 28 Feb 2021 16:56:49 +0200 | From | Pekka Enberg <> | Subject | Re: [PATCH] riscv: fix bugon.cocci warnings |
| |
On Sun, Feb 28, 2021 at 12:10:22PM +0100, Julia Lawall wrote: > From: kernel test robot <lkp@intel.com> > > 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>
| |