[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201102173621.32e43f6a@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Mon, 2 Nov 2020 17:36:21 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <pshelar@....org>, <davem@...emloft.net>,
<xiangxia.m.yue@...il.com>, <netdev@...r.kernel.org>,
<dev@...nvswitch.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next] openvswitch: Use IS_ERR instead of
IS_ERR_OR_NULL
On Sat, 31 Oct 2020 14:01:53 +0800 YueHaibing wrote:
> Fix smatch warning:
>
> net/openvswitch/meter.c:427 ovs_meter_cmd_set() warn: passing zero to 'PTR_ERR'
>
> dp_meter_create() never returns NULL, use IS_ERR
> instead of IS_ERR_OR_NULL to fix this.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied, thanks!
Powered by blists - more mailing lists