u-boot-2016/drivers
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
..
adc
bios_emulator
block drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device 2017-05-09 12:14:16 -06:00
bootcount
clk Merge git://git.denx.de/u-boot-rockchip 2017-05-10 17:40:11 -04:00
core
cpu cpu: add CPU driver for Broadcom MIPS SoCs 2017-05-10 16:16:09 +02:00
crypto
ddr
demo
dfu
dma
firmware
fpga
gpio dm: gpio: add BCM6345 gpio driver 2017-05-10 16:16:09 +02:00
hwmon
i2c ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3 2017-05-09 20:35:36 -04:00
input
led dm: led: add BCM6358 led driver 2017-05-10 16:16:09 +02:00
mailbox
memory
misc i2c_eeprom: add read and write functions 2017-05-10 13:37:22 -06:00
mmc rockchip: mmc: handle deprecation of 'clock-freq-min-max' 2017-05-10 13:37:21 -06:00
mtd fix: nand: pxa3xx: Remove hardcode values from the driver 2017-05-09 13:38:18 +02:00
net Merge git://git.denx.de/u-boot-dm 2017-05-09 16:11:36 -04:00
pch
pci
pcmcia
phy Merge git://git.denx.de/u-boot-dm 2017-05-09 16:11:36 -04:00
pinctrl rockchip: pinctrl: rk3399: add support for the HDMI I2C pins 2017-05-10 13:37:21 -06:00
power Merge git://git.denx.de/u-boot-rockchip 2017-05-10 17:40:11 -04:00
pwm dm: sandbox: pwm: add test for pwm_set_invert() 2017-05-10 13:37:21 -06:00
qe
ram ram: add RAM driver for Broadcom MIPS SoCs 2017-05-10 16:16:09 +02:00
remoteproc
reset dm: reset: add BCM6345 reset driver 2017-05-10 16:16:09 +02:00
rtc
serial serial: add serial driver for BCM6345 2017-05-10 16:16:09 +02:00
soc
sound
spi rockchip: spi: enable support for the rk_spi driver for the RK3399 2017-05-10 13:37:21 -06:00
spmi
sysreset sysreset: add syscon-reboot driver 2017-05-10 16:16:09 +02:00
thermal
timer
tpm
twserial
usb usb: gadget: avoid variable name clipping in cb_getvar 2017-05-11 22:03:36 -04:00
video rockchip: video: vop: Reserve enough space for mipi dispaly 2017-05-10 13:37:22 -06:00
watchdog bcm2835_wdt: support for the BCM2835/2836 watchdog 2017-05-09 20:30:08 -04:00
Kconfig drivers: phy: add generic PHY framework 2017-05-09 12:14:16 -06:00
Makefile drivers: phy: add generic PHY framework 2017-05-09 12:14:16 -06:00