From: Wolfgang Denk Date: Sat, 13 Dec 2008 21:33:41 +0100 Subject: [U-Boot] [PATCH] usb: fix wait_ms declaration In-Reply-To: <1229198787-24017-1-git-send-email-plagnioj@jcrosoft.com> References: <1229198787-24017-1-git-send-email-plagnioj@jcrosoft.com> Message-ID: <20081213203341.CFC4F832E8A1@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 Jean-Christophe PLAGNIOL-VILLARD, In message <1229198787-24017-1-git-send-email-plagnioj@jcrosoft.com> you wrote: ... > +static void __inline__ wait_ms(unsigned long ms) > +{ > + while(ms-->0) White space before and after the '>', please. And should we not check for a '0' argument first? Of course, you can argument that the caller will just get what he asked for (i. e. a nearly 50 days delay), but anyway. 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 much easier to suggest solutions when you know nothing