mlxbf-bootctl: add NET dependency into Kconfig
Subsystems (2)
PATCH 1/1 mlxbf-bootctl: add NET dependency into Kconfig
The latest version of the mlxbf_bootctl driver utilizes "sysfs_format_mac", and this API is only available if NET is defined in the kernel configuration. This patch changes the mlxbf_bootctl Kconfig to depend on NET.
--- drivers/platform/mellanox/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/platform/mellanox/Kconfig +1 -0
@@ -60,6 +60,7 @@ config MLXBF_BOOTCTL tristate "Mellanox BlueField Firmware Boot Control driver" depends on ARM64 depends on ACPI + depends on NET help The Mellanox BlueField firmware implements functionality to request swapping the primary and alternate eMMC boot partition,
Signature · 1 line
2.30.1
Hi,
Quoted 6 lines · David Thompson
The latest version of the
mlxbf_bootctldriver utilizes "sysfs_format_mac", and this API is only available if NET is defined in the kernel configuration. This patch changes themlxbf_bootctlKconfigto depend on NET.Reported-by kernel test robot <[email protected]>
Also
Quoted 11 lines
Signed-off-by David Thompson <[email protected]>--- drivers/platform/mellanox/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/platform/mellanox/Kconfig +0
-0
drivers/platform/mellanox/Kconfig config MLXBF_BOOTCTL · line 66
Quoted 7 lines
drivers/platform/mellanox/Kconfig +1
-0@@ -60,6 +60,7 @@ config MLXBF_BOOTCTL tristate "Mellanox BlueField Firmware Boot Control driver" depends on ARM64 depends on ACPI + depends on NET help The Mellanox BlueField firmware implements functionality to request swapping the primary and alternate eMMC boot partition,
I'm sure that this will fix the build problem, but I don't see this being a network driver. To me it looks like some management s/w that can run independently of networking software.
It just wants to show/store a MAC address -- no networking. FWIW.
Signature · 1 line
~Randy
Hi,
Quoted 8 lines · David Thompson
The latest version of the
mlxbf_bootctldriver utilizes "sysfs_format_mac", and this API is only available if NET is defined in the kernel configuration. This patch changes themlxbf_bootctlKconfigto depend on NET.Reported-by kernel test robot <[email protected]>Signed-off-by David Thompson <[email protected]>
Thank you for your patch, I've applied this patch to my fixes branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=fixes
Note it will show up in my fixes branch once I've pushed my local branch there, which might take a while.
I will include this patch in my next fixes pull-req to Linus for the current kernel development cycle.
Regards,
Hans
Quoted 16 lines
--- drivers/platform/mellanox/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/platform/mellanox/Kconfig +1
-0@@ -60,6 +60,7 @@ config MLXBF_BOOTCTL tristate "Mellanox BlueField Firmware Boot Control driver" depends on ARM64 depends on ACPI + depends on NET help The Mellanox BlueField firmware implements functionality to request swapping the primary and alternate eMMC boot partition,