From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20EB8C433EF for ; Thu, 12 May 2022 14:17:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A36286B0074; Thu, 12 May 2022 10:17:34 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9E5276B0075; Thu, 12 May 2022 10:17:34 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8AD276B0078; Thu, 12 May 2022 10:17:34 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 7BCFF6B0074 for ; Thu, 12 May 2022 10:17:34 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 3DA4E20C10 for ; Thu, 12 May 2022 14:17:34 +0000 (UTC) X-FDA: 79457294028.29.B9484C3 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf20.hostedemail.com (Postfix) with ESMTP id A87601C0003 for ; Thu, 12 May 2022 14:17:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652365052; x=1683901052; h=date:from:to:cc:subject:message-id:mime-version; bh=l2RWyWQRZoEqVJ3aDLZBl+/u+mvt4iJ4fumZGuciXPY=; b=GG0MDxbQoUOHi7wMxa26SxvBrg7npS6p6LcdjaQjGES8YNfh0vmCYvKq cLo7etSe5Ognmvt9TrZMrL1aiyeDkGH+q33Tq9+4lS7fX27YLw+HXw8BR TL4cR5OcaHNXwoOB1xJSqeHObLMAQC6z0x3PPckhg7EM+8cFoaPOyv8Lk RcID4IOg3jiEm0l5LgvREcGKHr4/ruajnxDjigAZsNYjo0bItgcHnqicq 1gKtBkf9PSim8xxD4+wbzmD1I+RXUe/On4B0IZMR0nhGzFxPIqfNjPGvd 2eQctJCzXyvdU03RGQ8TXIXe7Ar35aOTn15HoIEU7ZYhs3ew1jJrYSp5Y A==; X-IronPort-AV: E=McAfee;i="6400,9594,10344"; a="268846175" X-IronPort-AV: E=Sophos;i="5.91,220,1647327600"; d="scan'208";a="268846175" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 May 2022 07:17:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,220,1647327600"; d="scan'208";a="553782644" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 12 May 2022 07:17:28 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1np9d9-000KZM-HR; Thu, 12 May 2022 14:17:27 +0000 Date: Thu, 12 May 2022 22:16:41 +0800 From: kernel test robot To: Haijun Liu Cc: kbuild-all@lists.01.org, Linux Memory Management List , Chandrashekar Devegowda , Ricardo Martinez , Loic Poulain , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Sergey Ryazanov Subject: [linux-next:master 9623/11360] arch/ia64/include/asm/mmu_context.h:127:48: error: variable 'old_rr4' set but not used Message-ID: <202205122207.OHCRgaNK-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=GG0MDxbQ; spf=none (imf20.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: A87601C0003 X-Stat-Signature: d1m9e3nqzsrwi46xgui8engrtwo43sed X-HE-Tag: 1652365042-709786 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 187b9ac8c348383f7f36c8413d73ad89e9b1e90a commit: 13e920d93e37fcaef4a9309515798a3cae9dcf19 [9623/11360] net: wwan: t7xx: Add core components config: ia64-randconfig-r001-20220512 (https://download.01.org/0day-ci/archive/20220512/202205122207.OHCRgaNK-lkp@intel.com/config) compiler: ia64-linux-gcc (GCC) 11.3.0 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/next/linux-next.git/commit/?id=13e920d93e37fcaef4a9309515798a3cae9dcf19 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 13e920d93e37fcaef4a9309515798a3cae9dcf19 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/wwan/t7xx/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from arch/ia64/include/asm/pgtable.h:153, from include/linux/pgtable.h:6, from include/linux/mm.h:29, from include/linux/scatterlist.h:8, from include/linux/dma-mapping.h:10, from drivers/net/wwan/t7xx/t7xx_pci.c:22: arch/ia64/include/asm/mmu_context.h: In function 'reload_context': >> arch/ia64/include/asm/mmu_context.h:127:48: error: variable 'old_rr4' set but not used [-Werror=unused-but-set-variable] 127 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4; | ^~~~~~~ cc1: all warnings being treated as errors vim +/old_rr4 +127 arch/ia64/include/asm/mmu_context.h ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 121 ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 122 static inline void badea125d7cbd9 include/asm-ia64/mmu_context.h David Mosberger-Tang 2005-07-25 123 reload_context (nv_mm_context_t context) ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 124 { ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 125 unsigned long rid; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 126 unsigned long rid_incr = 0; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 @127 unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 128 0a41e250116058 include/asm-ia64/mmu_context.h Peter Chubb 2005-08-16 129 old_rr4 = ia64_get_rr(RGN_BASE(RGN_HPAGE)); ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 130 rid = context << 3; /* make space for encoding the region number */ ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 131 rid_incr = 1 << 8; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 132 ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 133 /* encode the region id, preferred page size, and VHPT enable bit: */ ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 134 rr0 = (rid << 8) | (PAGE_SHIFT << 2) | 1; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 135 rr1 = rr0 + 1*rid_incr; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 136 rr2 = rr0 + 2*rid_incr; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 137 rr3 = rr0 + 3*rid_incr; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 138 rr4 = rr0 + 4*rid_incr; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 139 #ifdef CONFIG_HUGETLB_PAGE ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-16 140 rr4 = (rr4 & (~(0xfcUL))) | (old_rr4 & 0xfc); 0a41e250116058 include/asm-ia64/mmu_context.h Peter Chubb 2005-08-16 141 :::::: The code at line 127 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://01.org/lkp