Re: [PATCH bpf-next 1/4] bpf: Add SHA hash kfuncs for cryptographic hashing

kernel test robot
2025-11-18T10:12:13Z

Hi Daniel,

kernel test robot noticed the following build errors:

[auto build test ERROR on bpf-next/master]

url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Hodges/bpf-Add-SHA-hash-kfuncs-for-cryptographic-hashing/20251118-051958
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
patch link: https://lore.kernel.org/r/20251117211413.1394-2-git%40danielhodges.dev
patch subject: [PATCH bpf-next 1/4] bpf: Add SHA hash kfuncs for cryptographic hashing
config: m68k-hp300_defconfig (https://download.01.org/0day-ci/archive/20251118/202511181714.PFZYXnZk-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251118/202511181714.PFZYXnZk-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511181714.PFZYXnZk-lkp@intel.com/

All errors (new ones prefixed by >>):

m68k-linux-ld: kernel/bpf/crypto.o: in function `bpf_sha384_hash':
>> crypto.c:(.text+0x5d6): undefined reference to `sha384'
m68k-linux-ld: kernel/bpf/crypto.o: in function `bpf_sha512_hash':
>> crypto.c:(.text+0x65e): undefined reference to `sha512'

--
0-DAY CI Kernel Test Service