[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2025052309-goofy-legal-58b5@gregkh>
Date: Fri, 23 May 2025 14:33:27 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: Srinivas Kandagatla <srini@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Wesley Cheng <quic_wcheng@...cinc.com>,
Arnd Bergmann <arnd@...db.de>,
Dan Carpenter <dan.carpenter@...aro.org>,
Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>,
linux-sound@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ASoC: qdsp6: fix compile-testing without CONFIG_OF
On Fri, May 23, 2025 at 02:11:47PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.de>
>
> The driver builds cleanly only when CONFIG_OF is enabled, otherwise the
> compiler notices an unused symbol:
>
> sound/soc/qcom/qdsp6/q6usb.c:401:34: error: 'q6usb_dai_device_id' defined but not used [-Werror=unused-const-variable=]
>
> The driver does not support legacy board files, so the of_match_ptr()
> annotation has no use here and can be removed to avoid the warning.
>
> Fixes: e0dd9240f13a ("ASoC: qcom: qdsp6: Fetch USB offload mapped card and PCM device")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
> sound/soc/qcom/qdsp6/q6usb.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I'll take this in the USB tree as that's where the offending commit came
from.
Thanks!
greg k-h
Powered by blists - more mailing lists