From: kernel test robot <lkp@intel.com>
To: James Morse <james.morse@arm.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [morse:mpam/snapshot/v5.15 4/139] arch/x86/kernel/cpu/resctrl/core.c:417:6: error: no previous prototype for 'domain_free'
Date: Sat, 13 Nov 2021 14:47:44 +0800 [thread overview]
Message-ID: <202111131436.BIek87WI-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1860 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.15
head: ce3629841262f725a5f3a327403fcaf0e604a85e
commit: 7e1bcec5158ff703f38e7b7a2bc314795319fbc4 [4/139] x86/resctrl: Group struct rdt_hw_domain cleanup
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=7e1bcec5158ff703f38e7b7a2bc314795319fbc4
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 7e1bcec5158ff703f38e7b7a2bc314795319fbc4
# 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 >>):
arch/x86/kernel/cpu/resctrl/core.c: In function 'cache_alloc_hsw_probe':
arch/x86/kernel/cpu/resctrl/core.c:133:9: error: variable 'h' set but not used [-Werror=unused-but-set-variable]
133 | u32 l, h, max_cbm = BIT_MASK(20) - 1;
| ^
arch/x86/kernel/cpu/resctrl/core.c: At top level:
>> arch/x86/kernel/cpu/resctrl/core.c:417:6: error: no previous prototype for 'domain_free' [-Werror=missing-prototypes]
417 | void domain_free(struct rdt_hw_domain *hw_dom)
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/domain_free +417 arch/x86/kernel/cpu/resctrl/core.c
416
> 417 void domain_free(struct rdt_hw_domain *hw_dom)
418 {
419 kfree(hw_dom->ctrl_val);
420 kfree(hw_dom->mbps_val);
421 kfree(hw_dom);
422 }
423
---
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: 66495 bytes --]
reply other threads:[~2021-11-13 6:48 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=202111131436.BIek87WI-lkp@intel.com \
--to=lkp@intel.com \
--cc=james.morse@arm.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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