[U-Boot] [PATCH v2 1/2] linux/bitops.h: Add BIT macro

Tom Rini trini at konsulko.com
Wed Apr 29 15:08:52 CEST 2015


On Wed, Apr 29, 2015 at 05:35:05PM +0530, Jagannadha Sutradharudu Teki wrote:

> Replace (1 << nr) to BIT(nr) where nr = 0, 1, 2 .... 31
> 
> Signed-off-by: Jagannadha Sutradharudu Teki <jagannadh.teki at gmail.com>
> Cc: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Simon Glass <sjg at chromium.org> 

I think that conceptually this is a good idea.  We need to apply this
fairly quickly however as it already throws out a few rejects with the
PRs I've taken and doing some local testing on.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150429/cdfc66ca/attachment.sig>


More information about the U-Boot mailing list