diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-12 10:30:22 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-07-13 00:25:12 +0300 |
commit | 6f37e2102778d3437a416684680cc5ce295f2042 (patch) | |
tree | adce9579cc427ca6de2aa182d1c8614e1c551d02 /drivers/scsi/esas2r/Makefile | |
parent | 89b203e9d07d4079367120a6fe271ad9e9b751c0 (diff) | |
download | linux-6f37e2102778d3437a416684680cc5ce295f2042.tar.xz |
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>
Diffstat (limited to 'drivers/scsi/esas2r/Makefile')
0 files changed, 0 insertions, 0 deletions