Content-Type: multipart/mixed; boundary="===============0742798642995277310==" MIME-Version: 1.0 From: Pekka Enberg To: kbuild-all@lists.01.org Subject: Re: [PATCH] riscv: fix bugon.cocci warnings Date: Sun, 28 Feb 2021 16:56:49 +0200 Message-ID: <20210228145649.GA453839@nero> In-Reply-To: List-Id: --===============0742798642995277310== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Sun, Feb 28, 2021 at 12:10:22PM +0100, Julia Lawall wrote: > From: kernel test robot > = > 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 > Reported-by: kernel test robot > Signed-off-by: kernel test robot > Signed-off-by: Julia Lawall Reviewed-by: Pekka Enberg --===============0742798642995277310==--