diff options
author | Dupuis, Chad <chad.dupuis@cavium.com> | 2017-02-23 16:01:03 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-23 22:59:04 +0100 |
commit | 1afca6b5f31616d330fb64a0c87060640a75ff6a (patch) | |
tree | b40d33285049af3c137c24851ca2fb9f6d8e0540 /drivers/scsi/scsi.c | |
parent | scsi: remove scsi_execute_req_flags (diff) | |
download | linux-1afca6b5f31616d330fb64a0c87060640a75ff6a.tar.xz linux-1afca6b5f31616d330fb64a0c87060640a75ff6a.zip |
scsi: qedf: fixup compilation warning about atomic_t usage
Based on an original patch by Hannes Reinecke.
The driver didn't follow the atomic_t vs refcount_t change, and anyway
one should be using kref_read() instead of accessing the counter inside
an kref.
Fixes: 61d8658b4a435e ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework.)
Cc: Hannes Reinecke <hare@suse.de>
Cc: Nilesh Javali <nilesh.javali@cavium.com>
Signed-off-by: Dupuis, Chad <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
0 files changed, 0 insertions, 0 deletions