* [PATCH] ASoC: samsung: change neo1973_audio from a global to static
@ 2022-06-29 20:18 Tom Rix
2022-06-30 7:00 ` Krzysztof Kozlowski
2022-06-30 15:10 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Tom Rix @ 2022-06-29 20:18 UTC (permalink / raw)
To: krzysztof.kozlowski, s.nawrocki, lgirdwood, broonie, perex, tiwai, arnd
Cc: alsa-devel, linux-kernel, Tom Rix
sparse reports
sound/soc/samsung/neo1973_wm8753.c:347:24: warning: symbol 'neo1973_audio' was not declared. Should it be static?
neo1973_audio is only used in neo1973_wm8753.c, so it's
storage class specifier should be static.
Fixes: e26a2abcc246 ("ASoC: samsung: neo1973: turn into platform driver")
Signed-off-by: Tom Rix <trix@redhat.com>
---
sound/soc/samsung/neo1973_wm8753.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/samsung/neo1973_wm8753.c b/sound/soc/samsung/neo1973_wm8753.c
index c98b68567a89..e9f2334028bf 100644
--- a/sound/soc/samsung/neo1973_wm8753.c
+++ b/sound/soc/samsung/neo1973_wm8753.c
@@ -344,7 +344,7 @@ static int neo1973_probe(struct platform_device *pdev)
return devm_snd_soc_register_card(dev, &neo1973);
}
-struct platform_driver neo1973_audio = {
+static struct platform_driver neo1973_audio = {
.driver = {
.name = "neo1973-audio",
.pm = &snd_soc_pm_ops,
--
2.27.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: samsung: change neo1973_audio from a global to static
2022-06-29 20:18 [PATCH] ASoC: samsung: change neo1973_audio from a global to static Tom Rix
@ 2022-06-30 7:00 ` Krzysztof Kozlowski
2022-06-30 15:10 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-06-30 7:00 UTC (permalink / raw)
To: Tom Rix, s.nawrocki, lgirdwood, broonie, perex, tiwai, arnd
Cc: alsa-devel, linux-kernel
On 29/06/2022 22:18, Tom Rix wrote:
> sparse reports
> sound/soc/samsung/neo1973_wm8753.c:347:24: warning: symbol 'neo1973_audio' was not declared. Should it be static?
>
> neo1973_audio is only used in neo1973_wm8753.c, so it's
> storage class specifier should be static.
>
> Fixes: e26a2abcc246 ("ASoC: samsung: neo1973: turn into platform driver")
> Signed-off-by: Tom Rix <trix@redhat.com>
> ---
Compile testing works!
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: samsung: change neo1973_audio from a global to static
2022-06-29 20:18 [PATCH] ASoC: samsung: change neo1973_audio from a global to static Tom Rix
2022-06-30 7:00 ` Krzysztof Kozlowski
@ 2022-06-30 15:10 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2022-06-30 15:10 UTC (permalink / raw)
To: Arnd Bergmann, trix, perex, krzysztof.kozlowski, lgirdwood,
s.nawrocki, tiwai
Cc: alsa-devel, linux-kernel
On Wed, 29 Jun 2022 16:18:11 -0400, Tom Rix wrote:
> sparse reports
> sound/soc/samsung/neo1973_wm8753.c:347:24: warning: symbol 'neo1973_audio' was not declared. Should it be static?
>
> neo1973_audio is only used in neo1973_wm8753.c, so it's
> storage class specifier should be static.
>
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: samsung: change neo1973_audio from a global to static
commit: 871325d800ed532ba5874257f04bb4ae75125bc4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-30 15:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 20:18 [PATCH] ASoC: samsung: change neo1973_audio from a global to static Tom Rix
2022-06-30 7:00 ` Krzysztof Kozlowski
2022-06-30 15:10 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®