mlxbf-bootctl.c:undefined reference to `sysfs_format_mac'

From: kernel test robot
Date: Sat Sep 09 2023 - 12:26:13 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6099776f9f268e61fe5ecd721f994a8cfce5306f
commit: 7e38a7422f128e7d7ba24b444e957d585dbb272f mlxbf-bootctl: Support sysfs entries for MFG fields
date: 2 weeks ago
config: arm64-randconfig-r032-20210928 (https://download.01.org/0day-ci/archive/20230909/202309092107.yUYdtSR9-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 12.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230909/202309092107.yUYdtSR9-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309092107.yUYdtSR9-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

aarch64-linux-ld: drivers/platform/mellanox/mlxbf-bootctl.o: in function `oob_mac_show':
>> mlxbf-bootctl.c:(.text+0x12c8): undefined reference to `sysfs_format_mac'
mlxbf-bootctl.c:(.text+0x12c8): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `sysfs_format_mac'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki