public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* arch/arm/mach-at91/setup.c:96:2: error: #endif without #if
@ 2012-10-06  2:55 Fengguang Wu
  2012-10-06  6:10 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-10-06  2:55 UTC (permalink / raw)
  To: kernel-janitors

Hi Arnd,

FYI, kernel build failed on

commit: 9afdc3db4684b300aca16bffff4a7f108feb3043  Merge branch 'late/fixes' into for-next
config: arm-at91_dt_defconfig

All error/warnings:

arch/arm/mach-at91/setup.c:96:2: error: #endif without #if

vim +96 arch/arm/mach-at91/setup.c

ac09281a (Arnd Bergmann                    2012-04-30  90) static struct map_desc at91_io_desc __initdata __maybe_unused = {
dca4ba41 (Arnd Bergmann                    2012-09-14  91) 	.virtual	= (unsigned long)AT91_VA_BASE_SYS,
21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  92) 	.pfn		= __phys_to_pfn(AT91_BASE_SYS),
21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  93) 	.length		= SZ_16K,
21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  94) 	.type		= MT_DEVICE,
21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  95) };
2e8e5ad6 (Arnd Bergmann                    2012-04-30 @96) #endif
21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  97) 
8c3583b6 (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  98) static void __init soc_detect(u32 dbgu_base)
21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  99) {

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

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

* Re: arch/arm/mach-at91/setup.c:96:2: error: #endif without #if
  2012-10-06  2:55 arch/arm/mach-at91/setup.c:96:2: error: #endif without #if Fengguang Wu
@ 2012-10-06  6:10 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2012-10-06  6:10 UTC (permalink / raw)
  To: kernel-janitors

On Saturday 06 October 2012, Fengguang Wu wrote:
> FYI, kernel build failed on
> 
> commit: 9afdc3db4684b300aca16bffff4a7f108feb3043  Merge branch 'late/fixes' into for-next
> config: arm-at91_dt_defconfig
> 
> All error/warnings:
> 
> arch/arm/mach-at91/setup.c:96:2: error: #endif without #if

Thansk for the report. There is actually a second bug from the same at91 mismerge,
see patch below.

> vim +96 arch/arm/mach-at91/setup.c
> 
> ac09281a (Arnd Bergmann                    2012-04-30  90) static struct map_desc at91_io_desc __initdata __maybe_unused = {
> dca4ba41 (Arnd Bergmann                    2012-09-14  91)      .virtual        = (unsigned long)AT91_VA_BASE_SYS,
> 21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  92)      .pfn            = __phys_to_pfn(AT91_BASE_SYS),
> 21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  93)      .length         = SZ_16K,
> 21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  94)      .type           = MT_DEVICE,
> 21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  95) };
> 2e8e5ad6 (Arnd Bergmann                    2012-04-30 @96) #endif
> 21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  97) 
> 8c3583b6 (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  98) static void __init soc_detect(u32 dbgu_base)
> 21d08b9d (Jean-Christophe PLAGNIOL-VILLARD 2011-04-23  99) {

I fixed it already in the for-next branch, but Stephen hasn't built a new kernel since
I uploaded that.

	Arnd

@@ -135,9 +135,7 @@ static int at91_pm_begin(suspend_state_t state)
 static int at91_pm_verify_clocks(void)
 {
        unsigned long scsr;
-#ifdef CONFIG_AT91_PROGRAMMABLE_CLOCKS
        int i;
-#endif
 
        scsr = at91_pmc_read(AT91_PMC_SCSR);
 

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

end of thread, other threads:[~2012-10-06  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-06  2:55 arch/arm/mach-at91/setup.c:96:2: error: #endif without #if Fengguang Wu
2012-10-06  6:10 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox