Re: Janitor-Question: use __set_bit instead of |=

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

 



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
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux