commit | 66a85155d4851fe10e7c08c386507d92b45c0ec1 | [log] [tgz] |
---|---|---|
author | James Smart <jsmart2021@gmail.com> | Mon Apr 09 14:24:31 2018 -0700 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Apr 18 19:34:06 2018 -0400 |
tree | aeab3bfd6d80fba580e0c85ac9d7b004a76ba7a0 | |
parent | b15bd3e6212e747ebd1b37a542898e88ad05bb17 [diff] |
scsi: lpfc: Fix NULL pointer reference when resetting adapter Points referencing local port structures didn't accommodate cases where the localport may not be registered yet. Add NULL pointer checks to logic. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>