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

Marek Vasut marex at denx.de
Wed Mar 23 09:42:21 CET 2016


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 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"

Yeah, excellent.


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list