Re: [PATCH] Warnings in comedi_fops.c

2016-06-08 Thread Ian Abbott
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(, ) instead of ACCESS_ONCE() = " "It is pre

Re: [PATCH] Warnings in comedi_fops.c

2016-06-07 Thread Greg KH
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(, ) instead of > ACCESS_ONCE() = " > > "It is preferable to use READ_ONC

[PATCH] Warnings in comedi_fops.c

2016-06-07 Thread Rithvik Patibandla
**Intro** The following patch fixes warnings thrown by checkpatch.pl script. The warnings are: "It is preferable to use WRITE_ONCE(, ) instead of ACCESS_ONCE() = " "It is preferable to use READ_ONCE() instead of ACCESS_ONCE()" Signed-off-by: Rithvik Patibandla --- drivers/staging/comedi/comed