From: kernel test robot <lkp@intel.com>
To: Elliot Berman <quic_eberman@quicinc.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
linux-kernel@vger.kernel.org, Todd Kjos <tkjos@google.com>
Subject: [ammarfaizi2-block:google/android/kernel/common/android13-5.10 3194/9999] kernel/module.c:4792:6: warning: no previous prototype for function 'android_debug_for_each_module'
Date: Wed, 9 Mar 2022 07:30:39 +0800 [thread overview]
Message-ID: <202203090739.89kwW2Yp-lkp@intel.com> (raw)
Hi Elliot,
FYI, the error/warning still remains.
tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android13-5.10
head: 8ffc7ff817fe552592daa2b0de1760e3539663f3
commit: 0bb433e0140efece0a1ce8124283cb68fda33a3f [3194/9999] ANDROID: debug_symbols: Add android_debug_for_each_module
config: i386-randconfig-a013-20220307 (https://download.01.org/0day-ci/archive/20220309/202203090739.89kwW2Yp-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
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
# https://github.com/ammarfaizi2/linux-block/commit/0bb433e0140efece0a1ce8124283cb68fda33a3f
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android13-5.10
git checkout 0bb433e0140efece0a1ce8124283cb68fda33a3f
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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 ASYNC_TX_ENABLE_CHANNEL_SWITCH
Depends on DMADEVICES
Selected by
- GKI_HIDDEN_DMA_CONFIGS
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
reply other threads:[~2022-03-09 1: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=202203090739.89kwW2Yp-lkp@intel.com \
--to=lkp@intel.com \
--cc=gwml@vger.gnuweeb.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=quic_eberman@quicinc.com \
--cc=tkjos@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®