Re: [PATCH] make WRITE_ONCE return void

2016-07-08 Thread Alexey Dobriyan
On Fri, Jul 8, 2016 at 11:02 AM, Peter Zijlstra wrote: > On Fri, Jul 08, 2016 at 01:20:08AM +0300, Alexey Dobriyan wrote: >> Currently WRITE_ONCE is used as if it returns void. Let's codify this >> before somebody tries to be smarter than necessary. >> >> Signed-off-by: Alexey Dobriyan >> --- >>

Re: [PATCH] make WRITE_ONCE return void

2016-07-08 Thread Peter Zijlstra
On Fri, Jul 08, 2016 at 01:20:08AM +0300, Alexey Dobriyan wrote: > Currently WRITE_ONCE is used as if it returns void. Let's codify this > before somebody tries to be smarter than necessary. > > Signed-off-by: Alexey Dobriyan > --- > > include/linux/compiler.h |2 +- > 1 file changed, 1 ins

[PATCH] make WRITE_ONCE return void

2016-07-07 Thread Alexey Dobriyan
Currently WRITE_ONCE is used as if it returns void. Let's codify this before somebody tries to be smarter than necessary. Signed-off-by: Alexey Dobriyan --- include/linux/compiler.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/compiler.h +++ b/include/linux/comp