From: Ian Campbell Subject: Re: [PATCH V1 04/29] xen/dts: Constify device_tree_flattened Date: Tue, 10 Sep 2013 11:44:22 +0100 Message-ID: <1378809862.21748.90.camel@kazak.uk.xensource.com> References: <1377701263-3319-1-git-send-email-julien.grall@linaro.org> <1377701263-3319-5-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1377701263-3319-5-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: stefano.stabellini@eu.citrix.com, andre.przywara@linaro.org, patches@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2013-08-28 at 15:47 +0100, Julien Grall wrote: > The Flat Device Tree is given by the bootloader. Xen doesn't need to modify it. On arm64 this gives: setup.c: In function 'setup_mm': setup.c:475:5: error: passing argument 1 of 'copy_from_paddr' discards 'const' qualifier from pointer target type [-Werror] In file included from setup.c:40:0: /local/scratch/ianc/devel/committer.git/xen/include/asm/setup.h:8:6: note: expected 'void *' but argument is of type 'const void *' cc1: all warnings being treated as errors make[4]: *** [setup.o] Error 1 make[4]: *** Waiting for unfinished jobs....