On Sat, Sep 14, 2024 at 12:57:56PM +0300, Dan Carpenter wrote: > The ice_allocate_sf() function returns error pointers on error. It > doesn't return NULL. Update the check to match. > > Fixes: 177ef7f1e2a0 ("ice: base subfunction aux driver") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>