Content-Type: multipart/mixed; boundary="===============7474199641608304304==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH net-next v4 03/13] net: wwan: t7xx: Add core components Date: Sun, 16 Jan 2022 23:37:44 +0800 Message-ID: <202201162348.afiiNcX1-lkp@intel.com> In-Reply-To: <20220114010627.21104-4-ricardo.martinez@linux.intel.com> List-Id: --===============7474199641608304304== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Ricardo, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Ricardo-Martinez/net-wwan-= t7xx-PCIe-driver-for-MediaTek-M-2-modem/20220114-090852 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git = 8aaaf2f3af2ae212428f4db1af34214225f5cec3 config: ia64-randconfig-m031-20220116 (https://download.01.org/0day-ci/arch= ive/20220116/202201162348.afiiNcX1-lkp(a)intel.com/config) compiler: ia64-linux-gcc (GCC) 11.2.0 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://github.com/0day-ci/linux/commit/e62b3a8ab00c63ee38d0d31cd= 402a1a40e8b2769 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Ricardo-Martinez/net-wwan-t7xx-PCI= e-driver-for-MediaTek-M-2-modem/20220114-090852 git checkout e62b3a8ab00c63ee38d0d31cd402a1a40e8b2769 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dia64 SHELL=3D/bin/bash drivers/net/ 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:33, from include/linux/scatterlist.h:8, from include/linux/dma-mapping.h:10, from drivers/net/wwan/t7xx/t7xx_pci.c:23: arch/ia64/include/asm/mmu_context.h: In function 'reload_context': >> arch/ia64/include/asm/mmu_context.h:127:48: error: variable 'old_rr4' se= t but not used [-Werror=3Dunused-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 =3D 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 =3D ia64_get_rr(RGN_BASE(RGN_HPAGE)); ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-= 16 130 rid =3D context << 3; /* make space for encoding the region numbe= r */ ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-= 16 131 rid_incr =3D 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 =3D (rid << 8) | (PAGE_SHIFT << 2) | 1; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-= 16 135 rr1 =3D rr0 + 1*rid_incr; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-= 16 136 rr2 =3D rr0 + 2*rid_incr; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-= 16 137 rr3 =3D rr0 + 3*rid_incr; ^1da177e4c3f41 include/asm-ia64/mmu_context.h Linus Torvalds 2005-04-= 16 138 rr4 =3D 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 =3D (rr4 & (~(0xfcUL))) | (old_rr4 & 0xfc); 0a41e250116058 include/asm-ia64/mmu_context.h Peter Chubb 2005-08-= 16 141 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org --===============7474199641608304304==--