aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2023-07-03 18:24:52 +0300
committerDavid S. Miller <davem@davemloft.net>2023-07-04 19:38:37 +0100
commit90a8007bbeb616e3ea57e2696190e57aa0329531 (patch)
treed79259bb048802513e6fca574f74b5261efa8d9c /tools/perf/scripts/python/sctop.py
parent30c45b5361d39b4b793780ffac5538090b9e2eb1 (diff)
mlxsw: spectrum_router: Fix an IS_ERR() vs NULL check
The mlxsw_sp_crif_alloc() function returns NULL on error. It doesn't return error pointers. Fix the check. Fixes: 78126cfd5dc9 ("mlxsw: spectrum_router: Maintain CRIF for fallback loopback RIF") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions