From: Wolfgang Denk Date: Sat, 30 Apr 2011 23:09:39 +0200 Subject: [U-Boot] [PATCH] miiphy: miiphyutil.c: fix compile warning In-Reply-To: <1304165864-10499-1-git-send-email-agust@denx.de> References: <1304165864-10499-1-git-send-email-agust@denx.de> Message-ID: <20110430210939.0F637D52711@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 <1304165864-10499-1-git-send-email-agust@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 > Cc: Andy Fleming > --- > 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.