Re: [PATCH] scsi: libfc: fix null pointer dereference on a null lport

From: Martin K. Petersen
Date: Thu Jul 11 2019 - 21:47:53 EST



Hannes,

Please review!

> Currently if lport is null then the null lport pointer is dereference
> when printing out debug via the FC_LPORT_DB macro. Fix this by using
> the more generic FC_LIBFC_DBG debug macro instead that does not use
> lport.

--
Martin K. Petersen Oracle Linux Engineering