diff options
author | Dick Kennedy <dick.kennedy@broadcom.com> | 2017-09-30 03:34:39 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-10-03 05:46:38 +0300 |
commit | e7981a2c725f8e237f749fa1358997707d57e32c (patch) | |
tree | 690cf3b5227160738ce29be79867865a8471f0f7 /tools/perf/scripts/python/syscall-counts.py | |
parent | cf4c8c861074af050b51f00cac44b24195b2d0d3 (diff) | |
download | linux-e7981a2c725f8e237f749fa1358997707d57e32c.tar.xz |
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: <stable@vger.kernel.org> # 4.12+
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions