diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-03-06 09:12:31 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-03-06 10:14:43 +0100 |
commit | d0ee674bb5d3787ca0122c5ae8e52680de0e7c52 (patch) | |
tree | 521394cfebc8addbd85e09005534ef62477fc137 /sound/firewire/fireworks/fireworks.c | |
parent | 2edb84e3047b93da2f2b234219cdc304df042d9e (diff) |
ALSA: usb-audio: Fix missing braces in some struct inits
The struct s1810c_state_packet contains the array in the first field
hence zero-initialization requires a more couple of braces. Fix the
compile warning pointing it out:
sound/usb/mixer_s1810c.c: In function 'snd_sc1810c_get_status_field':
sound/usb/mixer_s1810c.c:178:9: warning: missing braces around initializer [-Wmissing-braces]
Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 8dc5efe3d17c ("ALSA: usb-audio: Add support for Presonus Studio 1810c")
Link: https://lore.kernel.org/r/202002210251.WgMfvKJP%lkp@intel.com
Link: https://lore.kernel.org/r/20200306081231.7940-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/fireworks/fireworks.c')
0 files changed, 0 insertions, 0 deletions