diff options
author | David Ahern <[email protected]> | 2013-08-13 22:32:12 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-08-14 11:42:45 -0300 |
commit | 309b5185047c5309bbc576025f6c5e257edd9f69 (patch) | |
tree | 00053a307cfddc1786fa7d75faf3e8af4a71b078 /net/lapb/lapb_iface.c | |
parent | 326f59bf645ea6c99709c67d9712df46019fa7a8 (diff) |
perf tests: Fix compile failure on do_sort_something
Commit b55ae0a9 added code-reading.c which fails to compile on Fedora 16
with compiler version:
$ gcc --version
gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)
Failure message is:
tests/code-reading.c: In function ‘do_sort_something’:
tests/code-reading.c:305:13: error: stack protector not protecting local variables: variable length buffer [-Werror=stack-protector]
cc1: all warnings being treated as errors
make: *** [/tmp/junk/tests/code-reading.o] Error 1
make: *** Waiting for unfinished jobs....
v2: as Adrian noticed changed sizeof to ARRAY_SIZE
Signed-off-by: David Ahern <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions