diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-09-14 12:57:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-15 08:32:16 -0700 |
commit | 472d455e7c6f32e6ae4738de8e6ba212db372661 (patch) | |
tree | 96620067cb044a00e256bb40d67559da09fa20e0 /net/netfilter | |
parent | 75834577c0870c9087274f015887b6f4106b3a24 (diff) | |
download | linux-472d455e7c6f32e6ae4738de8e6ba212db372661.tar.gz linux-472d455e7c6f32e6ae4738de8e6ba212db372661.tar.bz2 linux-472d455e7c6f32e6ae4738de8e6ba212db372661.zip |
ice: Fix a NULL vs IS_ERR() check in probe()
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@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/6951d217-ac06-4482-a35d-15d757fd90a3@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions