diff options
author | Dupuis, Chad <chad.dupuis@cavium.com> | 2017-02-23 18:01:03 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-24 00:59:04 +0300 |
commit | 1afca6b5f31616d330fb64a0c87060640a75ff6a (patch) | |
tree | b40d33285049af3c137c24851ca2fb9f6d8e0540 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | fcbfffe2c5cbec0c1721b2261c316b961ad50208 (diff) | |
download | linux-1afca6b5f31616d330fb64a0c87060640a75ff6a.tar.xz |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions