From: Wolfgang Denk Date: Sat, 30 Apr 2011 23:09:57 +0200 Subject: [U-Boot] [PATCH] common/cmd_mdio.c: fix compile warning In-Reply-To: <1304167169-22651-1-git-send-email-agust@denx.de> References: <1304167169-22651-1-git-send-email-agust@denx.de> Message-ID: <20110430210957.CF848D52711@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anatolij Gustschin, In message <1304167169-22651-1-git-send-email-agust@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 > Cc: Andy Fleming > --- > 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