[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] [PATCH] Make memory allocation for device and configuration descriptors dynamic
On 05/10/14 20:24, Alan Hourihane wrote:
> On 05/10/14 19:34, David Gálvez wrote:
>> Hi,
>>
>> I have seen some device with configuration descriptor bigger than 512
>> bytes (size of static buffer in our USB stack), so I've made buffers
>> memory allocation for device and configuration descriptors dynamic.
>>
>> ----------------------------------
>>
>> Commit message:
>>
>> Make buffers memory allocation for device and configuration descriptors dynamic.
> David,
>
> This doesn't look right.
Actually I can see now. I'd rather that tmpbuf no longer gets passed in
via usb_get_configuration_no() and is declared locally now.
That should fix my issue.
Alan.