From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796384730; b=dCS7EeIeldnPWrgeNbuef9Kx+7Hlo/d/KJdnb4mQn1GVN0QGZP+ckZe6yopfdDhejWDX 5chrcrT6rEdgTdsUCz2aY3B07RJuyzcewK8yAh9lso6Q34ygiCrVJ+GVXSulRSogKhn61 WvvVgvrZ+9JmgDRA1VqdsSrLzM/ugw2sX/xSqBnXPurN8kWAH60me0/LzjJDFzEu1KW/h ZeKhVNJ8L9FTy5mSXQGiH5GSDq/8578OwVoj8bBAaTGtBAZFZUvZsvHyX8pH+EDYvpjd5 dU74y4diw46GpMmi+wfAZqluOyOiNXdoOG+FKvoItQlSRlc8QDIRji6y9NwUYaHqBYg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796384730; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:User-Agent:X-stable:X-Patchwork-Hint: MIME-Version:Content-Transfer-Encoding; bh=BFv3TaqXGZ9znxkv4ODs2cIoMuczVpUblpbe4M7rRjQ=; b=MxsbzdJ4yTL18nX2UFG7i3SU+DmczQOHWoaHzEu7BAjPn1x3mKgFS4+kau82uKl8e483 jtJ8nHJBhH9027MSvCO6Ms4B8GrGtfDu8Ahoy4rhqRD5DIy0qdtpszf4jjG1/uPHtvZeJ O7HhNtbuhPXIOD/q/basvVOadM8jKy1qewPUaPGm/DzDtCK8OZW1XsExBOAf0/RToWc6J 7jStpkPijAjnnnxM3pcpv/xxpNLqFurmf6D1wexs8CQJHduo8Nsp4bd1NSfAyyQ06nbDV FgkTeVZe9XwfRV+r+o3N95ZqgxcWdSjXQw9KWmdiGKFIqEZAffc4nWgYekciBKDJjNw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=WDq3suyX; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A685606A32C; Fri, 4 Dec 2026 11:45:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=WDq3suyX Received: by smtp.kernel.org (Postfix) with ESMTPSA id D848D1F00897; Fri, 4 Dec 2026 11:45:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796384730; bh=BFv3TaqXGZ9znxkv4ODs2cIoMuczVpUblpbe4M7rRjQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=WDq3suyXSHWHSgmZshpnTuMBIUlKyXPr6hngM4zJ0sLJ8IMHvsNbrANyBhKhOvdBv BBscNcsOO1nFr3pZAGk5+T5KOmy6y4lQ2lJn9fUU/Lt3CHCtB8iapPiG78qxvnNnfo Xxfi/Ub+PBVrGfguqxi6w1W/yyRvIuGLoX0xrql8= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jude Gyimah , Takashi Iwai , Sasha Levin Subject: [PATCH 6.6 0268/1167] ALSA: aw2-alsa: select SND_PCM Date: Fri, 4 Dec 2026 18:54:55 +0900 Message-ID: <20261204100709.041675037@linuxfoundation.org> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20261204100702.047403948@linuxfoundation.org> References: <20261204100702.047403948@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore X-Mailing-List: patches@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jude Gyimah [ Upstream commit bca568589ad118a9b0bac086760baee2a41976a5 ] Several stanzas in sound/pci/Kconfig select SND_PCM. SND_AW2 selects nothing at all. aw2-alsa calls snd_pcm_new, which sound/core/pcm.c provides under SND_PCM. aw2-alsa.c:(.text+0x554): undefined reference to `snd_pcm_new' 4 symbols are undefined in all. The driver can be built into vmlinux while SND_PCM is a module, in which case the symbols are not there at link time. Select rather than depend on: SND_PCM has no prompt of its own and is only ever enabled by a select, so a depends on would leave SND_AW2 unselectable. Reproduced on v7.3, arm64, with CONFIG_SND_AW2=y and CONFIG_SND_PCM=m. Found with kreach, a static check that compares what Kconfig allows against the symbols the compiled objects actually reference. Fixes: 98f2a97f207a ("[ALSA] Emagic Audiowerk 2 ALSA driver.") Signed-off-by: Jude Gyimah Link: https://patch.msgid.link/20261113064614.15045-1-jude.gyimah87@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/pci/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig index 787868c9e91b0..cb8af8b54b280 100644 --- a/sound/pci/Kconfig +++ b/sound/pci/Kconfig @@ -141,6 +141,7 @@ config SND_AU8830 config SND_AW2 tristate "Emagic Audiowerk 2" + select SND_PCM help Say Y here to include support for Emagic Audiowerk 2 soundcards. -- 2.53.0