summaryrefslogtreecommitdiff
path: root/doc/README.b4860qds
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-11-14 15:08:42 +0100
committerJoe Hershberger <joe.hershberger@ni.com>2016-12-08 10:36:21 -0600
commit75c056d70e404e784099204f2488d7583de9fdd9 (patch)
tree0e9b63bbe8b97e60ce5af77166be0e8b9d9a5026 /doc/README.b4860qds
parent388019f1e2166638453bc4e0cc5d138c2a19e0c9 (diff)
downloadu-boot-imx-75c056d70e404e784099204f2488d7583de9fdd9.zip
u-boot-imx-75c056d70e404e784099204f2488d7583de9fdd9.tar.gz
u-boot-imx-75c056d70e404e784099204f2488d7583de9fdd9.tar.bz2
net: phy: micrel: Fix error handling
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 (i = 0; i < ARRAY_SIZE(ofcfg); i++) ^~~ drivers/net/phy/micrel.c:305:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if (ret) ^~ drivers/net/phy/micrel.c: In function ‘ksz9031_of_config’: drivers/net/phy/micrel.c:411:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (i = 0; i < ARRAY_SIZE(ofcfg); i++) ^~~ drivers/net/phy/micrel.c:413:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if (ret) ^~ Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'doc/README.b4860qds')
0 files changed, 0 insertions, 0 deletions