diff options
author | Kai Vehmanen <kai.vehmanen@linux.intel.com> | 2022-10-18 15:13:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-10-18 23:17:21 +0300 |
commit | af6514f2f3828dc39c96cd4686ef5c9d8368626f (patch) | |
tree | e44593d492e3f66bce9ac8133054a7f6d5db7dfa /sound/soc/codecs/inno_rk3036.c | |
parent | b4dd2e3758709aa8a2abd1ac34c56bd09b980039 (diff) | |
download | linux-af6514f2f3828dc39c96cd4686ef5c9d8368626f.tar.xz |
ASoC: SOF: ipc4-mtrace: protect per-core nodes against multiple open
Add protection against multiple open of the mtrace/coreN debugfs
nodes. This is not supported in the implementation, and this will
show up as unexpected behaviour of the interface, and potential
use of already freed memory.
Fixes: f4ea22f7aa75 ("ASoC: SOF: ipc4: Add support for mtrace log extraction")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20221018121332.20802-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/inno_rk3036.c')
0 files changed, 0 insertions, 0 deletions