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

2019-07-16 Thread Martin K. Petersen
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

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

2019-07-12 Thread Julia Lawall
On Fri, 12 Jul 2019, Hannes Reinecke wrote: > On 7/2/19 11:18 AM, Colin King wrote: > > From: Colin Ian King > > > > 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

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

2019-07-12 Thread Hannes Reinecke
On 7/2/19 11:18 AM, Colin King wrote: > From: Colin Ian King > > 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. > >

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

2019-07-11 Thread Martin K. Petersen
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