diff options
author | YueHaibing <[email protected]> | 2018-08-08 20:29:08 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-08-09 14:14:03 -0700 |
commit | cd16e5b233aadad5c4652f5466d1505a9f78bade (patch) | |
tree | 4b06039bfa89d028c274cf093deacc18216598f8 /lib/test_overflow.c | |
parent | 63cc5bcc9fc467bbe61cc9ee52509294bdf04c4b (diff) |
mlxsw: spectrum_flower: use PTR_ERR_OR_ZERO()
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 <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions