aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2025-04-10 11:18:12 +0100
committerMark Brown <broonie@kernel.org>2025-04-10 12:24:56 +0100
commitb5d057a86e2086af0b1e6d0ca8b306be1c73a627 (patch)
tree52d2d2364372c3118ba14ed7d49b7a150e15008c /tools/perf/scripts/python
parentASoC: wcd938x: enable t14s audio headset (diff)
downloadlinux-b5d057a86e2086af0b1e6d0ca8b306be1c73a627.tar.gz
linux-b5d057a86e2086af0b1e6d0ca8b306be1c73a627.zip
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')
0 files changed, 0 insertions, 0 deletions