diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2025-04-10 13:18:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-10 14:24:56 +0300 |
commit | b5d057a86e2086af0b1e6d0ca8b306be1c73a627 (patch) | |
tree | 52d2d2364372c3118ba14ed7d49b7a150e15008c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f4f20f7a5030f580e1706b7fd804f82ee7dac6ed (diff) | |
download | linux-b5d057a86e2086af0b1e6d0ca8b306be1c73a627.tar.xz |
ASoC: wm_adsp: Use vmemdup_user() instead of open-coding
Use vmemdup_user() to get a copy of the user buffer in wm_coeff_tlv_put().
Apart from simplifying the code and avoiding open-coding, it means we
also automatically benefit from any security enhancements in the code
behind vmemdup_user().
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20250410101812.1180539-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions