linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm:sa1100 33/97] arch/arm/common/sa1111.c:515:19: error: 'irqbase' undeclared
@ 2016-09-06 19:29 kbuild test robot
  2016-09-06 22:22 ` Russell King - ARM Linux
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2016-09-06 19:29 UTC (permalink / raw)
  To: linux-arm-kernel

tree:   http://repo.or.cz/linux-2.6/linux-2.6-arm.git sa1100
head:   8712f29f4497fc83173d512149d3949b6f87e2dd
commit: 31dbff2701e82c42bb210a7e310abe63c0a96c66 [33/97] ARM: sa1111: move irq cleanup to separate function
config: arm-sa1100 (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 31dbff2701e82c42bb210a7e310abe63c0a96c66
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   In file included from arch/arm/common/sa1111.c:36:0:
   arch/arm/common/sa1111.c: In function 'sa1111_remove_irq':
>> arch/arm/common/sa1111.c:515:19: error: 'irqbase' undeclared (first use in this function)
     sa1111_writel(0, irqbase + SA1111_INTEN0);
                      ^
   arch/arm/include/asm/hardware/sa1111.h:32:51: note: in definition of macro 'sa1111_writel'
    #define sa1111_writel(val,addr) __raw_writel(val, addr)
                                                      ^
   arch/arm/common/sa1111.c:515:19: note: each undeclared identifier is reported only once for each function it appears in
     sa1111_writel(0, irqbase + SA1111_INTEN0);
                      ^
   arch/arm/include/asm/hardware/sa1111.h:32:51: note: in definition of macro 'sa1111_writel'
    #define sa1111_writel(val,addr) __raw_writel(val, addr)
                                                      ^
   arch/arm/common/sa1111.c: In function '__sa1111_remove':
>> arch/arm/common/sa1111.c:838:16: warning: unused variable 'irqbase' [-Wunused-variable]
     void __iomem *irqbase = sachip->base + SA1111_INTC;
                   ^

vim +/irqbase +515 arch/arm/common/sa1111.c

   509		return 0;
   510	}
   511	
   512	static void sa1111_remove_irq(struct sa1111 *sachip)
   513	{
   514		/* disable all IRQs */
 > 515		sa1111_writel(0, irqbase + SA1111_INTEN0);
   516		sa1111_writel(0, irqbase + SA1111_INTEN1);
   517		sa1111_writel(0, irqbase + SA1111_WAKEEN0);
   518		sa1111_writel(0, irqbase + SA1111_WAKEEN1);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 22808 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160907/f579dadc/attachment-0001.obj>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [arm:sa1100 33/97] arch/arm/common/sa1111.c:515:19: error: 'irqbase' undeclared
  2016-09-06 19:29 [arm:sa1100 33/97] arch/arm/common/sa1111.c:515:19: error: 'irqbase' undeclared kbuild test robot
@ 2016-09-06 22:22 ` Russell King - ARM Linux
  2016-09-06 23:47   ` Fengguang Wu
  0 siblings, 1 reply; 3+ messages in thread
From: Russell King - ARM Linux @ 2016-09-06 22:22 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Sep 07, 2016 at 03:29:58AM +0800, kbuild test robot wrote:
> tree:   http://repo.or.cz/linux-2.6/linux-2.6-arm.git sa1100

Please use git://git.armlinux.org.uk/~rmk/linux-arm.git instead -
the new machine is in place and should be able to cope just fine with
whatever git load, so there should be no need to use mirrors anymore.
I think you're using that already for some reports anyway.

> head:   8712f29f4497fc83173d512149d3949b6f87e2dd
> commit: 31dbff2701e82c42bb210a7e310abe63c0a96c66 [33/97] ARM: sa1111: move irq cleanup to separate function
> config: arm-sa1100 (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
> reproduce:
>         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 31dbff2701e82c42bb210a7e310abe63c0a96c66
>         # save the attached .config to linux build tree
>         make.cross ARCH=arm 

ETOOMANYPATCHES. :p

Thanks, should be fixed now.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [arm:sa1100 33/97] arch/arm/common/sa1111.c:515:19: error: 'irqbase' undeclared
  2016-09-06 22:22 ` Russell King - ARM Linux
@ 2016-09-06 23:47   ` Fengguang Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Fengguang Wu @ 2016-09-06 23:47 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Russell King,

On Tue, Sep 06, 2016 at 11:22:45PM +0100, Russell King - ARM Linux wrote:
>On Wed, Sep 07, 2016 at 03:29:58AM +0800, kbuild test robot wrote:
>> tree:   http://repo.or.cz/linux-2.6/linux-2.6-arm.git sa1100
>
>Please use git://git.armlinux.org.uk/~rmk/linux-arm.git instead -
>the new machine is in place and should be able to cope just fine with
>whatever git load, so there should be no need to use mirrors anymore.
>I think you're using that already for some reports anyway.

Thanks for the info, I've updated the tree URL accordingly.

Regards,
Fengguang

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-06 23:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-06 19:29 [arm:sa1100 33/97] arch/arm/common/sa1111.c:515:19: error: 'irqbase' undeclared kbuild test robot
2016-09-06 22:22 ` Russell King - ARM Linux
2016-09-06 23:47   ` Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).