diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-10-28 18:03:48 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-11-16 13:09:29 +0300 |
commit | 8b27418f300cafbdbbb8cfa9c29d398ed34d6723 (patch) | |
tree | 1b376e3a759b9252da3aea9822ed1ff9af2fd9e8 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9c66eedc17bdf180d952e8d3550a23c2f93d9fff (diff) | |
download | linux-8b27418f300cafbdbbb8cfa9c29d398ed34d6723.tar.xz |
ASoC: rsnd: Add missing initialization of ADG req_rate
If the "clock-frequency" DT property is not found, req_rate is used
uninitialized, and the "audio_clkout" clock will be created with an
arbitrary clock rate.
This uninitialized kernel stack data may leak to userspace through
/sys/kernel/debug/clk/clk_summary, cfr. the value in the "rate" column:
clock enable_cnt prepare_cnt rate accuracy phase
--------------------------------------------------------------------
audio_clkout 0 0 4001836240 0 0
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions