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
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux