u-boot/drivers/usb/gadget
nicolas.le.bayon@st.com b1f2a17c78 usb: gadget: avoid variable name clipping in cb_getvar
Hi,

A kind reminder to look at this patch (already reviewed by Marek and acked by Lukasz), and if possible to put it in the next pull list, or the one after is timing is too short.

Thanks in advance for your time

Best Regards
Nicolas

-----Original Message-----
From: Nicolas LE BAYON
Sent: mardi 25 avril 2017 10:18
To: Nicolas LE BAYON <nicolas.le.bayon@st.com>; u-boot@lists.denx.de; lukma@denx.de; marex@denx.de
Cc: nlebayon@gmail.com; Patrice CHOTARD <patrice.chotard@st.com>; Jean-philippe ROMAIN <jean-philippe.romain@st.com>
Subject: [U-Boot][PATCH v7] usb: gadget: avoid variable name clipping in cb_getvar

From: Nicolas Le Bayon <nicolas.le.bayon@st.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.

Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Lukasz Majewski <lukma@denx.de>
2017-05-11 22:03:36 -04:00
..
udc
Kconfig drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model 2017-01-09 11:14:54 -07:00
Makefile spl: add USB Gadget config option 2016-11-28 19:49:49 -05:00
at91_udc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
at91_udc.h
atmel_usba_udc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
atmel_usba_udc.h
bcm_udc_otg.h
bcm_udc_otg_phy.c usb: bcm_udc_otg: enable clocks 2016-04-10 17:18:43 +02:00
ci_udc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ci_udc.h
composite.c usb: gadget: composite: Correct recovery path for register 2016-03-01 14:47:26 +01:00
config.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
core.c
designware_udc.c
dwc2_udc_otg.c usb: dwc2-otg: remove unused variable 2017-01-17 10:26:21 +01:00
dwc2_udc_otg_phy.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
dwc2_udc_otg_priv.h treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
dwc2_udc_otg_regs.h usb: dwc2-otg: adjust fifo size via platform data 2016-07-25 20:44:19 -06:00
dwc2_udc_otg_xfer_dma.c usb: dwc2 : invalidate dcache before starting DMA 2016-07-25 20:44:19 -06:00
ep0.c
ep0.h
epautoconf.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ether.c drivers: usb: gadget: ether: Fix compiler warning 2017-01-17 10:26:46 +01:00
f_dfu.c usb: gadget: f_dfu: set serial number if serial# is valid 2017-02-26 13:24:30 +01:00
f_dfu.h usb: gadget: dfu: add result for handle_getstatus() 2017-02-26 13:24:30 +01:00
f_fastboot.c usb: gadget: avoid variable name clipping in cb_getvar 2017-05-11 22:03:36 -04:00
f_mass_storage.c
f_thor.c
f_thor.h
fotg210.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
g_dnl.c usb: gadget: g_dnl: don't set iProduct nor iSerialNumber 2017-04-14 16:44:16 +02:00
gadget_chips.h Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc8xx_udc.c Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
ndis.h
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
rndis.c drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model 2017-01-09 11:14:54 -07:00
rndis.h drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model 2017-01-09 11:14:54 -07:00
storage_common.c
usbstring.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00