From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51C0B29CA for ; Tue, 25 Jan 2022 23:33:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643153607; x=1674689607; h=date:from:to:cc:subject:message-id:mime-version; bh=EU2b9JrQJH1OK/v9lhZZ3ztptNc+djvb662UR9+9vBo=; b=aoZXed9oVmJnAUzq7DTVO3rv+vJeqdOMbGCYQV16tEr4i5kIYwS4NHJH SeB9Evk9HTnMeCC4ETWZAJj+P+UpbLSdAxd5cRRkSE3W31dNicepuMm4S jSgSck/t4VRlMPPCVQleBdj9oPpr7g5xwcE1nYdR0wGOWy9drBzZixlpi JexyDSSXMIHV+yVHIU2LvdDXCxKIf21HPEz4rQnI9SMd2BFwMehGaONtX w6Fmr/wRXpWnEmApcQpHc50+Uj/E3DVDmrWXzvSYIoGsLWqOvRRhqUBJf KW0BtDMJo23P6oX4SgEiKFNiFFrJItjc9WVnh5J4cEjaxPaZb/Iz5kJSJ A==; X-IronPort-AV: E=McAfee;i="6200,9189,10238"; a="307155644" X-IronPort-AV: E=Sophos;i="5.88,315,1635231600"; d="scan'208";a="307155644" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2022 15:33:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,315,1635231600"; d="scan'208";a="479691392" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 25 Jan 2022 15:33:25 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nCVJU-000KYR-RR; Tue, 25 Jan 2022 23:33:24 +0000 Date: Wed, 26 Jan 2022 07:32:37 +0800 From: kernel test robot To: James Morse Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: [morse:mpam/snapshot/v5.16 4/137] arch/x86/kernel/cpu/resctrl/core.c:417:6: warning: no previous prototype for function 'domain_free' Message-ID: <202201260732.58wp6s70-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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-a011-20220124 (https://download.01.org/0day-ci/archive/20220126/202201260732.58wp6s70-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 997e128e2a78f5a5434fc75997441ae1ee76f8a4) 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=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 COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4466618198112426169==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [morse:mpam/snapshot/v5.16 4/137] arch/x86/kernel/cpu/resctrl/core.c:417:6: warning: no previous prototype for function 'domain_free' Date: Wed, 26 Jan 2022 07:32:37 +0800 Message-ID: <202201260732.58wp6s70-lkp@intel.com> List-Id: --===============4466618198112426169== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpa= m/snapshot/v5.16 head: 364c1c42b229912132e1615c2ce15be7154e2156 commit: 22965510f006f9207f1615ffb3543c9314ac6d01 [4/137] x86/resctrl: Group= struct rdt_hw_domain cleanup config: i386-randconfig-a011-20220124 (https://download.01.org/0day-ci/arch= ive/20220126/202201260732.58wp6s70-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 997e12= 8e2a78f5a5434fc75997441ae1ee76f8a4) reproduce (this is a W=3D1 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/c= ommit/?id=3D22965510f006f9207f1615ffb3543c9314ac6d01 git remote add morse https://git.kernel.org/pub/scm/linux/kernel/gi= t/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 COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot 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(a)lists.01.org --===============4466618198112426169==--