linux/drivers/scsi/libfc
Dan Carpenter 6f37e21027 scsi: libfc: pass an error pointer to fc_disc_error()
This patch is basically to silence a static checker warning.

    drivers/scsi/libfc/fc_disc.c:326 fc_disc_error()
    warn: passing a valid pointer to 'PTR_ERR'

It doesn't affect runtime because it treats -ENOMEM and a valid pointer
the same.  But the documentation says we should be passing an error
pointer.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-07-12 17:25:12 -04:00
..
fc_disc.c scsi: libfc: pass an error pointer to fc_disc_error() 2017-07-12 17:25:12 -04:00
fc_elsct.c
fc_exch.c
fc_fcp.c scsi: libfc: do not flood console with messages 'libfc: queue full ...' 2017-05-08 21:24:28 -04:00
fc_frame.c
fc_libfc.c networking: convert many more places to skb_put_zero() 2017-06-16 11:48:35 -04:00
fc_libfc.h
fc_lport.c scsi: libfc: directly call ELS request handlers 2017-04-11 20:58:26 -04:00
fc_npiv.c
fc_rport.c scsi: libfc: fix incorrect variable assignment 2017-05-16 21:08:42 -04:00
Makefile