Re: [PATCH net-next] mlxsw: spectrum_flower: use PTR_ERR_OR_ZERO()
From: David Miller
Date: Thu Aug 09 2018 - 17:14:26 EST
From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 8 Aug 2018 20:29:08 +0800
> Fix ptr_ret.cocci warnings:
> drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c:543:1-3: WARNING: PTR_ERR_OR_ZERO can be used
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Applied.