diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-03-30 13:34:01 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-04-10 17:32:44 +0300 |
commit | 9c27489a34548913baaaf3b2776e05d4a9389e3e (patch) | |
tree | 916259532305a72cbef63d5df4e4a3e6daae72e6 /Documentation/power/runtime_pm.txt | |
parent | 6ce36faeac353813b0bfd3b9bc867f3e0d6a35b2 (diff) | |
download | blackbird-op-linux-9c27489a34548913baaaf3b2776e05d4a9389e3e.tar.gz blackbird-op-linux-9c27489a34548913baaaf3b2776e05d4a9389e3e.zip |
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 'Documentation/power/runtime_pm.txt')
0 files changed, 0 insertions, 0 deletions