Re: [PATCH 13/21] usb: dwc2: Update parameter types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/10/2017 3:24 AM, Sergei Shtylyov wrote:
> On 01/10/2017 05:24 AM, John Youn wrote:
> 
>> Update the param types to appropriately sized ints and bools.
>>
>> Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx>
>> ---
>>  drivers/usb/dwc2/core.h | 52 ++++++++++++++++++++++++-------------------------
>>  1 file changed, 26 insertions(+), 26 deletions(-)
>>
>> diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
>> index 7256b9f7097a..c6f62648ad97 100644
>> --- a/drivers/usb/dwc2/core.h
>> +++ b/drivers/usb/dwc2/core.h
>> @@ -452,50 +452,50 @@ enum dwc2_ep0_state {
> [...]
>> -	int phy_utmi_width;
>> -	int phy_ulpi_ddr;
>> -	int phy_ulpi_ext_vbus;
>> +	u8 phy_utmi_width;
>> +	bool phy_ulpi_ddr;
>> +	bool phy_ulpi_ext_vbus;
> 
>     If it's *bool* now, shouyldn't tghe following be dropped?

Hi Sergei,

Yes, it's handled in patch 17 of this series.

Regards,
John

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux