From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 C728C2C9E for ; Tue, 18 Jan 2022 18:52:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642531927; x=1674067927; h=date:from:to:cc:subject:message-id:mime-version; bh=+klORxsX0yp8ZJQTooOCq8M2oqxHKFaKz44SypuiMpU=; b=QSqFR+heXMgdfj2QhRXonWJX4GFkvTZjG+kxw1CZpRlqsSF15yOJVh+g 2z16v4PquI1f7wsimJlpoGdexGlBztdWmVZ3tkKjGMSBWlQG3slV5iq2i 3akJ050f65kAM9+SbXzeRIdHUITZ+zHGrtVrYOQGchwsh5mV+VPzuR82J wo8eEKnUic7awxoxjG1wgSd8rFtSGPnwPLJBrkLuzIzmGVHJ7daMWy6+m mI7QRZJgXXAghtpNB7b1GjG7/g3OItL/DM92Zoi0B14LAPpmTAXUhVq7h Qx5nbD9WTaBNhtfDdHtSjkqOZE4+POammAYemWl6lyZn26HritpVr25/G w==; X-IronPort-AV: E=McAfee;i="6200,9189,10230"; a="269272716" X-IronPort-AV: E=Sophos;i="5.88,297,1635231600"; d="scan'208";a="269272716" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2022 10:52:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,297,1635231600"; d="scan'208";a="517875175" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 18 Jan 2022 10:52:05 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1n9taO-000CrM-MW; Tue, 18 Jan 2022 18:52:04 +0000 Date: Wed, 19 Jan 2022 02:51:43 +0800 From: kernel test robot To: Heiko Stuebner Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Guo Ren Subject: [csky-linux:riscv_compat_v2_sv48_v3_mmind_pbmt 40/44] arch/riscv/kernel/cpufeature.c:185:6: warning: variable 'cpu_apply_feature' set but not used Message-ID: <202201190211.LvmwaVLe-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://github.com/c-sky/csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt head: b28a50c03a72c48d3895320bdd0757e0a8acb881 commit: 414a3c26e45780d9f957d3721666dfe099b8643c [40/44] riscv: add cpufeature handling via alternatives config: riscv-randconfig-r026-20220116 (https://download.01.org/0day-ci/archive/20220119/202201190211.LvmwaVLe-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c10cbb243cafc0cf42c3e922cb29183279444432) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/c-sky/csky-linux/commit/414a3c26e45780d9f957d3721666dfe099b8643c git remote add csky-linux https://github.com/c-sky/csky-linux git fetch --no-tags csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt git checkout 414a3c26e45780d9f957d3721666dfe099b8643c # 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=riscv SHELL=/bin/bash arch/riscv/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/riscv/kernel/cpufeature.c:185:6: warning: variable 'cpu_apply_feature' set but not used [-Wunused-but-set-variable] u32 cpu_apply_feature = 0; ^ 1 warning generated. vim +/cpu_apply_feature +185 arch/riscv/kernel/cpufeature.c 180 181 void riscv_cpufeature_patch_func(struct alt_entry *begin, struct alt_entry *end, 182 unsigned int stage) 183 { 184 u32 cpu_req_feature = cpufeature_probe(stage); > 185 u32 cpu_apply_feature = 0; --- 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="===============3471208599344636502==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [csky-linux:riscv_compat_v2_sv48_v3_mmind_pbmt 40/44] arch/riscv/kernel/cpufeature.c:185:6: warning: variable 'cpu_apply_feature' set but not used Date: Wed, 19 Jan 2022 02:51:43 +0800 Message-ID: <202201190211.LvmwaVLe-lkp@intel.com> List-Id: --===============3471208599344636502== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/c-sky/csky-linux riscv_compat_v2_sv48_v3_mmind_p= bmt head: b28a50c03a72c48d3895320bdd0757e0a8acb881 commit: 414a3c26e45780d9f957d3721666dfe099b8643c [40/44] riscv: add cpufeat= ure handling via alternatives config: riscv-randconfig-r026-20220116 (https://download.01.org/0day-ci/arc= hive/20220119/202201190211.LvmwaVLe-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c10cbb= 243cafc0cf42c3e922cb29183279444432) 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 # install riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/c-sky/csky-linux/commit/414a3c26e45780d9f957d3= 721666dfe099b8643c git remote add csky-linux https://github.com/c-sky/csky-linux git fetch --no-tags csky-linux riscv_compat_v2_sv48_v3_mmind_pbmt git checkout 414a3c26e45780d9f957d3721666dfe099b8643c # 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=3Driscv SHELL=3D/bin/bash arch/riscv/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/riscv/kernel/cpufeature.c:185:6: warning: variable 'cpu_apply_featu= re' set but not used [-Wunused-but-set-variable] u32 cpu_apply_feature =3D 0; ^ 1 warning generated. vim +/cpu_apply_feature +185 arch/riscv/kernel/cpufeature.c 180 = 181 void riscv_cpufeature_patch_func(struct alt_entry *begin, struct alt= _entry *end, 182 unsigned int stage) 183 { 184 u32 cpu_req_feature =3D cpufeature_probe(stage); > 185 u32 cpu_apply_feature =3D 0; --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============3471208599344636502==--