linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Suggestion] ARM64:kernel: compiling issue for early_console.
@ 2013-03-27 11:44 Chen Gang
  2013-03-27 11:55 ` Catalin Marinas
  0 siblings, 1 reply; 12+ messages in thread
From: Chen Gang @ 2013-03-27 11:44 UTC (permalink / raw)
  To: catalin.marinas, Will Deacon, marc.zyngier, anup.patel, Arnd Bergmann
  Cc: linux-arm-kernel, linux-kernel

Hello Maintainers:

  it is a compiling issue for early_console.

  the make command:
    make V=1 EXTRA_CFLAGS=-W ARCH=arm64 allmodconfig
    make V=1 EXTRA_CFLAGS=-W ARCH=arm64 menuconfig
      set aarch64-linux-gnu- for tool chain prefix.
    make V=1 EXTRA_CFLAGS=-W ARCH=arm64

  the error message:
    arch/arm64/kernel/early_printk.c: At top level:
    arch/arm64/kernel/early_printk.c:98:23: error: conflicting types for ‘early_console’
    In file included from arch/arm64/kernel/early_printk.c:20:0:
    include/linux/console.h:145:24: note: previous declaration of ‘early_console’ was here
    make[1]: *** [arch/arm64/kernel/early_printk.o] Error 1
    make: *** [arch/arm64/kernel] Error 2


  I guess, we can just reference the 32-bit arm implementation is ok.
    (it is in arch/arm/kernel/early_printk.c line 32..44)

  if really just like what I guess, may I send related patch for it ?

  :-)


gchen.

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

end of thread, other threads:[~2013-04-20  1:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-27 11:44 [Suggestion] ARM64:kernel: compiling issue for early_console Chen Gang
2013-03-27 11:55 ` Catalin Marinas
2013-03-27 12:02   ` Chen Gang
2013-04-03  8:13     ` Chen Gang
2013-04-03 11:39       ` Christopher Covington
2013-04-03 13:00         ` Chen Gang
2013-04-17  9:10           ` Chen Gang
2013-04-19 10:53             ` [PATCH] ARM64: kernel: compiling issue, duplicate definition of early_console Chen Gang
2013-04-19 12:15               ` Arnd Bergmann
2013-04-20  1:55                 ` Chen Gang
2013-04-19 12:31               ` Catalin Marinas
2013-04-20  1:54                 ` Chen Gang

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).