Re: [PATCH] efct: fix compilation warning about atomic_t usage

2017-03-15 Thread Bart Van Assche
On Wed, 2017-03-15 at 22:27 +0100, Sebastian Herbszt wrote: > Use kref_read() instead of accessing the counter inside a kref. Hello Sebastian, It is a good habit for a patch that fixes a compilation warning to mention the warning message that has been fixed in the patch description. > @@ -3821,7

[PATCH] efct: fix compilation warning about atomic_t usage

2017-03-15 Thread Sebastian Herbszt
Use kref_read() instead of accessing the counter inside a kref. Signed-off-by: Sebastian Herbszt --- efct/efct_ddump.c | 5 ++--- efct/efct_hw.c| 6 +++--- efct/efct_io.c| 3 +-- efct/efct_lio.c | 2 +- efct/efct_scsi.c | 4 ++-- 5 files changed, 9 insertions(+), 11 deletions(-) diff