[PATCH] Warnings in comedi_fops.c

Greg KH gregkh at linuxfoundation.org
Tue Jun 7 20:07:47 UTC 2016


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


More information about the devel mailing list