[PATCH 1/2] vme: tsi148: CR/CSR logic arround the wrong way

Dan Carpenter dan.carpenter at oracle.com
Tue Jun 11 16:54:06 UTC 2013


On Tue, Jun 11, 2013 at 05:03:14PM +0100, Martyn Welch wrote:
> The logic in the init routine for the TSI148 is inverted. It isn't switching
> on the CR/CSR space when it should be and is reporting it's on when its not.
> 
> Correct the logic to do the right thing.
> 

This is fine, but for future reverence the original curly braces
were correct.  If either side of the if else statement has curly
braces then both sides get them.

regards,
dan carpenter




More information about the devel mailing list