diff options
| author | James Smart <[email protected]> | 2021-04-11 18:31:19 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-04-13 01:39:13 -0400 |
| commit | a1a553e31a994be6f68d3123c0546a84c04a7f6c (patch) | |
| tree | c634adab524b15ce04fcbbbb9f1bacf8b983b397 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 724f6b43a3492b02e2ebc88f9fb749d1405098e2 (diff) | |
scsi: lpfc: Fix silent memory allocation failure in lpfc_sli4_bsg_link_diag_test()
In the unlikely case of a failure to allocate an LPFC_MBOXQ_t structure, no
return status is set, thus the routine never logs an error and returns
success to the callee.
Fix by setting a return code on failure.
Link: https://lore.kernel.org/r/[email protected]
Co-developed-by: Justin Tee <[email protected]>
Signed-off-by: Justin Tee <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions