CC: [email protected] CC: [email protected] TO: Thomas Bogendoerfer <[email protected]> CC: Paul Burton <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: da2968ff879b9e74688cdc658f646971991d2c56 commit: 524c4e1fd412d122c2e2707c0b49f959c31a1dd2 MIPS: SGI-IP27: Use specific get_region_shift date: 7 months ago :::::: branch date: 12 hours ago :::::: commit date: 7 months ago config: mips-randconfig-s032-20200821 (attached as .config) compiler: mips64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-191-g10164920-dirty git checkout 524c4e1fd412d122c2e2707c0b49f959c31a1dd2 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) arch/mips/sgi-ip27/ip27-memory.c:300:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *mem @@ got unsigned long long [usertype] * @@ arch/mips/sgi-ip27/ip27-memory.c:300:17: sparse: expected void volatile [noderef] <asn:2> *mem arch/mips/sgi-ip27/ip27-memory.c:300:17: sparse: got unsigned long long [usertype] * arch/mips/sgi-ip27/ip27-memory.c:301:17: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *mem @@ got unsigned long long [usertype] * @@ arch/mips/sgi-ip27/ip27-memory.c:301:17: sparse: expected void volatile [noderef] <asn:2> *mem arch/mips/sgi-ip27/ip27-memory.c:301:17: sparse: got unsigned long long [usertype] * arch/mips/sgi-ip27/ip27-memory.c: note: in included file (through arch/mips/include/asm/sn/sn0/hub.h, arch/mips/include/asm/sn/agent.h, ...): arch/mips/include/asm/sn/sn0/hubni.h:255:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *mem @@ got unsigned long long [usertype] * @@ arch/mips/include/asm/sn/sn0/hubni.h:255:13: sparse: expected void const volatile [noderef] <asn:2> *mem >> arch/mips/include/asm/sn/sn0/hubni.h:255:13: sparse: got unsigned long >> long [usertype] * arch/mips/sgi-ip27/ip27-memory.c: note: in included file (through arch/mips/include/asm/sn/agent.h, arch/mips/include/asm/mach-ip27/mmzone.h, arch/mips/include/asm/mmzone.h, ...): arch/mips/include/asm/sn/sn0/hub.h:57:27: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *mem @@ got unsigned long long [usertype] * @@ arch/mips/include/asm/sn/sn0/hub.h:57:27: sparse: expected void const volatile [noderef] <asn:2> *mem arch/mips/include/asm/sn/sn0/hub.h:57:27: sparse: got unsigned long long [usertype] * # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=524c4e1fd412d122c2e2707c0b49f959c31a1dd2 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 524c4e1fd412d122c2e2707c0b49f959c31a1dd2 vim +255 arch/mips/include/asm/sn/sn0/hubni.h ^1da177e4c3f415 include/asm-mips/sn/sn0/hubni.h Linus Torvalds 2005-04-16 252 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 253 static inline int get_region_shift(void) 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 254 { 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 @255 if (LOCAL_HUB_L(NI_STATUS_REV_ID) & NSRI_REGIONSIZE_MASK) 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 256 return NASID_TO_FINEREG_SHFT; 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 257 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 258 return NASID_TO_COARSEREG_SHFT; 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 259 } 524c4e1fd412d12 arch/mips/include/asm/sn/sn0/hubni.h Thomas Bogendoerfer 2020-01-09 260 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
