From: Wolfgang Denk Date: Sat, 15 Sep 2007 21:38:52 +0200 Subject: [U-Boot-Users] [PATCH][NAND] Fix do_div() usage in nand process output In-Reply-To: Your message of "Tue, 11 Sep 2007 17:04:00 +0200." <200709111704.01191.matthias.fuchs@esd-electronics.com> Message-ID: <20070915193852.776B424669@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 In message <200709111704.01191.matthias.fuchs@esd-electronics.com> you wrote: > Fix usage of do_div() in nand erase|read|write process output. > > The last patch to nand_util.c introduced do_div() instead of libgcc's > implementation. But do_div() returns the quotient in its first > macro parameter and not as result. 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 Q: How many DEC repairman does it take to fix a flat ? A: Five; four to hold the car up and one to swap tires.