diff options
| author | Dick Kennedy <[email protected]> | 2017-09-29 17:34:39 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-10-02 22:46:38 -0400 |
| commit | e7981a2c725f8e237f749fa1358997707d57e32c (patch) | |
| tree | 690cf3b5227160738ce29be79867865a8471f0f7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | cf4c8c861074af050b51f00cac44b24195b2d0d3 (diff) | |
scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails
if nvmet targetport registration fails, the driver encounters a NULL
pointer oops in lpfc_hb_timeout_handler.
To fix: if registration fails, ensure nvmet_support is cleared on the
port structure.
Also enhanced the log message on failure.
Cc: <[email protected]> # 4.12+
Signed-off-by: Dick Kennedy <[email protected]>
Signed-off-by: James Smart <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions