Re: [U-Boot] [PATCH 1/5] powerpc/85xx: fix definition of MAS register macros

2011-11-08 Thread Kumar Gala
On Oct 31, 2011, at 1:30 PM, Timur Tabi wrote: Some of the MAS register macros do not protect the parameter with parentheses, which could cause wrong values if the parameter includes operators. Also fix the definition of TSIZE_TO_BYTES() so that it actually uses the parameter. This

[U-Boot] [PATCH 1/5] powerpc/85xx: fix definition of MAS register macros

2011-10-31 Thread Timur Tabi
Some of the MAS register macros do not protect the parameter with parentheses, which could cause wrong values if the parameter includes operators. Also fix the definition of TSIZE_TO_BYTES() so that it actually uses the parameter. This hasn't caused any problems to date because the parameter was