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

2017-04-04 Thread nicolas.le.bayon
From: Nicolas Le Bayon 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. Signed-off-by: Nicolas Le Bayon Revie

[U-Boot] [PATCH v7] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-25 Thread nicolas.le.bayon
From: Nicolas Le Bayon 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. Signed-off-by: Nicolas Le Bayon Revie