[android-common:android14-5.15 1/1] crypto/fips140-module.c:485:8: error: implicit declaration of function 'register_trace_android_vh_aes_decrypt'
kernel test robot <[email protected]> Wed, 05 Aug 2026 13:10:56 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Eric, First bad commit (maybe != root cause): tree: https://android.googlesource.com/kernel/common android14-5.15 head: 9ed6d24476a19dbfb33c7d2b53c623b054bb285f commit: ae4ca7a09bb6715a0f3533fa6e499ce40b5d7ac1 [1/1] ANDROID: fips140: allow building without LTO config: arm64-randconfig-001-20260805 (https://download.01.org/0day-ci/archive/20260805/[email protected]/config) compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project bacfe2950f8218268fcc0a8765644ea0c15f0360) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260805/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): crypto/fips140-module.c:482:8: error: implicit declaration of function 'register_trace_android_vh_sha256' [-Werror,-Wimplicit-function-declaration] 482 | ret = register_trace_android_vh_sha256(fips140_sha256, NULL) ?: | ^ crypto/fips140-module.c:482:8: note: did you mean 'trace_android_vh_sha256'? include/trace/hooks/fips140.h:19:1: note: 'trace_android_vh_sha256' declared here 19 | DECLARE_HOOK(android_vh_sha256, | ^ include/trace/hooks/vendor_hooks.h:119:22: note: expanded from macro 'DECLARE_HOOK' 119 | #define DECLARE_HOOK DECLARE_EVENT_NOP | ^ include/linux/tracepoint.h:571:21: note: expanded from macro 'DECLARE_EVENT_NOP' 571 | static inline void trace_##name(proto) \ | ^ <scratch space>:20:1: note: expanded from here 20 | trace_android_vh_sha256 | ^ crypto/fips140-module.c:483:8: error: implicit declaration of function 'register_trace_android_vh_aes_expandkey' [-Werror,-Wimplicit-function-declaration] 483 | register_trace_android_vh_aes_expandkey(fips140_aes_expandkey, NULL) ?: | ^ crypto/fips140-module.c:483:8: note: did you mean 'trace_android_vh_aes_expandkey'? include/trace/hooks/fips140.h:26:1: note: 'trace_android_vh_aes_expandkey' declared here 26 | DECLARE_HOOK(android_vh_aes_expandkey, | ^ include/trace/hooks/vendor_hooks.h:119:22: note: expanded from macro 'DECLARE_HOOK' 119 | #define DECLARE_HOOK DECLARE_EVENT_NOP | ^ include/linux/tracepoint.h:571:21: note: expanded from macro 'DECLARE_EVENT_NOP' 571 | static inline void trace_##name(proto) \ | ^ <scratch space>:23:1: note: expanded from here 23 | trace_android_vh_aes_expandkey | ^ crypto/fips140-module.c:484:8: error: implicit declaration of function 'register_trace_android_vh_aes_encrypt' [-Werror,-Wimplicit-function-declaration] 484 | register_trace_android_vh_aes_encrypt(fips140_aes_encrypt, NULL) ?: | ^ >> crypto/fips140-module.c:485:8: error: implicit declaration of function 'register_trace_android_vh_aes_decrypt' [-Werror,-Wimplicit-function-declaration] 485 | register_trace_android_vh_aes_decrypt(fips140_aes_decrypt, NULL); | ^ 4 errors generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for SND_JACK Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_VMASTER Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV Depends on [n]: SOUND [=n] && !UML && SND [=n] && SND_JACK [=y] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_PCM_ELD Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_CONFIGS [=y] vim +/register_trace_android_vh_aes_decrypt +485 crypto/fips140-module.c 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 477 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 478 static bool update_fips140_library_routines(void) 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 479 { 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 480 int ret; 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 481 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 482 ret = register_trace_android_vh_sha256(fips140_sha256, NULL) ?: 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 483 register_trace_android_vh_aes_expandkey(fips140_aes_expandkey, NULL) ?: 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 484 register_trace_android_vh_aes_encrypt(fips140_aes_encrypt, NULL) ?: 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 @485 register_trace_android_vh_aes_decrypt(fips140_aes_decrypt, NULL); 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 486 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 487 return ret == 0; 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 488 } 2db9143a1b5a70e Ard Biesheuvel 2021-03-23 489 :::::: The code at line 485 was first introduced by commit :::::: 2db9143a1b5a70edaa69a5e1b12acfef490c6d38 ANDROID: fips140: add kernel crypto module :::::: TO: Ard Biesheuvel <[email protected]> :::::: CC: Eric Biggers <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki