diff options
author | Gustavo A. R. Silva <[email protected]> | 2018-03-30 13:34:01 -0500 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2018-04-10 17:32:44 +0300 |
commit | 9c27489a34548913baaaf3b2776e05d4a9389e3e (patch) | |
tree | 916259532305a72cbef63d5df4e4a3e6daae72e6 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 6ce36faeac353813b0bfd3b9bc867f3e0d6a35b2 (diff) |
ath9k: dfs: remove accidental use of stack VLA
In preparation to enabling -Wvla, remove accidental use of stack VLA.
This avoids an accidental stack VLA (since the compiler thinks
the value of FFT_NUM_SAMPLES can change, even when marked
"const"). This just replaces it with a #define.
Also, fixed as part of the directive to remove all VLAs from
the kernel: https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions