linux-next-20210125: drivers/crypto/marvell/octeontx2/ build errors

From: Randy Dunlap
Date: Mon Jan 25 2021 - 12:57:13 EST


on x86_64:

ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_main.o: in function `cptpf_flr_wq_handler':
otx2_cptpf_main.c:(.text+0x2b): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_main.o: in function `otx2_cptpf_probe':
otx2_cptpf_main.c:(.text+0x4ec): undefined reference to `otx2_mbox_init'
ld: otx2_cptpf_main.c:(.text+0x68c): undefined reference to `otx2_mbox_destroy'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_main.o: in function `cptpf_sriov_disable':
otx2_cptpf_main.c:(.text+0x89b): undefined reference to `otx2_mbox_destroy'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_main.o: in function `otx2_cptpf_sriov_configure':
otx2_cptpf_main.c:(.text+0x976): undefined reference to `otx2_mbox_init'
ld: otx2_cptpf_main.c:(.text+0xcb8): undefined reference to `otx2_mbox_destroy'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_main.o: in function `otx2_cptpf_remove':
otx2_cptpf_main.c:(.text+0xe63): undefined reference to `otx2_mbox_destroy'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.o: in function `otx2_cptpf_vfpf_mbox_handler':
otx2_cptpf_mbox.c:(.text+0x1ad): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: otx2_cptpf_mbox.c:(.text+0x205): undefined reference to `otx2_mbox_msg_send'
ld: otx2_cptpf_mbox.c:(.text+0x211): undefined reference to `otx2_mbox_wait_for_rsp'
ld: otx2_cptpf_mbox.c:(.text+0x27b): undefined reference to `otx2_reply_invalid_msg'
ld: otx2_cptpf_mbox.c:(.text+0x288): undefined reference to `otx2_mbox_msg_send'
ld: otx2_cptpf_mbox.c:(.text+0x2cf): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: otx2_cptpf_mbox.c:(.text+0x307): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: otx2_cptpf_mbox.c:(.text+0x35d): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.o: in function `otx2_cptpf_afpf_mbox_handler':
otx2_cptpf_mbox.c:(.text+0x4db): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.o: in function `otx2_cptpf_vfpf_mbox_handler':
otx2_cptpf_mbox.c:(.text+0x3d9): undefined reference to `otx2_mbox_msg_send'
ld: drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.o: in function `otx2_cptpf_afpf_mbox_handler':
otx2_cptpf_mbox.c:(.text+0x61b): undefined reference to `otx2_mbox_reset'
ld: drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.o: in function `otx2_cpt_send_mbox_msg':
otx2_cpt_mbox_common.c:(.text+0xf): undefined reference to `otx2_mbox_msg_send'
ld: otx2_cpt_mbox_common.c:(.text+0x19): undefined reference to `otx2_mbox_wait_for_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.o: in function `otx2_cpt_send_ready_msg':
otx2_cpt_mbox_common.c:(.text+0x95): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.o: in function `otx2_cpt_add_read_af_reg':
otx2_cpt_mbox_common.c:(.text+0x11a): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.o: in function `otx2_cpt_add_write_af_reg':
otx2_cpt_mbox_common.c:(.text+0x17a): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.o: in function `otx2_cpt_attach_rscrs_msg':
otx2_cpt_mbox_common.c:(.text+0x25c): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.o: in function `otx2_cpt_detach_rsrcs_msg':
otx2_cpt_mbox_common.c:(.text+0x2dc): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.o:otx2_cpt_mbox_common.c:(.text+0x362): more undefined references to `otx2_mbox_alloc_msg_rsp' follow
ld: drivers/crypto/marvell/octeontx2/otx2_cptvf_main.o: in function `otx2_cptvf_remove':
otx2_cptvf_main.c:(.text+0x1e9): undefined reference to `otx2_mbox_destroy'
ld: drivers/crypto/marvell/octeontx2/otx2_cptvf_main.o: in function `otx2_cptvf_probe':
otx2_cptvf_main.c:(.text+0x3fe): undefined reference to `otx2_mbox_init'
ld: otx2_cptvf_main.c:(.text+0x507): undefined reference to `otx2_mbox_destroy'
ld: drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.o: in function `otx2_cptvf_send_eng_grp_num_msg':
otx2_cptvf_mbox.c:(.text+0x287): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.o: in function `otx2_cptvf_send_kvf_limits_msg':
otx2_cptvf_mbox.c:(.text+0x302): undefined reference to `otx2_mbox_alloc_msg_rsp'
ld: drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.o: in function `otx2_cptvf_pfvf_mbox_handler':
otx2_cptvf_mbox.c:(.text+0x14f): undefined reference to `otx2_mbox_reset'



Full randconfig file is attached.

--
~Randy
Reported-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

Attachment: config-r7396.gz
Description: application/gzip