Skip to content

Commit c2dffda

Browse files
dthompsojwrdegoede
authored andcommitted
platform/mellanox: 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. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202309031058.JvwNDBKt-lkp@intel.com/ Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David Thompson <davthompson@nvidia.com> Link: https://lore.kernel.org/r/20230905133243.31550-1-davthompson@nvidia.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 parent 0f59694 commit c2dffda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/mellanox/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ config MLXBF_BOOTCTL
6060
tristate "Mellanox BlueField Firmware Boot Control driver"
6161
depends on ARM64
6262
depends on ACPI
63+
depends on NET
6364
help
6465
The Mellanox BlueField firmware implements functionality to
6566
request swapping the primary and alternate eMMC boot partition,

0 commit comments

Comments
 (0)