]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bnx2x: Fix missing error code in bnx2x_iov_init_one()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 25 May 2021 11:00:12 +0000 (19:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jun 2021 09:34:52 +0000 (11:34 +0200)
commitc83f46610857ee9e4ade19e381420eee5199be3b
tree1afdc68e419ccb3a470e0ebf82f721a1ca1eab56
parentd069f110fb74b1dc206e524fc6b187b3dd5486d1
bnx2x: Fix missing error code in bnx2x_iov_init_one()

[ Upstream commit 65161c35554f7135e6656b3df1ce2c500ca0bdcf ]

Eliminate the follow smatch warning:

drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c:1227
bnx2x_iov_init_one() warn: missing error code 'err'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c