summaryrefslogtreecommitdiffstats
path: root/net/kcm/kcmsock.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-10-12 18:01:32 +0300
committerJakub Kicinski <kuba@kernel.org>2022-10-13 09:34:09 -0700
commit99df45c9e0a43b1b88dab294265e2be4a040a441 (patch)
tree4ab421440624a5c50af6eefa505203010fa5411e /net/kcm/kcmsock.c
parent30e9672ac37f7b8b9e1379d25882798d8e76a96f (diff)
downloadlinux-99df45c9e0a43b1b88dab294265e2be4a040a441.tar.gz
linux-99df45c9e0a43b1b88dab294265e2be4a040a441.tar.bz2
linux-99df45c9e0a43b1b88dab294265e2be4a040a441.zip
sunhme: fix an IS_ERR() vs NULL check in probe
The devm_request_region() function does not return error pointers, it returns NULL on error. Fixes: 914d9b2711dd ("sunhme: switch to devres") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Link: https://lore.kernel.org/r/Y0bWzJL8JknX8MUf@kili Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/kcm/kcmsock.c')
0 files changed, 0 insertions, 0 deletions