From: kernel test robot <lkp@intel.com>
To: cros-kernel-buildreports@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [android-common:android14-5.15 0/1] kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export'
Date: Wed, 05 Aug 2026 14:38:34 +0800 [thread overview]
Message-ID: <202608051444.3WgBa7OZ-lkp@intel.com> (raw)
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
reply other threads:[~2026-08-05 6:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608051444.3WgBa7OZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=cros-kernel-buildreports@googlegroups.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.