From: kernel test robot <lkp@intel.com>
To: James Morse <james.morse@arm.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [morse:mpam/snapshot/v5.15 62/139] fs/resctrl/rdtgroup.c:1644:13: warning: no previous prototype for function 'thread_throttle_mode_init'
Date: Sat, 13 Nov 2021 11:22:42 +0800 [thread overview]
Message-ID: <202111131134.28XADxVN-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2094 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.15
head: ce3629841262f725a5f3a327403fcaf0e604a85e
commit: 016782894eb4694b95d6b67f4b1794cde795482c [62/139] x86/resctrl: Move the restrl code to fs
config: x86_64-buildonly-randconfig-r001-20211112 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c3dddeeafb529e769cde87bd29ef6271ac6bfa5c)
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://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/commit/?id=016782894eb4694b95d6b67f4b1794cde795482c
git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
git fetch --no-tags morse mpam/snapshot/v5.15
git checkout 016782894eb4694b95d6b67f4b1794cde795482c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64
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 >>):
>> fs/resctrl/rdtgroup.c:1644:13: warning: no previous prototype for function 'thread_throttle_mode_init' [-Wmissing-prototypes]
void __init thread_throttle_mode_init(void)
^
fs/resctrl/rdtgroup.c:1644:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __init thread_throttle_mode_init(void)
^
static
1 warning generated.
vim +/thread_throttle_mode_init +1644 fs/resctrl/rdtgroup.c
1643
> 1644 void __init thread_throttle_mode_init(void)
1645 {
1646 struct rftype *rft;
1647
1648 rft = rdtgroup_get_rftype_by_name("thread_throttle_mode");
1649 if (!rft)
1650 return;
1651
1652 rft->fflags = RF_CTRL_INFO | RFTYPE_RES_MB;
1653 }
1654
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 41233 bytes --]
reply other threads:[~2021-11-13 3:23 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=202111131134.28XADxVN-lkp@intel.com \
--to=lkp@intel.com \
--cc=james.morse@arm.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@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 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®