diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-08-05 13:38:26 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-15 12:59:54 +0200 |
| commit | 0bc5fdab77e1f8de4c09741ebf9fae92d23d3d66 (patch) | |
| tree | feebd03488efbb5cd1200ee7f4c4d4dcb927914a /scripts/tracing/draw_functrace.py | |
| parent | b2386d801f2e70a851c057f1ce0f775018cbb540 (diff) | |
bnx2x: fix an error code in bnx2x_nic_load()
[ Upstream commit fb653827c758725b149b5c924a5eb50ab4812750 ]
Set the error code if bnx2x_alloc_fw_stats_mem() fails. The current
code returns success.
Fixes: ad5afc89365e ("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>
Diffstat (limited to 'scripts/tracing/draw_functrace.py')
0 files changed, 0 insertions, 0 deletions
