[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202201260142.TfzTxnA2-lkp@intel.com>
Date: Wed, 26 Jan 2022 03:17:07 +0800
From: kernel test robot <lkp@...el.com>
To: James Morse <james.morse@....com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [morse:mpam/snapshot/v5.16 4/137]
arch/x86/kernel/cpu/resctrl/core.c:417:6: warning: no previous prototype for
'domain_free'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head: 364c1c42b229912132e1615c2ce15be7154e2156
commit: 22965510f006f9207f1615ffb3543c9314ac6d01 [4/137] x86/resctrl: Group struct rdt_hw_domain cleanup
config: i386-randconfig-m021-20220124 (https://download.01.org/0day-ci/archive/20220126/202201260142.TfzTxnA2-lkp@intel.com/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=22965510f006f9207f1615ffb3543c9314ac6d01
git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
git fetch --no-tags morse mpam/snapshot/v5.16
git checkout 22965510f006f9207f1615ffb3543c9314ac6d01
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/cpu/resctrl/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/cpu/resctrl/core.c:417:6: warning: no previous prototype for 'domain_free' [-Wmissing-prototypes]
417 | void domain_free(struct rdt_hw_domain *hw_dom)
| ^~~~~~~~~~~
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
Powered by blists - more mailing lists