[RFC] change non-atomic bitops method

David Howells dhowells at redhat.com
Tue Feb 3 07:14:43 PST 2015


Uwe Kleine-König  wrote:

> Might be a matter of taste, but this check is equivalent to
> 
> 	*p != (*p | mask)
> 
> which is what you really want to test for.

I would argue that this is less clear as to what's going on.

David



More information about the linux-arm-kernel mailing list