[PATCH net] net: pse-pd: Kconfig: Fix missing firmware loader config select

Kory Maincent posted 1 patch 1 year, 5 months ago
drivers/net/pse-pd/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH net] net: pse-pd: Kconfig: Fix missing firmware loader config select
Posted by Kory Maincent 1 year, 5 months ago
Selecting FW_UPLOAD is not sufficient as it allows the firmware loader
API to be built as a module alongside the pd692x0 driver built as builtin.
Add select FW_LOADER to fix this issue.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406200632.hSChnX0g-lkp@intel.com/
Fixes: 9a9938451890 ("net: pse-pd: Add PD692x0 PSE controller driver")
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
 drivers/net/pse-pd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/pse-pd/Kconfig b/drivers/net/pse-pd/Kconfig
index 577ea904b3d9..7fab916a7f46 100644
--- a/drivers/net/pse-pd/Kconfig
+++ b/drivers/net/pse-pd/Kconfig
@@ -23,6 +23,7 @@ config PSE_REGULATOR
 config PSE_PD692X0
 	tristate "PD692X0 PSE controller"
 	depends on I2C
+	select FW_LOADER
 	select FW_UPLOAD
 	help
 	  This module provides support for PD692x0 regulator based Ethernet
-- 
2.34.1
Re: [PATCH net] net: pse-pd: Kconfig: Fix missing firmware loader config select
Posted by Andrew Lunn 1 year, 5 months ago
On Thu, Jun 20, 2024 at 11:57:50AM +0200, Kory Maincent wrote:
> Selecting FW_UPLOAD is not sufficient as it allows the firmware loader
> API to be built as a module alongside the pd692x0 driver built as builtin.
> Add select FW_LOADER to fix this issue.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202406200632.hSChnX0g-lkp@intel.com/
> Fixes: 9a9938451890 ("net: pse-pd: Add PD692x0 PSE controller driver")
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew