mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
bnx2x: fix an error code in bnx2x_nic_load()
[ Upstream commitfb653827c7] Set the error code if bnx2x_alloc_fw_stats_mem() fails. The current code returns success. Fixes:ad5afc8936("bnx2x: Separate VF and PF logic") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f76f9caccb
commit
c66d273b70
1 changed files with 2 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue