[U-Boot] [PATCH v5 4/4] drivers:usb:common:fsl-dt-fixup: fix return value of fdt_usb_get_node_type

Sriram Dash sriram.dash at nxp.com
Wed Mar 23 09:31:16 CET 2016



>-----Original Message-----
>From: Marek Vasut [mailto:marex at denx.de]
>Sent: Tuesday, March 22, 2016 12:56 PM
>To: Sriram Dash <sriram.dash at nxp.com>; u-boot at lists.denx.de
>Cc: york sun <york.sun at nxp.com>; Ramneek Mehresh
><ramneek.mehresh at nxp.com>; Rajesh Bhagat <rajesh.bhagat at nxp.com>
>Subject: Re: [PATCH v5 4/4] drivers:usb:common:fsl-dt-fixup: fix return value of
>fdt_usb_get_node_type
>
>On 03/22/2016 08:10 AM, Sriram Dash wrote:
>> Use int as it is native (and widely used) return type.
>
>What do you mean by "int ... is native (and widely used) return type" ?
>
>It's just a signed type, that's all there is to it.
>

Ok that may sound incorrect, Shall I change the description as below:
"Changes the return type of fdt_usb_get_node_type from char* to int"

>> Signed-off-by: Sriram Dash <sriram.dash at nxp.com>
>> Signed-off-by: Rajesh Bhagat <rajesh.bhagat at nxp.com>
>
>[...]
>
>Best regards,
>Marek Vasut


More information about the U-Boot mailing list