ALSA: maestro3: using vmalloc_array() to handle the code

Change array_size() to vmalloc_array(), due to vmalloc_array()
being optimized better, using fewer instructions, and handles
overflow more concisely.

Signed-off-by: tanze <tanze@kylinos.cn>
Link: https://patch.msgid.link/20251024105549.210654-1-tanze@kylinos.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
tanze 2025-10-24 18:55:49 +08:00 • committed by Takashi Iwai
commit a0deef0ed5