[BUILD BUG] regression from certs: Move load_certificate_list() to be with the asymmetric keys code

From: Steven Rostedt
Date: Tue Jul 12 2022 - 10:46:06 EST



I have a config that now fails to build due to commit 60050ffe3d770
("certs: Move load_certificate_list() to be with the asymmetric keys code")

CC .vmlinux.export.o
LD .tmp_vmlinux.kallsyms1
ld: certs/system_keyring.o: in function `load_system_certificate_list':
system_keyring.c:(.init.text+0x35): undefined reference to `x509_load_certificate_list'
make[1]: *** [/work/build/trace/nobackup/linux-test.git/Makefile:1164: vmlinux] Error 1
make[1]: Leaving directory '/work/build/trace/nobackup/mxtest'
make: *** [Makefile:219: __sub-make] Error 2


If I revert this commit, it builds fine.

Attached is the config.

Thanks,

-- Steve

Attachment: config
Description: Binary data