tree:
https://android.googlesource.com/kernel/common android13-5.10
head: 222b9a06da78e7094deb914beffb51b10f497007
commit: 0bb433e0140efece0a1ce8124283cb68fda33a3f [11992/15386] ANDROID: debug_symbols: Add
android_debug_for_each_module
config: i386-randconfig-r005-20211109 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
f3798ad5fa845771846599f3c088016e3aef800c)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android13-5.10
git checkout 0bb433e0140efece0a1ce8124283cb68fda33a3f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> kernel/module.c:4792:6: warning: no previous prototype for
function 'android_debug_for_each_module' [-Wmissing-prototypes]
void
android_debug_for_each_module(int (*fn)(const char *mod_name, void *mod_addr, void
*data),
^
kernel/module.c:4792:1: note: declare 'static' if the function is not intended
to be used outside of this translation unit
void android_debug_for_each_module(int (*fn)(const char *mod_name, void *mod_addr, void
*data),
^
static
1 warning generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for WIRELESS_EXT
Depends on NET && WIRELESS
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for WEXT_PRIV
Depends on NET && WIRELESS
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for WEXT_SPY
Depends on NET && WIRELESS
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for WEXT_CORE
Depends on NET && WIRELESS && (CFG80211_WEXT || WIRELESS_EXT
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for SND_VMASTER
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for SND_PCM_IEC958
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_SOC_CONFIGS
WARNING: unmet direct dependencies detected for SND_JACK
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for SND_JACK_INPUT_DEV
Depends on SOUND && !UML && SND && SND_JACK
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for SND_PCM_ELD
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS
WARNING: unmet direct dependencies detected for WEXT_PROC
Depends on NET && WIRELESS && PROC_FS && WEXT_CORE
Selected by
- GKI_LEGACY_WEXT_ALLCONFIG
WARNING: unmet direct dependencies detected for SND_INTEL_NHLT
Depends on SOUND && !UML && SND
Selected by
- GKI_HIDDEN_SND_CONFIGS && ACPI
vim +/android_debug_for_each_module +4792 kernel/module.c
4790
4791 #ifdef CONFIG_ANDROID_DEBUG_SYMBOLS
4792 void android_debug_for_each_module(int (*fn)(const char
*mod_name, void *mod_addr, void *data),
4793 void *data)
4794 {
4795 struct module *module;
4796
4797 preempt_disable();
4798 list_for_each_entry_rcu(module, &modules, list) {
4799 if (fn(module->name, module->core_layout.base, data))
4800 goto out;
4801 }
4802 out:
4803 preempt_enable();
4804 }
4805 EXPORT_SYMBOL_GPL(android_debug_for_each_module);
4806 #endif
4807
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org