diff options
| author | Takashi Iwai <[email protected]> | 2023-09-02 06:10:43 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-09-02 06:11:48 +0000 |
| commit | e14ebde5df2ade7164b3adc3b8644d531a78a785 (patch) | |
| tree | 7cc2f035d4748258f56952c98b79ba027a855c02 /tools/perf/scripts/python/libxed.py | |
| parent | ASoC: Name iov_iter argument as iterator instead of buffer (diff) | |
| download | kernel-e14ebde5df2ade7164b3adc3b8644d531a78a785.tar.gz kernel-e14ebde5df2ade7164b3adc3b8644d531a78a785.zip | |
ALSA: pcm: Fix error checks of default read/write copy ops
copy_from/to_iter() returns the actually copied bytes, and the more
correct check should be to compare with the given bytes, instead of
zero-check.
Fixes: cf393babb37a ("ALSA: pcm: Add copy ops with iov_iter")
Reported-by: Al Viro <[email protected]>
Closes: https://lore.kernel.org/r/20230902053044.GJ3390869@ZenIV
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
