On Sat, 7 Apr 2018 11:30:23 -0700 James Smart <jsmart2021@xxxxxxxxx> wrote: > 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@xxxxxxxxxxxx> > Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx> > --- > drivers/scsi/lpfc/lpfc_nvme.c | 36 > ++++++++++++++++++++---------------- 1 file changed, 20 > insertions(+), 16 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes