Skip to content
Commit 65be9580 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: control: Use struct_size()



For code simplification and safety, use struct_size() macro for
calculating the snd_kcontrol object size with the variable array.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c86ccfba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment