Thread (1 message) 1 message, 1 author, 2014-08-28

Re: Fwd: [PATCH] x86/devicetree: Fix compile warnings on AMD64

From: Sebastian Andrzej Siewior <hidden>
Date: 2014-08-28 13:13:59

On 08/28/2014 03:04 PM, Ricardo Ribalda Delgado wrote:
---------- Forwarded message ----------
From: Ricardo Ribalda Delgado <redacted>
Date: Tue, Aug 5, 2014 at 11:19 AM
Subject: [PATCH] x86/devicetree: Fix compile warnings on AMD64
To: Thomas Gleixner <redacted>, Ingo Molnar
[off-list ref], "H. Peter Anvin" [off-list ref], x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
Grant Likely [off-list ref], Rob Herring [off-list ref],
Michal Simek [off-list ref], Tony Lindgren [off-list ref],
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Ricardo Ribalda Delgado <redacted>
⇑
this makes it not a valid patch submission.
arch/x86/kernel/devicetree.c: In function ‘ioapic_xlate’:
arch/x86/kernel/devicetree.c:294:8: warning: cast from pointer to
integer of different size [-Wpointer-to-int-cast]
  idx = (__force u32) domain->host_data;
        ^
arch/x86/kernel/devicetree.c: In function ‘dt_add_ioapic_domain’:
arch/x86/kernel/devicetree.c:323:4: warning: cast to pointer from
integer of different size [-Wint-to-pointer-cast]
    (void *)ioapic_num);

Signed-off-by: Ricardo Ribalda Delgado <redacted>
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" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help