]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: Use memdup_user() rather than duplicating its implementation
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 21 Aug 2016 19:02:06 +0000 (21:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Aug 2016 12:04:18 +0000 (14:04 +0200)
commitbbdb8888ec71bc0469d0446ecdfa14b2e91b1301
tree133bcc943cd5ca94b7f5e4024e0e8f65c8eeba47
parente9dd1b271f891f00c432d836bf3fb5a8e758e2f4
ALSA: compress: Use memdup_user() rather than duplicating its implementation

Reuse existing functionality from memdup_user() instead of keeping
duplicate source code.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/compress_offload.c