[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180911.235417.1481257495387934935.davem@davemloft.net>
Date: Tue, 11 Sep 2018 23:54:17 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: zhongjiang@...wei.com
Cc: edumazet@...gle.com, kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ipv4: Use BUG_ON directly instead of a if
condition followed by BUG
From: zhong jiang <zhongjiang@...wei.com>
Date: Mon, 10 Sep 2018 22:38:02 +0800
> The if condition can be removed if we use BUG_ON directly.
> The issule is detected with the help of Coccinelle.
>
> Signed-off-by: zhong jiang <zhongjiang@...wei.com>
You keep asking if this is worthy to do.
I think the most worthy thing to do is actually build test your
patches.
Powered by blists - more mailing lists