tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 7c8ca8129ee9724cb1527895fe6dec942ef07f19 commit: e5afedde24451009af1f6b258044f6a1fa88a860 [5857/6320] Merge remote-tracking branch 'h8300/h8300-next' into master config: mips-randconfig-s031-20201116 (attached as .config) compiler: mips64el-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.3-107-gaf3512a6-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e5afedde24451009af1f6b258044f6a1fa88a860 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 e5afedde24451009af1f6b258044f6a1fa88a860 # 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 <lkp@xxxxxxxxx> "sparse warnings: (new ones prefixed by >>)" command-line: note: in included file: builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined builtin:0:0: sparse: this was the original definition drivers/irqchip/irq-renesas-h8s.c:48:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:48:14: sparse: expected void [noderef] __iomem *addr drivers/irqchip/irq-renesas-h8s.c:48:14: sparse: got void * >> drivers/irqchip/irq-renesas-h8s.c:54:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got void * @@ >> drivers/irqchip/irq-renesas-h8s.c:54:35: sparse: expected void const volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:54:35: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:56:35: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:56:35: sparse: expected void volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:56:35: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:71:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *addr @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:71:14: sparse: expected void [noderef] __iomem *addr drivers/irqchip/irq-renesas-h8s.c:71:14: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:78:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:78:35: sparse: expected void const volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:78:35: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:80:35: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:80:35: sparse: expected void volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:80:35: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:91:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *mem @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:91:35: sparse: expected void const volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:91:35: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:93:35: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:93:35: sparse: expected void volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:93:35: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:123:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *static [toplevel] ipr_base @@ got void [noderef] __iomem * @@ drivers/irqchip/irq-renesas-h8s.c:123:18: sparse: expected void *static [toplevel] ipr_base drivers/irqchip/irq-renesas-h8s.c:123:18: sparse: got void [noderef] __iomem * drivers/irqchip/irq-renesas-h8s.c:124:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *static [toplevel] icr_base @@ got void [noderef] __iomem * @@ drivers/irqchip/irq-renesas-h8s.c:124:18: sparse: expected void *static [toplevel] icr_base drivers/irqchip/irq-renesas-h8s.c:124:18: sparse: got void [noderef] __iomem * drivers/irqchip/irq-renesas-h8s.c:130:43: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:130:43: sparse: expected void volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:130:43: sparse: got void * drivers/irqchip/irq-renesas-h8s.c:132:30: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *mem @@ got void * @@ drivers/irqchip/irq-renesas-h8s.c:132:30: sparse: expected void volatile [noderef] __iomem *mem drivers/irqchip/irq-renesas-h8s.c:132:30: sparse: got void * vim +54 drivers/irqchip/irq-renesas-h8s.c 8a7644821ae00b7 Yoshinori Sato 2015-05-10 36 8a7644821ae00b7 Yoshinori Sato 2015-05-10 37 static void h8s_disable_irq(struct irq_data *data) 8a7644821ae00b7 Yoshinori Sato 2015-05-10 38 { 8a7644821ae00b7 Yoshinori Sato 2015-05-10 39 int pos; 558e6694cd4da8d Yoshinori Sato 2018-08-13 40 void __iomem *addr; 8a7644821ae00b7 Yoshinori Sato 2015-05-10 41 unsigned short pri; beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 42 int irq = data->irq - 16; beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 43 unsigned short ier; beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 44 beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 45 if (irq < 0) beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 46 return; 8a7644821ae00b7 Yoshinori Sato 2015-05-10 47 beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 48 addr = IPRA + ((ipr_table[irq] & 0xf0) >> 3); beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 49 pos = (ipr_table[irq] & 0x0f) * 4; 8a7644821ae00b7 Yoshinori Sato 2015-05-10 50 pri = ~(0x000f << pos); 2c496a11304da82 Yoshinori Sato 2019-12-26 51 pri &= __raw_readw(addr); 2c496a11304da82 Yoshinori Sato 2019-12-26 52 __raw_writew(pri, addr); beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 53 if (irq < 16) { beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 @54 ier = __raw_readw(IER); beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 55 ier &= ~(1 << irq); beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 56 __raw_writew(ier, IER); beab3d5cb0e14e6 Yoshinori Sato 2020-04-15 57 } 8a7644821ae00b7 Yoshinori Sato 2015-05-10 58 } 8a7644821ae00b7 Yoshinori Sato 2015-05-10 59 :::::: The code at line 54 was first introduced by commit :::::: beab3d5cb0e14e6397c4e596b3dbf1d36bf49d06 irq-renesas-h8s: Fix external interrupt control. :::::: TO: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> :::::: CC: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip