Skip to contentSkip to conversation

arch/arm/mach-omap2/board-generic.c:115:13: error: 'omap_prcm_restart' undeclared here (not in a function)

PATCH New kbuild test robot 3 participants 3 messages Nov 15, 2012

lore
Share & tools
lore

kbuild test robot

author build bot
#0 lore raw
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next
head:   85f1e7156cfb396d46327b9e6cdf4dbf576f3bcc
commit: 3b7b5ae34c4604e6a1e0724fc8bd60e44f07e1ef [24/32] Merge branch 'next/dt' into for-next
config: make ARCH=arm omap2plus_defconfig

Note: the arm-soc/for-next HEAD 85f1e71 builds fine.
It only hurts bisectibility.

All error/warnings:

arch/arm/mach-omap2/board-generic.c:115:13: error: 'omap_prcm_restart' undeclared here (not in a function)

vim +115 +/omap_prcm_restart arch/arm/mach-omap2/board-generic.c

7dd9d502 Jon Hunter     2012-09-12  109  	.init_early	= omap3430_init_early,
7dd9d502 Jon Hunter     2012-09-12  110  	.init_irq	= omap_intc_of_init,
7dd9d502 Jon Hunter     2012-09-12  111  	.handle_irq	= omap3_intc_handle_irq,
7dd9d502 Jon Hunter     2012-09-12  112  	.init_machine	= omap_generic_init,
7dd9d502 Jon Hunter     2012-09-12  113  	.timer		= &omap3_secure_timer,
7dd9d502 Jon Hunter     2012-09-12  114  	.dt_compat	= omap3_gp_boards_compat,
7dd9d502 Jon Hunter     2012-09-12 @115  	.restart	= omap_prcm_restart,
7dd9d502 Jon Hunter     2012-09-12  116  MACHINE_END
8d61649d Benoit Cousson 2011-09-20  117  #endif

8d61649d Benoit Cousson 2011-09-20 118

---
0-DAY kernel build testing backend Open Source Technology Center
Fengguang Wu, Yuanhan Liu Intel Corporation

#1 lore raw

PATCH 24/32 arch/arm/mach-omap2/board-generic.c:115:13: error: 'omap_prcm_restart' undeclared here (not in a function)

Quoted 23 lines · kbuild test robot
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next
head:   85f1e7156cfb396d46327b9e6cdf4dbf576f3bcc
commit: 3b7b5ae34c4604e6a1e0724fc8bd60e44f07e1ef [24/32] Merge branch 'next/dt' into for-next
config: make ARCH=arm omap2plus_defconfig

Note: the arm-soc/for-next HEAD 85f1e71 builds fine.
It only hurts bisectibility.

All error/warnings:

arch/arm/mach-omap2/board-generic.c:115:13: error: 'omap_prcm_restart' undeclared here (not in a function)

vim +115 +/omap_prcm_restart arch/arm/mach-omap2/board-generic.c

7dd9d502 Jon Hunter     2012-09-12  109  	.init_early	= omap3430_init_early,
7dd9d502 Jon Hunter     2012-09-12  110  	.init_irq	= omap_intc_of_init,
7dd9d502 Jon Hunter     2012-09-12  111  	.handle_irq	= omap3_intc_handle_irq,
7dd9d502 Jon Hunter     2012-09-12  112  	.init_machine	= omap_generic_init,
7dd9d502 Jon Hunter     2012-09-12  113  	.timer		= &omap3_secure_timer,
7dd9d502 Jon Hunter     2012-09-12  114  	.dt_compat	= omap3_gp_boards_compat,
7dd9d502 Jon Hunter     2012-09-12 @115  	.restart	= omap_prcm_restart,
7dd9d502 Jon Hunter     2012-09-12  116  MACHINE_END
8d61649d Benoit Cousson 2011-09-20  117  #endif
Quoted 1 line

8d61649d Benoit Cousson 2011-09-20 118

Thanks I've posted a fix for that. The solution is to use omap3xxx_restart there.

Regards,

Tony

#2 lore raw

PATCH 24/32 arch/arm/mach-omap2/board-generic.c:115:13: error: 'omap_prcm_restart' undeclared here (not in a function)

In reply to kbuild test robot
Quoted 5 lines · kbuild test robot
tree:   git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next
head:   85f1e7156cfb396d46327b9e6cdf4dbf576f3bcc
commit: 3b7b5ae34c4604e6a1e0724fc8bd60e44f07e1ef [24/32] Merge branch 'next/dt' into for-next
config: make ARCH=arm omap2plus_defconfig
Quoted 9 lines

Note: the arm-soc/for-next HEAD 85f1e71 builds fine.
It only hurts bisectibility.

All error/warnings:

arch/arm/mach-omap2/board-generic.c:115:13: error: 'omap_prcm_restart' undeclared here (not in a function)

vim +115 +/omap_prcm_restart arch/arm/mach-omap2/board-generic.c

Thanks for the fast report!

Not quite fast enough this time, I found the same problem 20 minutes earlier and immediately fixed it already ;-)

Tony also reported this one already.

Arnd