From: Tom Rini Date: Wed, 29 Apr 2015 09:08:52 -0400 Subject: [U-Boot] [PATCH v2 1/2] linux/bitops.h: Add BIT macro In-Reply-To: <1430309106-22973-1-git-send-email-jagannadh.teki@gmail.com> References: <1430309106-22973-1-git-send-email-jagannadh.teki@gmail.com> Message-ID: <20150429130852.GW16702@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Masahiro Yamada > Cc: Tom Rini > Cc: Simon Glass 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: