aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-07-03 18:24:52 +0300
committerDavid S. Miller <[email protected]>2023-07-04 19:38:37 +0100
commit90a8007bbeb616e3ea57e2696190e57aa0329531 (patch)
treed79259bb048802513e6fca574f74b5261efa8d9c /net/lapb/lapb_in.c
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 <[email protected]> Reviewed-by: Alexander Lobakin <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions