[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5B9913BE.1040807@huawei.com>
Date: Wed, 12 Sep 2018 21:25:18 +0800
From: zhong jiang <zhongjiang@...wei.com>
To: David Miller <davem@...emloft.net>
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
On 2018/9/12 14:54, David Miller wrote:
> 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.
I am sorry for that. :-[
Thanks,
zhong jiang
Powered by blists - more mailing lists