From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B38632046BA; Wed, 20 May 2026 17:31:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779298292; cv=none; b=ox2caLsWNZBYJVuUhFFHb0s/DxFAJ1g7y6o4q5c5km1FDlTHzdG0NTkiINzIXjn0MDgGbeK1GrX9Spb/qDK8jkFEQb+JeRiVTtKFPN5IuwNYtNLhK0QLILpABOlUpxMkz7x5FLPw+NrEV9tWCpL0WEeIqh7aEVBGjqI5YiVbMxc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779298292; c=relaxed/simple; bh=SGDsd97z2bLGE1E/zV0arJhHaYhJ71G4wcGK3wufcF8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ac/mZDIN1O+17lzWjAkX+RN0CEdYNm9mgy0L0AvaeW4J2DPnZLJKkRARM5NfNmKaqooDUgtLPivFuVzSRRvSa6xF2k5MNXYUBS1MA73zDxmIsRkkS5xASlRnRywJ15YSJM1CnUKD78jgOFF7B0rLpLP+wo0/Z+8nx/tFjEIkHbs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=I0Q8ICpI; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="I0Q8ICpI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 253A41F000E9; Wed, 20 May 2026 17:31:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779298291; bh=tg5M/ww5Cp0hqv6SiTQwiu5Jkb8YgfHvFqaZMm5hnHw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=I0Q8ICpIPL982okXHs5szgj2EJqR1owizpNhkH+z4D3jHGipiWqSRxJeVvz2ft199 8tgbKc966ONQQh3XqPPYwnbe3/Vyp+zawPt9o2J6nDvZdZB0giCs4ztc7+9FV2U2YY ycUHzjmeLDsosbKHUrG5Y6BLHzoFoaiCuATBxIbA= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Panagiotis Petrakopoulos , Takashi Iwai , Sasha Levin Subject: [PATCH 6.18 314/957] ALSA: scarlett2: Add missing sentinel initializer field Date: Wed, 20 May 2026 18:13:17 +0200 Message-ID: <20260520162141.342037116@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260520162134.554764788@linuxfoundation.org> References: <20260520162134.554764788@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Panagiotis Petrakopoulos [ Upstream commit 2428cd6e8b6fa80c36db4652702ca0acd2ce3f08 ] 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 Link: https://patch.msgid.link/20260405222548.8903-1-npetrakopoulos2003@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/mixer_scarlett2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/usb/mixer_scarlett2.c b/sound/usb/mixer_scarlett2.c index 48d77030a63d8..a75a4610663e9 100644 --- a/sound/usb/mixer_scarlett2.c +++ b/sound/usb/mixer_scarlett2.c @@ -2262,7 +2262,7 @@ static const struct scarlett2_device_entry scarlett2_devices[] = { { USB_ID(0x1235, 0x820c), &clarett_8pre_info, "Clarett+" }, /* End of list */ - { 0, NULL }, + { 0, NULL, NULL }, }; /* get the starting port index number for a given port type/direction */ -- 2.53.0