summaryrefslogtreecommitdiff
path: root/drivers/s390
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-10-12 18:00:59 +0300
committerJakub Kicinski <kuba@kernel.org>2022-10-13 19:33:57 +0300
commit30e9672ac37f7b8b9e1379d25882798d8e76a96f (patch)
tree35e9be9e6be5a30d11ad3df7b4fdafa1d13ea1fd /drivers/s390
parentec7eede369fe5b0d085ac51fdbb95184f87bfc6c (diff)
downloadlinux-30e9672ac37f7b8b9e1379d25882798d8e76a96f.tar.xz
net: marvell: prestera: fix a couple NULL vs IS_ERR() checks
The __prestera_nexthop_group_create() function returns NULL on error and the prestera_nexthop_group_get() returns error pointers. Fix these two checks. Fixes: 0a23ae237171 ("net: marvell: prestera: Add router nexthops ABI") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/Y0bWq+7DoKK465z8@kili Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions