Re: [PATCH] qedf: fixup compilation warning about atomic_t usage

2017-02-23 Thread Martin K. Petersen
> "Chad" == Dupuis, Chad writes: Chad> The driver didn't follow the atomic_t vs refcount_t change, and Chad> anyway one should be using kref_read() instead of accessing the Chad> counter inside an kref. Applied to 4.11/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineerin

[PATCH] qedf: fixup compilation warning about atomic_t usage

2017-02-23 Thread Dupuis, Chad
From: "Dupuis, Chad" 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

Re: [PATCH] qedf: fixup compilation warning about atomic_t usage

2017-02-23 Thread Chad Dupuis
On Thu, 23 Feb 2017, 11:44am -, Hannes Reinecke wrote: > 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 drive

[PATCH] qedf: fixup compilation warning about atomic_t usage

2017-02-23 Thread 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: Chad Dupuis Cc: Nilesh Javali Signed-off-by: Hannes