Re: [PATCH 2/3] staging: dgnc: fix checkpatch.pl usage of volatile.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 20, 2013 at 10:03:26PM +0530, Stalin Srinivasan wrote:
> From: stalinsrinivasan.s <stalinsrinivasan.subramanian@xxxxxxxxxxxx>
> 
> This is a patch to the dgnc_cls.c file that fixes up volatile usage
> warning found by the checkpatch.pl tool
> 

When you're writing a changelog please mention that you fixed the
locking a little.  We normally expect checkpatch.pl fixes will not
change how the program works.

"Checkpatch.pl complained about the use of 'volatile' here.  The locking
was a bit messed up and access to the 'ch' struct should be protected
using the 'ch->ch_lock' lock.  This patch adds proper locking and
removes the bogus 'volatile'."

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux