]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/ca0132: Use struct_size()
authorTakashi Iwai <tiwai@suse.de>
Fri, 31 May 2019 09:47:24 +0000 (11:47 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 May 2019 09:47:24 +0000 (11:47 +0200)
commitc87c8ab92d3e46f0813c40e3476dceee83388001
tree17eb0a12537a47384f5be4909a8b17e75bb9a18a
parent83a8c703684c42c4f6decf561260eaf1b46590fd
ALSA: hda/ca0132: Use struct_size()

For code simplification and safety, use struct_size() macro for
calculating the dsp_image_seg object size.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c