lkml.org 
[lkml]   [2021]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[morse:mpam/snapshot/v5.15 62/139] fs/resctrl/rdtgroup.c:1644:13: error: no previous prototype for 'thread_throttle_mode_init'
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-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# 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
make 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 errors (new ones prefixed by >>):

>> fs/resctrl/rdtgroup.c:1644:13: error: no previous prototype for 'thread_throttle_mode_init' [-Werror=missing-prototypes]
1644 | void __init thread_throttle_mode_init(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-14 12:13    [W:0.032 / U:2.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site