Hui Wang 9037c3bde6
ASoC: SOF: debug: Fix a potential issue on string buffer termination
The function simple_write_to_buffer() doesn't add string termination
at the end of buf, we need to handle it on our own. This change refers
to the function tokenize_input() in debug.c and the function
sof_dfsentry_trace_filter_write() in trace.c.

Fixes: 091c12e1f50c ("ASoC: SOF: debug: add new debugfs entries for IPC flood test")
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20210208103857.75705-1-hui.wang@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-02-08 11:39:06 +00:00
..
2020-12-23 15:11:08 -08:00
2020-11-21 09:30:35 +01:00
2020-07-09 13:01:29 +02:00
2020-01-28 16:26:57 -08:00
2020-12-17 13:34:25 -08:00
2020-01-05 16:15:13 +01:00
2020-01-05 16:14:46 +01:00
2021-01-03 08:58:39 +01:00