* [linuxtv-media:master 1071/1091] arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared here (not in a function)
@ 2017-01-30 19:53 kbuild test robot
2017-01-30 21:58 ` Sean Young
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-01-30 19:53 UTC (permalink / raw)
To: Sean Young; +Cc: kbuild-all, linux-media, Mauro Carvalho Chehab
[-- Attachment #1: Type: text/plain, Size: 2502 bytes --]
tree: git://linuxtv.org/media_tree.git master
head: a052af2a548decf1da5cccf9e777aa02321e3ffb
commit: a92def1becf33e91fc460c7ae575aa9210ba8f40 [1071/1091] [media] ir-rx51: port to rc-core
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
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 a92def1becf33e91fc460c7ae575aa9210ba8f40
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
>> arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared here (not in a function)
OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", &rx51_lirc_data),
^
include/linux/of_platform.h:52:21: note: in definition of macro 'OF_DEV_AUXDATA'
.platform_data = _pdata }
^~~~~~
vim +/rx51_lirc_data +536 arch/arm/mach-omap2/pdata-quirks.c
036582f76 Tony Lindgren 2013-11-25 530 #endif
30a69ef78 Tony Lindgren 2013-10-10 531 #ifdef CONFIG_ARCH_OMAP3
910f1678b Suman Anna 2014-03-05 532 OF_DEV_AUXDATA("ti,omap2-iommu", 0x5d000000, "5d000000.mmu",
910f1678b Suman Anna 2014-03-05 533 &omap3_iommu_pdata),
10c1f7d32 Tony Lindgren 2016-04-28 534 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x4809c000, "4809c000.mmc", &mmc_pdata[0]),
10c1f7d32 Tony Lindgren 2016-04-28 535 OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x480b4000, "480b4000.mmc", &mmc_pdata[1]),
b54061769 Ivaylo Dimitrov 2016-06-22 @536 OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", &rx51_lirc_data),
719003144 Tony Lindgren 2013-12-06 537 /* Only on am3517 */
719003144 Tony Lindgren 2013-12-06 538 OF_DEV_AUXDATA("ti,davinci_mdio", 0x5c030000, "davinci_mdio.0", NULL),
719003144 Tony Lindgren 2013-12-06 539 OF_DEV_AUXDATA("ti,am3517-emac", 0x5c000000, "davinci_emac.0",
:::::: The code at line 536 was first introduced by commit
:::::: b5406176989da601736db862643d3d7ee8335815 ir-rx51: add DT support to driver
:::::: TO: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
:::::: CC: Tony Lindgren <tony@atomide.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39872 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linuxtv-media:master 1071/1091] arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared here (not in a function)
2017-01-30 19:53 [linuxtv-media:master 1071/1091] arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared here (not in a function) kbuild test robot
@ 2017-01-30 21:58 ` Sean Young
0 siblings, 0 replies; 2+ messages in thread
From: Sean Young @ 2017-01-30 21:58 UTC (permalink / raw)
To: kbuild test robot; +Cc: kbuild-all, linux-media, Mauro Carvalho Chehab
On Tue, Jan 31, 2017 at 03:53:54AM +0800, kbuild test robot wrote:
> tree: git://linuxtv.org/media_tree.git master
> head: a052af2a548decf1da5cccf9e777aa02321e3ffb
> commit: a92def1becf33e91fc460c7ae575aa9210ba8f40 [1071/1091] [media] ir-rx51: port to rc-core
> config: arm-multi_v7_defconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> 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 a92def1becf33e91fc460c7ae575aa9210ba8f40
> # save the attached .config to linux build tree
> make.cross ARCH=arm
>
> All errors (new ones prefixed by >>):
>
> In file included from arch/arm/mach-omap2/pdata-quirks.c:15:0:
> >> arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared here (not in a function)
> OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", &rx51_lirc_data),
> ^
> include/linux/of_platform.h:52:21: note: in definition of macro 'OF_DEV_AUXDATA'
> .platform_data = _pdata }
Oh dear, that should have been rx51_ir_data. The patch below fixes it.
Sean
>From 7813bce59dca0eb7f9af1626fc9cd6ef1ddea9a5 Mon Sep 17 00:00:00 2001
From: Sean Young <sean@mess.org>
Date: Mon, 30 Jan 2017 19:58:19 +0000
Subject: [PATCH] [media] rx51: broken build
Since "a92def1 [media] ir-rx51: port to rc-core" the build fails on
some arm configurations.
Signed-off-by: Sean Young <sean@mess.org>
---
arch/arm/mach-omap2/pdata-quirks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 9f06074..dc3b6c8 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -533,7 +533,7 @@ static struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
&omap3_iommu_pdata),
OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x4809c000, "4809c000.mmc", &mmc_pdata[0]),
OF_DEV_AUXDATA("ti,omap3-hsmmc", 0x480b4000, "480b4000.mmc", &mmc_pdata[1]),
- OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", &rx51_lirc_data),
+ OF_DEV_AUXDATA("nokia,n900-ir", 0, "n900-ir", &rx51_ir_data),
/* Only on am3517 */
OF_DEV_AUXDATA("ti,davinci_mdio", 0x5c030000, "davinci_mdio.0", NULL),
OF_DEV_AUXDATA("ti,am3517-emac", 0x5c000000, "davinci_emac.0",
--
2.9.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-30 21:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-30 19:53 [linuxtv-media:master 1071/1091] arch/arm/mach-omap2/pdata-quirks.c:536:49: error: 'rx51_lirc_data' undeclared here (not in a function) kbuild test robot
2017-01-30 21:58 ` Sean Young
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).