public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: microchip: Make FDMA config symbol invisible
@ 2024-09-24  9:59 Geert Uytterhoeven
  2024-09-24 10:44 ` Daniel Machon
  2024-10-01  9:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2024-09-24  9:59 UTC (permalink / raw)
  To: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Daniel Machon, Horatiu Vultur, Jens Emil Schulz Østergaard,
	Steen Hegelund
  Cc: netdev, linux-kernel, Geert Uytterhoeven

There is no need to ask the user about enabling Microchip FDMA
functionality, as all drivers that use it select the FDMA symbol.
Hence make the symbol invisible, unless when compile-testing.

Fixes: 30e48a75df9c6ead ("net: microchip: add FDMA library")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/net/ethernet/microchip/fdma/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/microchip/fdma/Kconfig b/drivers/net/ethernet/microchip/fdma/Kconfig
index 59159ad6701ad50b..ec228c0613517ec3 100644
--- a/drivers/net/ethernet/microchip/fdma/Kconfig
+++ b/drivers/net/ethernet/microchip/fdma/Kconfig
@@ -6,7 +6,7 @@
 if NET_VENDOR_MICROCHIP
 
 config FDMA
-	bool "FDMA API"
+	bool "FDMA API" if COMPILE_TEST
 	help
 	  Provides the basic FDMA functionality for multiple Microchip
 	  switchcores.
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: microchip: Make FDMA config symbol invisible
  2024-09-24  9:59 [PATCH] net: microchip: Make FDMA config symbol invisible Geert Uytterhoeven
@ 2024-09-24 10:44 ` Daniel Machon
  2024-10-01  9:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Machon @ 2024-09-24 10:44 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Horatiu Vultur, Jens Emil Schulz Østergaard, Steen Hegelund,
	netdev, linux-kernel

> There is no need to ask the user about enabling Microchip FDMA
> functionality, as all drivers that use it select the FDMA symbol.
> Hence make the symbol invisible, unless when compile-testing.
> 
> Fixes: 30e48a75df9c6ead ("net: microchip: add FDMA library")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Reviewed-by: Daniel Machon <daniel.machon@microchip.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] net: microchip: Make FDMA config symbol invisible
  2024-09-24  9:59 [PATCH] net: microchip: Make FDMA config symbol invisible Geert Uytterhoeven
  2024-09-24 10:44 ` Daniel Machon
@ 2024-10-01  9:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-10-01  9:40 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: davem, edumazet, kuba, pabeni, daniel.machon, horatiu.vultur,
	jensemil.schulzostergaard, Steen.Hegelund, netdev, linux-kernel

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 24 Sep 2024 11:59:09 +0200 you wrote:
> There is no need to ask the user about enabling Microchip FDMA
> functionality, as all drivers that use it select the FDMA symbol.
> Hence make the symbol invisible, unless when compile-testing.
> 
> Fixes: 30e48a75df9c6ead ("net: microchip: add FDMA library")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> [...]

Here is the summary with links:
  - net: microchip: Make FDMA config symbol invisible
    https://git.kernel.org/netdev/net/c/1910bd470a0a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-01  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-24  9:59 [PATCH] net: microchip: Make FDMA config symbol invisible Geert Uytterhoeven
2024-09-24 10:44 ` Daniel Machon
2024-10-01  9:40 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox