From: Wolfgang Denk Date: Tue, 28 Apr 2009 00:35:40 +0200 Subject: [U-Boot] [PATCH] fs: Fix the wrong type of var In-Reply-To: <1239691055-8360-1-git-send-email-daveliu@freescale.com> References: <1239691055-8360-1-git-send-email-daveliu@freescale.com> Message-ID: <20090427223540.C178C83420E8@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 Dave Liu, In message <1239691055-8360-1-git-send-email-daveliu@freescale.com> you wrote: > From: Gao Guanhua > > The filelen should be signed type, not unsigned type. > otherwise, The condition as below never take. > if (filelen < 0) > > Signed-off-by: Gao Guanhua > Signed-off-by: Dave Liu > --- > common/cmd_ext2.c | 3 ++- > 1 files changed, 2 insertions(+), 1 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 Good morning. This is the telephone company. Due to repairs, we're giving you advance notice that your service will be cut off indefi- nitely at ten o'clock. That's two minutes from now.