Commit f4ace70f authored by Pedro Demarchi Gomes's avatar Pedro Demarchi Gomes Committed by Takashi Iwai
Browse files

ALSA: usb: fpc: replace kmalloc_array followed by copy_from_user with memdup_array_user



Replace kmalloc_array() followed by copy_from_user() with
memdup_array_user() to improve and simplify fcp_ioctl_set_meter_map().

No functional changes intended.

Signed-off-by: default avatarPedro Demarchi Gomes <pedrodemargomes@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7ddb711b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment