[android-common:android15-6.6-2026-07 0/3] kernel/module/gki_module.c:31:6: warning: no previous prototype for function 'gki_is_module_unprotected_symbol'
kernel test robot <[email protected]> Wed, 05 Aug 2026 13:00:22 +0800
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
Hi Ramji, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android15-6.6-2026-07 head: d6098cc4b9c62a676e9cb18081352e36d55e5480 commit: e9669eeb2f4580e44226cf1b582340f4b6388387 [0/3] ANDROID: GKI: Add module load time symbol protection config: x86_64-buildonly-randconfig-002-20260805 (https://download.01.org/0day-ci/archive/20260805/[email protected]/config) compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211) 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 warnings (new ones prefixed by >>): In file included from <built-in>:3: In file included from include/linux/compiler_types.h:94: include/linux/compiler-clang.h:24:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] 24 | #define __SANITIZE_ADDRESS__ | ^ <built-in>:353:9: note: previous definition is here 353 | #define __SANITIZE_ADDRESS__ 1 | ^ >> kernel/module/gki_module.c:31:6: warning: no previous prototype for function 'gki_is_module_unprotected_symbol' [-Wmissing-prototypes] 31 | bool gki_is_module_unprotected_symbol(const char *name) | ^ kernel/module/gki_module.c:31:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 31 | bool gki_is_module_unprotected_symbol(const char *name) | ^ | static 2 warnings generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for USB_PHY Depends on [n]: USB_SUPPORT [=n] Selected by [y]: - GKI_HIDDEN_USB_CONFIGS [=y] WARNING: unmet direct dependencies detected for CAN_RX_OFFLOAD Depends on [n]: NETDEVICES [=n] && CAN_DEV [=n] && CAN_NETLINK [=n] Selected by [y]: - GKI_HIDDEN_MCP251XFD_CONFIGS [=y] WARNING: unmet direct dependencies detected for SND_PCM_IEC958 Depends on [n]: SOUND [=n] && !UML && SND [=n] Selected by [y]: - GKI_HIDDEN_SND_SOC_CONFIGS [=y] WARNING: unmet direct dependencies detected for BALLOON_COMPACTION Depends on [n]: COMPACTION [=n] && MEMORY_BALLOON [=y] Selected by [y]: - GKI_HIDDEN_MM_CONFIGS [=y] vim +/gki_is_module_unprotected_symbol +31 kernel/module/gki_module.c 25 26 /** 27 * gki_is_module_unprotected_symbol - Is a symbol unprotected for unsigned module? 28 * 29 * @name: Symbol being checked in list of unprotected symbols 30 */ > 31 bool gki_is_module_unprotected_symbol(const char *name) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki