[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D3949E4.9010407@canonical.com>
Date: Fri, 21 Jan 2011 09:55:00 +0100
From: Stefan Bader <stefan.bader@...onical.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
CC: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build warning safter merge of the swiotlb-xen tree
On 01/21/2011 02:41 AM, Stephen Rothwell wrote:
> Hi Konrad,
>
> After merging the swiotlb-xen tree, today's linux-next build (x86_64
> allmodconfig) produced these warnings:
>
> arch/x86/xen/p2m.c: In function 'xen_build_dynamic_phys_to_machine':
> arch/x86/xen/p2m.c:251: warning: passing argument 1 of 'p2m_init' from incompatible pointer type
> arch/x86/xen/p2m.c:121: note: expected 'long unsigned int *' but argument is of type 'long unsigned int **'
> arch/x86/xen/p2m.c:254: warning: assignment makes pointer from integer without a cast
> arch/x86/xen/p2m.c:256: warning: assignment from incompatible pointer type
>
> Introduced by commit fc0976e2c086e6e518e32dcafedb5a2ba3ea297d ("xen: p2m:
> correctly initialize partial p2m leave").
>
Sorry about that. For some reason I was blinded to the fact that p2m holds longs
not pointers. And "unfortunately" it works either way. The following update
would remove the warnings. Not sure it can still be folded into the original patch.
-Stefan
View attachment "0002-xen-p2m-Use-the-correct-type-for-p2m-page.patch" of type "text/x-diff" (1180 bytes)
Powered by blists - more mailing lists