On Mon, Jul 03, 2023 at 06:24:52PM +0300, Dan Carpenter wrote: > 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@xxxxxxxxxx> Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>