]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: sh: Fix wrong argument order for copy_from_iter()
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Dec 2024 11:44:16 +0000 (12:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Jan 2025 09:34:26 +0000 (10:34 +0100)
commitf3e6eaf033f44ad10a141f44f5cea766ad54c3dc
tree15bb91b16e7f2d766b2e4850eee3b441b277b44d
parentf59b81fe8df97f6de66a084c8e795f21fa69b8f8
ALSA: sh: Fix wrong argument order for copy_from_iter()

commit 66a0a2b0473c39ae85c44628d14e4366fdc0aa0d upstream.

Fix a brown paper bag bug I introduced at converting to the standard
iter helper; the arguments were wrongly passed and have to be
swapped.

Fixes: 9b5f8ee43e48 ("ALSA: sh: Use standard helper for buffer accesses")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202412140019.jat5Dofr-lkp@intel.com/
Link: https://patch.msgid.link/20241220114417.5898-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/sh/sh_dac_audio.c