aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-11-05 07:58:35 +0000
committerBoris Brezillon <[email protected]>2018-11-06 09:38:17 +0000
commitba26cd7d58dcc50e25c8f02b5376c05046b181dc (patch)
tree4331ccc5c4a6ad053376871404fd7d7e527e4f56 /tools/perf/scripts/python
parentmtd: spi-nor: Reset nor->addr_width when SFDP parsing failed (diff)
downloadkernel-ba26cd7d58dcc50e25c8f02b5376c05046b181dc.tar.gz
kernel-ba26cd7d58dcc50e25c8f02b5376c05046b181dc.zip
mtd: sa1100: avoid VLA in sa1100_setup_mtd
Enabling -Wvla found another variable-length array with randconfig testing: drivers/mtd/maps/sa1100-flash.c: In function 'sa1100_setup_mtd': drivers/mtd/maps/sa1100-flash.c:224:10: error: ISO C90 forbids variable length array 'cdev' [-Werror=vla] Dynamically allocate the cdev array passed to mtd_concat_create() instead of using a VLA. Reported-by: Arnd Bergmann <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Cc: Kees Cook <[email protected]> Cc: Olof Johansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions