Re: [U-Boot] [PATCH] net: phy: micrel: Fix error handling

2016-11-14 Thread Joe Hershberger
On Mon, Nov 14, 2016 at 8:08 AM, Marek Vasut wrote: > Fix the following error, the $ret variable handling must > be part of the loop, while due to the missing parenthesis > it was not. > > drivers/net/phy/micrel.c: In function ‘ksz9021_of_config’: > drivers/net/phy/micrel.c:303:2: warning: this ‘f

[U-Boot] [PATCH] net: phy: micrel: Fix error handling

2016-11-14 Thread Marek Vasut
Fix the following error, the $ret variable handling must be part of the loop, while due to the missing parenthesis it was not. drivers/net/phy/micrel.c: In function ‘ksz9021_of_config’: drivers/net/phy/micrel.c:303:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (