Skip to contentSkip to conversation

arch/arm/mach-pxa/mainstone.c:560: undefined reference to `gpio_reg_init'

PATCH New kbuild test robot 2 participants 2 messages Sep 13, 2016

lore
Share & tools
lore

kbuild test robot

author build bot
#0 lore raw
tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git sa1100
head:   36b075e9681a293ef57aaa107ab394bc879a0807
commit: 4c76c25bd4f755e2302807f99b75ff9954c036d1 [80/81] ARM: pxa/mainstone: convert PCMCIA to use MAX1600 driver and gpiod APIs
config: arm-mainstone_defconfig (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 4c76c25bd4f755e2302807f99b75ff9954c036d1
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

arch/arm/mach-pxa/built-in.o: In function `mainstone_init':

>> arch/arm/mach-pxa/mainstone.c:560: undefined reference to `gpio_reg_init'

arch/arm/mach-pxa/mainstone.c:563: undefined reference to `gpio_reg_init'

vim +560 arch/arm/mach-pxa/mainstone.c

554 {
555 int SW7 = 0; /* FIXME: get from SCR (Mst doc section 3.2.1.1) */
556
557 pxa2xx_mfp_config(ARRAY_AND_SIZE(mainstone_pin_config));
558
559 /* Register board control register(s) as GPIOs */

 > 560		gpio_reg_init(NULL, (void __iomem *)&MST_PCMCIA0, -1, 11,

561 "mst-pcmcia0", MST_PCMCIA_INPUTS, 0, NULL,
562 NULL, mst_pcmcia0_irqs);
563 gpio_reg_init(NULL, (void __iomem *)&MST_PCMCIA1, -1, 11,

---
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: 12287 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160914/c8dff7fd/attachment.obj>

#1 lore raw

PATCH 80/81 arch/arm/mach-pxa/mainstone.c:560: undefined reference to `gpio_reg_init'

Quoted 12 lines · kbuild test robot
tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git sa1100
head:   36b075e9681a293ef57aaa107ab394bc879a0807
commit: 4c76c25bd4f755e2302807f99b75ff9954c036d1 [80/81] ARM: pxa/mainstone: convert PCMCIA to use MAX1600 driver and gpiod APIs
config: arm-mainstone_defconfig (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 4c76c25bd4f755e2302807f99b75ff9954c036d1
# save the attached .config to linux build tree
make.cross ARCH=arm

Quoted 5 lines

All errors (new ones prefixed by >>):

arch/arm/mach-pxa/built-in.o: In function `mainstone_init':

Quoted 1 line
Quoted 1 line

arch/arm/mach-pxa/mainstone.c:560: undefined reference to `gpio_reg_init'

arch/arm/mach-pxa/mainstone.c:563: undefined reference to `gpio_reg_init'

Thanks, fixed.

Signature · 3 lines
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.