[U-Boot] [PATCH v6 1/1] usb: gadget: avoid variable name clipping in cb_getvar

Marek Vasut marex at denx.de
Mon Apr 3 11:34:39 UTC 2017


On 04/03/2017 11:50 AM, Lukasz Majewski wrote:
> On Mon, 3 Apr 2017 11:28:44 +0200
> Nicolas le bayon <nlebayon at gmail.com> wrote:
> 
>> From: Nicolas Le Bayon <nlebayon at gmail.com>
>>
>> Instead of using a fixed-size array to store variable name,
>> preferring a dynamic allocation treats correctly all variable name
>> lengths. Variable names are growing through releases and features. By
>> this way, name clipping is prevented.
> 
> Acked-by: Lukasz Majewski <lukma at denx.de>
> 
>>
>> Signed-off-by: Nicolas Le Bayon <nlebayon at gmail.com>
>> Reviewed-by: Marek Vasut <marex at denx.de>
> 
> Marek, could you pull this patch directly to -usb tree? I do not have
> more -dfu patches to pull to this merge window. Thanks in advance.

I cannot seem to be able to apply the patch, either from my mailer or
patchwork. Was it sent with git send-email or something else ? The
formatting of the patch seems to be screwed up.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list