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

Marek Vasut
2016-03-23T08:42:21Z

On 03/23/2016 09:31 AM, Sriram Dash wrote:
>
>
>> -----Original Message-----
>> From: Marek Vasut [mailto:marex at denx.de]
>> Sent: Tuesday, March 22, 2016 12:56 PM
>> To: Sriram Dash <sriram.dash@nxp.com>; u-boot at lists.denx.de
>> Cc: york sun <york.sun@nxp.com>; Ramneek Mehresh
>> <ramneek.mehresh@nxp.com>; Rajesh Bhagat <rajesh.bhagat@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"

Yeah, excellent.

--
Best regards,
Marek Vasut