CC: [email protected] CC: [email protected] TO: Thomas Bogendoerfer <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: da2968ff879b9e74688cdc658f646971991d2c56 commit: cbe7d51745f9334d05bf2fdd915322e159bbcaa8 MIPS: SGI-IP27: restructure ioc3 register access date: 12 months ago :::::: branch date: 8 hours ago :::::: commit date: 12 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 cbe7d51745f9334d05bf2fdd915322e159bbcaa8 # 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-console.c:38:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *mem @@ got unsigned char * @@ arch/mips/sgi-ip27/ip27-console.c:38:24: sparse: expected void const volatile [noderef] <asn:2> *mem >> arch/mips/sgi-ip27/ip27-console.c:38:24: sparse: got unsigned char * arch/mips/sgi-ip27/ip27-console.c:40:20: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *mem @@ got unsigned char * @@ arch/mips/sgi-ip27/ip27-console.c:40:20: sparse: expected void volatile [noderef] <asn:2> *mem arch/mips/sgi-ip27/ip27-console.c:40:20: sparse: got unsigned char * # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cbe7d51745f9334d05bf2fdd915322e159bbcaa8 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout cbe7d51745f9334d05bf2fdd915322e159bbcaa8 vim +38 arch/mips/sgi-ip27/ip27-console.c ^1da177e4c3f415 Linus Torvalds 2005-04-16 33 f7be4e754b61681 Aaro Koskinen 2013-02-11 34 void prom_putchar(char c) ^1da177e4c3f415 Linus Torvalds 2005-04-16 35 { ^1da177e4c3f415 Linus Torvalds 2005-04-16 36 struct ioc3_uartregs *uart = console_uart(); ^1da177e4c3f415 Linus Torvalds 2005-04-16 37 cbe7d51745f9334 Thomas Bogendoerfer 2019-08-30 @38 while ((readb(&uart->iu_lsr) & 0x20) == 0) --- 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]
