[U-Boot] [PATCH] miiphy: miiphyutil.c: fix compile warning
Wolfgang Denk
wd at denx.de
Sat Apr 30 23:09:39 CEST 2011
Dear Anatolij Gustschin,
In message <1304165864-10499-1-git-send-email-agust at denx.de> you wrote:
> Fix warning introduced while recent PHY Lib changes:
>
> miiphyutil.c: In function 'miiphy_read':
> miiphyutil.c:304: warning: comparison is always false due to limited range of data type
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> Cc: Andy Fleming <afleming at freescale.com>
> ---
> common/miiphyutil.c | 12 ++++++++----
> 1 files changed, 8 insertions(+), 4 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is easier to change the specification to fit the program than vice
versa.
More information about the U-Boot
mailing list