From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Andrzej Siewior Subject: Re: Fwd: [PATCH] x86/devicetree: Fix compile warnings on AMD64 Date: Thu, 28 Aug 2014 15:13:59 +0200 Message-ID: <53FF2B17.4030600@linutronix.de> References: <1407230388-14211-1-git-send-email-ricardo.ribalda@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ricardo Ribalda Delgado , Ingo Molnar , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org List-Id: devicetree@vger.kernel.org On 08/28/2014 03:04 PM, Ricardo Ribalda Delgado wrote: > ---------- Forwarded message ---------- > From: Ricardo Ribalda Delgado > Date: Tue, Aug 5, 2014 at 11:19 AM > Subject: [PATCH] x86/devicetree: Fix compile warnings on AMD64 > To: Thomas Gleixner , Ingo Molnar > , "H. Peter Anvin" , x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, > Grant Likely , Rob Herring = , > Michal Simek , Tony Lindgren , > linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: Ricardo Ribalda Delgado =E2=87=91 this makes it not a valid patch submission. > arch/x86/kernel/devicetree.c: In function =E2=80=98ioapic_xlate=E2=80= =99: > arch/x86/kernel/devicetree.c:294:8: warning: cast from pointer to > integer of different size [-Wpointer-to-int-cast] > idx =3D (__force u32) domain->host_data; > ^ > arch/x86/kernel/devicetree.c: In function =E2=80=98dt_add_ioapic_doma= in=E2=80=99: > arch/x86/kernel/devicetree.c:323:4: warning: cast to pointer from > integer of different size [-Wint-to-pointer-cast] > (void *)ioapic_num); >=20 > Signed-off-by: Ricardo Ribalda Delgado while the patch fixes the type cast warnings, it makes me wonder: How did you enable it on 64bit? Both platforms (that is CE4100 and OLPC) are 32bit only. Sebastian -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html