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