linux/drivers/scsi/libfc
YueHaibing a9e81c2922 scsi: libfc: Fix passing zero to 'PTR_ERR' warning
drivers/scsi/libfc/fc_disc.c:304
 fc_disc_error() warn: passing zero to 'PTR_ERR'

fp may be NULL in fc_disc_error(), use PTR_ERR_OR_ZERO to handle this.

Link: https://lore.kernel.org/r/20200909135432.36772-1-yuehaibing@huawei.com
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2020-09-15 17:51:39 -04:00
..
fc_disc.c scsi: libfc: Fix passing zero to 'PTR_ERR' warning 2020-09-15 17:51:39 -04:00
fc_elsct.c
fc_exch.c
fc_fcp.c scsi: libfc: Provide missing and repair existing function documentation 2020-07-15 16:01:57 -04:00
fc_frame.c
fc_libfc.c
fc_libfc.h
fc_lport.c scsi: libfc: Repair function parameter documentation 2020-07-15 16:01:57 -04:00
fc_npiv.c
fc_rport.c SCSI misc on 20200806 2020-08-06 16:50:07 -07:00
Makefile