[U-Boot] [PATCH]powerpc/usb: Fix usb device-tree fix-up

Wolfgang Denk wd at denx.de
Thu Feb 7 06:20:28 CET 2013


Dear Ramneek Mehresh,

In message <1360207562-1784-1-git-send-email-ramneek.mehresh at freescale.com> you wrote:
> 
> +			if (mode_idx < 0 || phy_idx < 0) {
> +				printf("WARNING: wrong usb mode/phy"
> +					" defined!!\n");
> +				return;
> +			}

As you take a return here, this appears to be an ERROR rather than a
warning?

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
f u cn rd ths, itn tyg h myxbl cd.


More information about the U-Boot mailing list