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

ALSA: hda: Use struct_size()



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

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 65be9580
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment