Re: [PATCH] Warnings in comedi_fops.c

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

 



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
_______________________________________________
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