Re: [PATCH] Warnings in comedi_fops.c

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

 



On 07/06/16 21:07, Greg KH wrote:
On Wed, Jun 08, 2016 at 01:30:01AM +0530, Rithvik Patibandla wrote:
**Intro**

Why this line?

The following patch fixes warnings thrown by checkpatch.pl script. The
warnings are:
"It is preferable to use WRITE_ONCE(<Foo>, <Bar>) instead of
ACCESS_ONCE(<Foo>) = <Bar>"

"It is preferable to use READ_ONCE(<Foo>) instead of ACCESS_ONCE(<Foo>)"

And your subject is a bit "odd", look at how other patches are written
and accepted for what you should do instead.

thanks,

greg k-h


There is an earlier patch from Shyam Saini that does the same thing as this patch:

http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2016-May/089767.html

--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx> )=-
-=(                          Web: http://www.mev.co.uk/  )=-
_______________________________________________
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