summaryrefslogtreecommitdiff
path: root/init/do_mounts.h
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-05-15 10:16:05 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-17 23:57:09 +0300
commit28c66b6da4087b8cfe81c2ec0a46eb6116dafda9 (patch)
tree693723ed8f93752f6e9fb511e04638d0bf98a3e2 /init/do_mounts.h
parente0652f8bb44d6294eeeac06d703185357f25d50b (diff)
downloadlinux-28c66b6da4087b8cfe81c2ec0a46eb6116dafda9.tar.xz
net: bnx2: Fix error return code in bnx2_init_board()
Fix to return -EPERM from the error handling case instead of 0, as done elsewhere in this function. Fixes: b6016b767397 ("[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>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions