]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: scarlett2: Add missing sentinel initializer field
authorPanagiotis Petrakopoulos <npetrakopoulos2003@gmail.com>
Sun, 5 Apr 2026 22:25:48 +0000 (01:25 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Apr 2026 08:44:15 +0000 (10:44 +0200)
commit2428cd6e8b6fa80c36db4652702ca0acd2ce3f08
tree088a350e833a0aa552c70f315182a762dea346dd
parent7b5b7d04498d84bc7abc05b4e09a0d17c820d3b0
ALSA: scarlett2: Add missing sentinel initializer field

A "-Wmissing-field-initializers" warning was emitted when compiling the
module using the W=2 option. There is a sentinel initializer field
missing in the end of scarlett2_devices[]. Tested using a
Scarlett Solo 4th gen.

Fixes: d98cc489029d ("ALSA: scarlett2: Move USB IDs out from device_info struct")
Signed-off-by: Panagiotis Petrakopoulos <npetrakopoulos2003@gmail.com>
Link: https://patch.msgid.link/20260405222548.8903-1-npetrakopoulos2003@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett2.c