[U-Boot] [PATCH 15/28] Blackfin: fix bd_t handling

Mike Frysinger vapier at gentoo.org
Mon Dec 27 17:42:16 CET 2010


On Monday, December 27, 2010 06:41:47 Sergei Shtylyov wrote:
> On 27-12-2010 7:48, Mike Frysinger wrote:
> > +	bd = (bd_t *) (CONFIG_SYS_BD_INFO_ADDR);
> 
>     Parens not needed around CONFIG_SYS_BD_INFO_ADDR.

it isnt a problem to have the parens, and it keeps things sane if someone does 
something like:
#define CONFIG_SYS_BD_INFO_ADDR   SOME_DEFINE + 0x1000
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101227/0a4a153a/attachment.pgp 


More information about the U-Boot mailing list