Re: [PATCH] scsi: lpfc: don't dereference localport before it has been null checked
From: Martin K. Petersen
Date: Wed Jan 03 2018 - 22:53:23 EST
Colin,
> localport is being dereferenced to assign lport and then immediately
> afterwards localport is being sanity checked to see if it is null.
> Fix this by only dereferencing localport until after it has been
> null checked.
Applied to 4.16/scsi-queue, thanks!
--
Martin K. Petersen Oracle Linux Engineering