lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111130836.zaKz2toq-lkp@intel.com>
Date:   Sat, 13 Nov 2021 08:18:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     James Morse <james.morse@....com>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [morse:mpam/snapshot/v5.15 4/139]
 arch/x86/kernel/cpu/resctrl/core.c:417:6: warning: no previous prototype for
 function 'domain_free'

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-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=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
        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@...el.com>

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/cpu/resctrl/core.c:417:6: warning: no previous prototype for function 'domain_free' [-Wmissing-prototypes]
   void domain_free(struct rdt_hw_domain *hw_dom)
        ^
   arch/x86/kernel/cpu/resctrl/core.c:417:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void domain_free(struct rdt_hw_domain *hw_dom)
   ^
   static 
   1 warning generated.


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

Download attachment ".config.gz" of type "application/gzip" (41211 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ