From: sashiko-bot@kernel.org
To: "Rosen Penev" <rosenp@gmail.com>
Cc: vkoul@kernel.org, dmaengine@vger.kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCHv2] dmaengine: bestcomm: Enable compile testing
Date: Fri, 18 Sep 2026 18:10:25 +0000 [thread overview]
Message-ID: <20260918181025.DCFD81F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260918175950.21657-1-rosenp@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] kconfig: missing PPC_MPC52xx dependency for SND_SOC_MPC5200_AC97
--
commit 95cb68468081de8e2880323cb63c64d9da8626b0
Author: Rosen Penev <rosenp@gmail.com>
dmaengine: bestcomm: Enable compile testing
This commit relaxing the dependency for the BestComm DMA engine allows it to
be selected on PowerPC for compile-test builds. It adds an alternative
dependency on (PPC && COMPILE_TEST).
> diff --git a/drivers/dma/bestcomm/Kconfig b/drivers/dma/bestcomm/Kconfig
> index 5dd437295964d..e23ba4982d7ed 100644
> --- a/drivers/dma/bestcomm/Kconfig
> +++ b/drivers/dma/bestcomm/Kconfig
> @@ -5,7 +5,7 @@
>
> config PPC_BESTCOMM
> tristate "Bestcomm DMA engine support"
> - depends on PPC_MPC52xx
> + depends on PPC_MPC52xx || (PPC && COMPILE_TEST)
[Severity: Low]
Does relaxing this dependency cause an unresolved symbol during link time for
SND_SOC_MPC5200_AC97?
When COMPILE_TEST is enabled on PowerPC, PPC_BESTCOMM can be selected without
PPC_MPC52xx. However, SND_SOC_MPC5200_AC97 in sound/soc/fsl/Kconfig depends
on PPC_BESTCOMM but lacks an explicit dependency on PPC_MPC52xx:
sound/soc/fsl/Kconfig:
config SND_SOC_MPC5200_AC97
tristate "Freescale MPC5200 PSC in AC97 mode driver"
depends on PPC_BESTCOMM
This inherits PPC_BESTCOMM's relaxation and allows the driver to be built
when the platform code is absent. In psc_ac97_cold_reset(), the driver
unconditionally calls a platform function:
sound/soc/fsl/mpc5200_psc_ac97.c:psc_ac97_cold_reset() {
...
mpc5200_psc_ac97_gpio_reset(psc_dma->id);
...
}
Since mpc5200_psc_ac97_gpio_reset() is only compiled when PPC_MPC52xx is
enabled, does this result in an undefined reference at link time?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260918175950.21657-1-rosenp@gmail.com?part=1
next prev parent reply other threads:[~2026-09-18 18:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-18 17:59 [PATCHv2] dmaengine: bestcomm: Enable compile testing Rosen Penev
2026-09-18 18:10 ` sashiko-bot [this message]
2026-09-18 18:19 ` Rosen Penev
2026-09-18 19:41 ` Frank Li
2026-10-05 15:43 ` Vinod Koul
-- strict thread matches above, loose matches on Subject: below --
2026-05-30 0:46 Rosen Penev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260918181025.DCFD81F000FF@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=rosenp@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox