[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210122093320.6fbb5f11@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Fri, 22 Jan 2021 09:33:20 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jiapeng Zhong <abaci-bugfix@...ux.alibaba.com>
Cc: roopa@...dia.com, nikolay@...dia.com, davem@...emloft.net,
natechancellor@...il.com, ndesaulniers@...gle.com,
bridge@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] bridge: Use PTR_ERR_OR_ZERO instead if(IS_ERR(...)) +
PTR_ERR
On Fri, 22 Jan 2021 17:32:13 +0800 Jiapeng Zhong wrote:
> coccicheck suggested using PTR_ERR_OR_ZERO() and looking at the code.
>
> Fix the following coccicheck warnings:
>
> ./net/bridge/br_multicast.c:1295:7-13: WARNING: PTR_ERR_OR_ZERO can be
> used.
>
> Reported-by: Abaci <abaci@...ux.alibaba.com>
> Signed-off-by: Jiapeng Zhong <abaci-bugfix@...ux.alibaba.com>
You need to CC netdev
Powered by blists - more mailing lists