diff options
| author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-03-30 21:34:01 +0300 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-10 17:32:44 +0300 |
| commit | 9c27489a34548913baaaf3b2776e05d4a9389e3e (patch) | |
| tree | 916259532305a72cbef63d5df4e4a3e6daae72e6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6ce36faeac353813b0bfd3b9bc867f3e0d6a35b2 (diff) | |
| download | linux-9c27489a34548913baaaf3b2776e05d4a9389e3e.tar.xz | |
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 <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
