mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
net: bnx2: Fix error return code in bnx2_init_board()
[ Upstream commit28c66b6da4] Fix to return -EPERM from the error handling case instead of 0, as done elsewhere in this function. Fixes:b6016b7673("[BNX2]: New Broadcom gigabit network driver.") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Reviewed-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8eaca8d1ca
commit
8f793568b0
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue