[U-Boot] [PATCH] common/cmd_mdio.c: fix compile warning

Wolfgang Denk wd at denx.de
Sat Apr 30 23:09:57 CEST 2011


Dear Anatolij Gustschin,

In message <1304167169-22651-1-git-send-email-agust at denx.de> you wrote:
> cmd_mdio.c: In function 'mdio_read_ranges':
> cmd_mdio.c:97: 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/cmd_mdio.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 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
Obviously, a man's judgement cannot be better than the information on
which he has based it. Give him the truth and he may still  go  wrong
when  he  has the chance to be right, but give him no news or present
him only with distorted and incomplete data, with ignorant, sloppy or
biased reporting, with propaganda and deliberate falsehoods, and  you
destroy  his  whole  reasoning processes, and make him something less
than a man.                                  - Arthur Hays Sulzberger


More information about the U-Boot mailing list