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

From: Martin K. Petersen
Date: Tue Jul 16 2019 - 22:33:10 EST



Colin,

> 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.

Applied to 5.3/scsi-fixes, thanks!

--
Martin K. Petersen Oracle Linux Engineering