summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-06-27 11:27:19 -0700
committerArtem Bityutskiy <dedekind1@gmail.com>2011-06-29 08:42:38 +0300
commit6977ec0308678514ea4450e25e9d443a787da12e (patch)
tree9a9f136a8fd3b72cd6fe3b21d4ca4aebb0ee5704 /include/linux
parent59423eba6af3dbac53a1687e9f3cb31cfaad0680 (diff)
mtd-tests: io_paral: build error, "variable length strings"
Some compilers will complain about use of strlen() within a static array size declaration. For this type of string, "sizeof() - 1" is equivalent and prevents the build error. Error: io_paral.c:48:13: error: variably modified 'vol_nodes' at file scope Signed-off-by: Brian Norris <computersforpeace@gmail.com> Acked-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <dedekind1@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions