[U-Boot-Users] [PATCH] Incorrect escape sequences in u-boot-1.3.3/common/usb.c
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Tue May 20 17:38:18 CEST 2008
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 <gururajakr at sanyo.co.in>
>
> 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.
More information about the U-Boot
mailing list