* [android-common:android14-5.15 0/1] kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export'
@ 2026-08-05 6:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-05 6:38 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
Hi Ramji,
FYI, the error/warning still remains.
tree: https://android.googlesource.com/kernel/common android14-5.15
head: 9ed6d24476a19dbfb33c7d2b53c623b054bb285f
commit: fd1e768866606ff230280f26faca797bb47bd8c0 [0/1] ANDROID: GKI: Protect exports of protected GKI modules
config: x86_64-buildonly-randconfig-002-20260805 (https://download.01.org/0day-ci/archive/20260805/202608051444.3WgBa7OZ-lkp@intel.com/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/202608051444.3WgBa7OZ-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/202608051444.3WgBa7OZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from <built-in>:3:
In file included from include/linux/compiler_types.h:80:
include/linux/compiler-clang.h:24:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
24 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:356:9: note: previous definition is here
356 | #define __SANITIZE_ADDRESS__ 1
| ^
>> kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export' [-Wmissing-prototypes]
35 | bool gki_is_module_protected_export(const char *name)
| ^
kernel/gki_module.c:35:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
35 | bool gki_is_module_protected_export(const char *name)
| ^
| static
kernel/gki_module.c:46:6: warning: no previous prototype for function 'gki_is_module_unprotected_symbol' [-Wmissing-prototypes]
46 | bool gki_is_module_unprotected_symbol(const char *name)
| ^
kernel/gki_module.c:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
46 | bool gki_is_module_unprotected_symbol(const char *name)
| ^
| static
3 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 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_protected_export +35 kernel/gki_module.c
29
30 /**
31 * gki_is_module_protected_export - Is a symbol exported from a protected GKI module?
32 *
33 * @name: Symbol being checked against exported symbols from protected GKI modules
34 */
> 35 bool gki_is_module_protected_export(const char *name)
36 {
37 return bsearch(name, gki_protected_exports_symbols, NR_PROTECTED_EXPORTS_SYMBOLS,
38 MAX_PROTECTED_EXPORTS_NAME_LEN, cmp_name) != NULL;
39 }
40
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-05 6:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-05 6:38 [android-common:android14-5.15 0/1] kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.