Messages in this thread | | | Date | Mon, 2 Nov 2020 17:36:21 -0800 | From | Jakub Kicinski <> | 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@huawei.com>
Applied, thanks!
| |