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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 08/28/2014 03:04 PM, Ricardo Ribalda Delgado wrote:
> ---------- Forwarded message ----------
> From: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>
> Date: Tue, Aug 5, 2014 at 11:19 AM
> Subject: [PATCH] x86/devicetree: Fix compile warnings on AMD64
> To: Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar
> <mingo@xxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, x86@xxxxxxxxxx,
> Grant Likely <grant.likely@xxxxxxxxxx>, Rob Herring <robh@xxxxxxxxxx>,
> Michal Simek <monstr@xxxxxxxxx>, Tony Lindgren <tony@xxxxxxxxxxx>,
> linux-kernel@xxxxxxxxxxxxxxx
> Cc: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>

⇑
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 <ricardo.ribalda@xxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux