[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <X+DQSQMzXCvty6bW@google.com>
Date: Mon, 21 Dec 2020 08:41:45 -0800
From: Minchan Kim <minchan@...nel.org>
To: Alex Shi <alex.shi@...ux.alibaba.com>
Cc: Nitin Gupta <ngupta@...are.org>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/zsmalloc: replace if (cond) BUG() with BUG_ON()
On Sat, Dec 12, 2020 at 11:26:25AM +0800, Alex Shi wrote:
> coccinelle reports some warning:
> WARNING: Use BUG_ON instead of if condition followed by BUG.
>
> It could be fixed by BUG_ON().
>
> Reported-by: abaci@...ux.alibaba.com
> Signed-off-by: Alex Shi <alex.shi@...ux.alibaba.com>
Acked-by: Minchan Kim <minchan@...nel.org>
Thanks.
Powered by blists - more mailing lists