Janitor-Question: use __set_bit instead of |=

Greg KH greg at kroah.com
Tue May 31 04:49:52 UTC 2011


On Mon, May 30, 2011 at 11:23:40PM +0200, Peter Hüwe wrote:
> Hi Janitors, staging-list
> 
> what is your opinion on using set_bit instead of using |= to set a bit?
> Is it worth the effort to convert  existing |= to set_bit?

I doubt converting existing stuff is needed, but any future stuff is
always nice to use set_bit() for the reasons you suggest.

thanks,

greg k-h



More information about the devel mailing list