summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-04-22 11:22:11 +0200
committerJason Gunthorpe <jgg@mellanox.com>2020-05-04 19:12:35 +0200
commit37e31d2d26a4124506c24e95434e9baf3405a23a (patch)
tree6e50a04775b2e89a48ac430d8d7e000013902dc2 /drivers/infiniband/sw
parentLinux 5.7-rc4 (diff)
downloadlinux-37e31d2d26a4124506c24e95434e9baf3405a23a.tar.xz
linux-37e31d2d26a4124506c24e95434e9baf3405a23a.zip
i40iw: Fix error handling in i40iw_manage_arp_cache()
The i40iw_arp_table() function can return -EOVERFLOW if i40iw_alloc_resource() fails so we can't just test for "== -1". Fixes: 4e9042e647ff ("i40iw: add hw and utils files") Link: https://lore.kernel.org/r/20200422092211.GA195357@mwanda Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Shiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw')
0 files changed, 0 insertions, 0 deletions