* [android-common:android14-5.15 1/2] kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export'
@ 2023-08-25 14:53 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-08-25 14:53 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android14-5.15
head: e8b59bcd783be655164b6032e551cd2a30a5d749
commit: fd1e768866606ff230280f26faca797bb47bd8c0 [1/2] ANDROID: GKI: Protect exports of protected GKI modules
config: x86_64-randconfig-015-20230825 (https://download.01.org/0day-ci/archive/20230825/202308252234.KUIaashZ-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230825/202308252234.KUIaashZ-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/202308252234.KUIaashZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export' [-Wmissing-prototypes]
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
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]
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
bool gki_is_module_unprotected_symbol(const char *name)
^
static
2 warnings generated.
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] 2+ messages in thread* [android-common:android14-5.15 1/2] kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export'
@ 2023-10-12 21:56 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-10-12 21:56 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android14-5.15
head: e2dadb5022c01186d167de5f89f821506f6a8cb6
commit: fd1e768866606ff230280f26faca797bb47bd8c0 [1/2] ANDROID: GKI: Protect exports of protected GKI modules
config: x86_64-randconfig-015-20230825 (https://download.01.org/0day-ci/archive/20231013/202310130534.6FrlOZ6n-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231013/202310130534.6FrlOZ6n-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/202310130534.6FrlOZ6n-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export' [-Wmissing-prototypes]
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
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]
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
bool gki_is_module_unprotected_symbol(const char *name)
^
static
2 warnings generated.
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] 2+ messages in thread
end of thread, other threads:[~2023-10-12 21:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-25 14:53 [android-common:android14-5.15 1/2] kernel/gki_module.c:35:6: warning: no previous prototype for function 'gki_is_module_protected_export' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2023-10-12 21:56 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.