devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolas Pitre <nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Shawn Guo <shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>
Subject: Re: ARM_ATAG_DTB_COMPAT fails on fdt_ro.c compiling
Date: Tue, 9 Oct 2012 00:25:44 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.02.1210090018470.16518@xanadu.home> (raw)
In-Reply-To: <20121009031715.GC21822-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1966 bytes --]

On Tue, 9 Oct 2012, Shawn Guo wrote:

> I have seen this error on mainline for a couple days when
> ARM_ATAG_DTB_COMPAT is enabled.
> 
>   CC      arch/arm/boot/compressed/fdt_ro.o
> arch/arm/boot/compressed/fdt_ro.c: In function ‘fdt_path_offset’:
> arch/arm/boot/compressed/fdt_ro.c:172:3: error: implicit declaration of function ‘fdt_get_alias_namelen’ [-Werror=implicit-function-declaration]
> arch/arm/boot/compressed/fdt_ro.c:172:5: warning: assignment makes pointer from integer without a cast [enabled by default]
> arch/arm/boot/compressed/fdt_ro.c: At top level:
> arch/arm/boot/compressed/fdt_ro.c:340:13: error: conflicting types for ‘fdt_get_alias_namelen’
> arch/arm/boot/compressed/fdt_ro.c:172:7: note: previous implicit declaration of ‘fdt_get_alias_namelen’ was here
> cc1: some warnings being treated as errors

I just tried building mainline now.  It is at commit f5a246eab9.

  [...]
  CC      arch/arm/boot/compressed/misc.o
  CC      arch/arm/boot/compressed/decompress.o
  CC      arch/arm/boot/compressed/string.o
  SHIPPED arch/arm/boot/compressed/fdt_rw.c
  SHIPPED arch/arm/boot/compressed/fdt.h
  SHIPPED arch/arm/boot/compressed/libfdt.h
  SHIPPED arch/arm/boot/compressed/libfdt_internal.h
  CC      arch/arm/boot/compressed/fdt_rw.o
  SHIPPED arch/arm/boot/compressed/fdt_ro.c
  CC      arch/arm/boot/compressed/fdt_ro.o
  SHIPPED arch/arm/boot/compressed/fdt_wip.c
  CC      arch/arm/boot/compressed/fdt_wip.o
  SHIPPED arch/arm/boot/compressed/fdt.c
  CC      arch/arm/boot/compressed/fdt.o
  CC      arch/arm/boot/compressed/atags_to_fdt.o
  SHIPPED arch/arm/boot/compressed/lib1funcs.S
  AS      arch/arm/boot/compressed/lib1funcs.o
  SHIPPED arch/arm/boot/compressed/ashldi3.S
  AS      arch/arm/boot/compressed/ashldi3.o
  LD      arch/arm/boot/compressed/vmlinux
  OBJCOPY arch/arm/boot/zImage
  Kernel: arch/arm/boot/zImage is ready

What config do you use?


Nicolas

[-- Attachment #2: Type: text/plain, Size: 192 bytes --]

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

  parent reply	other threads:[~2012-10-09  4:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-09  3:17 ARM_ATAG_DTB_COMPAT fails on fdt_ro.c compiling Shawn Guo
     [not found] ` <20121009031715.GC21822-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-10-09  4:25   ` Nicolas Pitre [this message]
     [not found]     ` <alpine.LFD.2.02.1210090018470.16518-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2012-10-09  5:01       ` Shawn Guo
     [not found]         ` <20121009050109.GD21822-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-10-09 16:15           ` Stephen Warren
     [not found]             ` <50744DBA.3070900-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-10-09 16:21               ` Fabio Estevam
     [not found]                 ` <CAOMZO5BgJ0eSPvhnjCx_DVAUdLKpEhp-amJQw-8NZDX9AfCDeA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-10-11  7:24                   ` Shawn Guo
     [not found]                     ` <20121011072428.GA26298-rvtDTF3kK1ictlrPMvKcciBecyulp+rMXqFh9Ls21Oc@public.gmane.org>
2012-10-11 16:08                       ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.02.1210090018470.16518@xanadu.home \
    --to=nicolas.pitre-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=shawn.guo-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).