devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Andrzej Siewior <bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
To: Ricardo Ribalda Delgado
	<ricardo.ribalda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Ingo Molnar <mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org
Subject: Re: Fwd: [PATCH] x86/devicetree: Fix compile warnings on AMD64
Date: Thu, 28 Aug 2014 15:13:59 +0200	[thread overview]
Message-ID: <53FF2B17.4030600@linutronix.de> (raw)
In-Reply-To: <CAPybu_39pLQ6gvKOPuLNCnn46Y50QU36C5thJmxrNmCzGN+MAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 08/28/2014 03:04 PM, Ricardo Ribalda Delgado wrote:
> ---------- Forwarded message ----------
> From: Ricardo Ribalda Delgado <ricardo.ribalda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> Date: Tue, Aug 5, 2014 at 11:19 AM
> Subject: [PATCH] x86/devicetree: Fix compile warnings on AMD64
> To: Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>, Ingo Molnar
> <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>, "H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
> Grant Likely <grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>, Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
> Michal Simek <monstr-pSz03upnqPeHXe+LvDLADg@public.gmane.org>, Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
> linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Cc: Ricardo Ribalda Delgado <ricardo.ribalda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

⇑
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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

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

  parent reply	other threads:[~2014-08-28 13:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1407230388-14211-1-git-send-email-ricardo.ribalda@gmail.com>
     [not found] ` <1407230388-14211-1-git-send-email-ricardo.ribalda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-28 13:04   ` Fwd: [PATCH] x86/devicetree: Fix compile warnings on AMD64 Ricardo Ribalda Delgado
     [not found]     ` <CAPybu_39pLQ6gvKOPuLNCnn46Y50QU36C5thJmxrNmCzGN+MAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-28 13:13       ` Sebastian Andrzej Siewior [this message]
     [not found]         ` <53FF2B17.4030600-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2014-08-28 13:23           ` Ricardo Ribalda Delgado
     [not found]             ` <CAPybu_2shGr+OROg=QkQwmXW4wmNEVzKypKOJRyiZxZh37bp3g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-28 13:34               ` Sebastian Andrzej Siewior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53FF2B17.4030600@linutronix.de \
    --to=bigeasy-hfztesqfncyowbw4kg4ksq@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=ricardo.ribalda-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).