diff options
author | Zhen Lei <[email protected]> | 2021-05-15 15:16:05 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-17 13:57:09 -0700 |
commit | 28c66b6da4087b8cfe81c2ec0a46eb6116dafda9 (patch) | |
tree | 693723ed8f93752f6e9fb511e04638d0bf98a3e2 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | e0652f8bb44d6294eeeac06d703185357f25d50b (diff) |
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 <[email protected]>
Signed-off-by: Zhen Lei <[email protected]>
Reviewed-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions