]> git.baikalelectronics.ru Git - kernel.git/commit
platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig
authorDavid Thompson <davthompson@nvidia.com>
Tue, 5 Sep 2023 13:32:43 +0000 (09:32 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Oct 2023 12:56:53 +0000 (14:56 +0200)
commitd1f916c6eb0c98dbab5a1392163a29cae482add8
tree130da4e4a7d813b340c0d61589a9486fd7fd51d5
parentdfbcef80dda96f6433eb6db6d146e68c46cf314c
platform/mellanox: mlxbf-bootctl: add NET dependency into Kconfig

[ Upstream commit c2dffda1d8f7511505bbbf16ba282f2079b30089 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/mellanox/Kconfig