From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 20 May 2008 17:38:18 +0200 Subject: [U-Boot-Users] [PATCH] Incorrect escape sequences in u-boot-1.3.3/common/usb.c In-Reply-To: <17336362.post@talk.nabble.com> References: <17336362.post@talk.nabble.com> Message-ID: <20080520153818.GA18756@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02:16 Tue 20 May , Hebbar wrote: > > Hi, > > Thanks to wd and all people who contributed for release of u-boot-1.3.3. > > While going through some the files that i use for my u-boot version, i found > an incorrect escape sequence mentioned in u-boot-1.3.3/common/usb.c. Below > is the patch that corrects the same. > > Here in my company i cannot use git and hence no git-patch or git-mail. > sorry for that.. > > > Regards > Gururaja > > Signed off by: Gururaja Hebbar > > diff -purN u-boot-1.3.3/common/usb.c u-boot-1.3.3-modified/common/usb.c > --- u-boot-1.3.3/common/usb.c 2008-05-19 03:47:11.000000000 -0700 > +++ u-boot-1.3.3-modified/common/usb.c 2008-05-20 13:39:17.484375000 -0700 > @@ -1088,7 +1088,7 @@ int usb_hub_configure(struct usb_device > /* silence compiler warning if USB_BUFSIZ is > 256 [= sizeof(char)] */ > i = descriptor->bLength; > if (i > USB_BUFSIZ) { > - USB_HUB_PRINTF("usb_hub_configure: failed to get hub descriptor - too > long: %d\N", > + USB_HUB_PRINTF("usb_hub_configure: failed to get hub descriptor - too > long: %d\n", > descriptor->bLength); > return -1; > } I'll send tomorow a full coding style patch Best Regards, J.