diff options
author | Takashi Iwai <[email protected]> | 2023-08-31 15:04:56 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-09-01 15:38:29 +0200 |
commit | 69d0fd348d31977368defc3c0737c0ecb824732b (patch) | |
tree | 51235cc07fc9f737cea6448ab57b36982e5ce883 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | da42bcb30e001d676a1c4cf7f26d15d775279f6c (diff) |
ASoC: dmaengine: Drop unused iov_iter for process callback
Passing the iov_iter to the process callback is rather buggy, as the
iterator has been already processed for playback. Similarly, it makes
the copy for capture buggy after the process callback reading the
iterator out. Moreover, all existing process callbacks don't refer to
the passed iterator at all. So, it's better to drop the argument from
the process callback.
Fixes: 9bebd65443c1 ("ASoC: dmaengine: Use iov_iter for process callback, too")
Suggested-by: Linus Torvalds <[email protected]>
Link: https://lore.kernel.org/r/CAHk-=wje+VkXjjfVTmK-uJdG_M5=ar14QxAwK+XDiq07k_pzBg@mail.gmail.com
Reviewed-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions