All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Ian Campbell <ian.campbell@citrix.com>
Cc: tim@xen.org, julien.grall@linaro.org,
	stefano.stabellini@citrix.com, xen-devel@lists.xen.org
Subject: Re: [PATCH v1 1/2] xen/arm: Add Cadence UART driver
Date: Fri, 6 Mar 2015 11:08:42 +1000	[thread overview]
Message-ID: <20150306010842.GC9306@toto> (raw)
In-Reply-To: <1425575182.25940.275.camel@citrix.com>

On Thu, Mar 05, 2015 at 05:06:22PM +0000, Ian Campbell wrote:
> On Thu, 2015-03-05 at 18:27 +1000, Edgar E. Iglesias wrote:
> > Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
> > ---
> >  config/arm64.mk                    |   1 +
> >  xen/drivers/char/Makefile          |   1 +
> >  xen/drivers/char/cadence-uart.c    | 222 +++++++++++++++++++++++++++++++++++++
> >  xen/include/asm-arm/cadence-uart.h |  55 +++++++++
> >  4 files changed, 279 insertions(+)
> >  create mode 100644 xen/drivers/char/cadence-uart.c
> >  create mode 100644 xen/include/asm-arm/cadence-uart.h
> 
> I tried to apply this but:
> 
> cadence-uart.c:211:5: error: unknown field 'compatible' specified in initializer
>      .compatible = cuart_dt_compat,
>      ^
> cadence-uart.c:211:5: error: initialization from incompatible pointer type [-Werror]
> cadence-uart.c:211:5: error: (near initialization for '__dev_desc_cuart.dt_match') [-Werror]
> cc1: all warnings being treated as errors
> 
> I think because this patch needs to be rebased onto:
> commit f9eff198f9d4863e80078a33001a9bb90a99a4b1
> Author: Julien Grall <julien.grall@linaro.org>
> Date:   Wed Feb 25 18:52:57 2015 +0000
> 
>     xen/arm: Describe devices supported by a driver with dt_device_match
>     
>     Xen is currently using a list of compatible strings to match drivers again
>     device nodes. This leads to having double definitions in the GIC
>     code.
>     
>     Furthermore Linux drivers are using dt_device_match (actually called
>     of_device_id in Linux) to list device supported by the drivers.
>     
>     Remove the exisiting compatible field and replace with a dt_match field
>     
>     Signed-off-by: Julien Grall <julien.grall@linaro.org>
>     Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
>     Acked-by: Ian Campbell <ian.campbell@citrix.com>
> 
> Which is currently in the staging branch (this is the pre automated test
> branch, normally master is fine but sometimes there can be conflicts).
> 
> Please could you rebase and resend.

Thanks Ian,

I've rebased and sending out a v2 now.

Cheers,
Edgar


> 
> Thanks,
> Ian.

  reply	other threads:[~2015-03-06  1:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-05  8:27 [PATCH v1 0/2] Add support for Xilinx ZynqMP SoC Edgar E. Iglesias
2015-03-05  8:27 ` [PATCH v1 1/2] xen/arm: Add Cadence UART driver Edgar E. Iglesias
2015-03-05 17:06   ` Ian Campbell
2015-03-06  1:08     ` Edgar E. Iglesias [this message]
2015-03-05  8:27 ` [PATCH v1 2/2] xen/arm: Add Xilinx ZynqMP early printk support Edgar E. Iglesias
2015-03-05 16:50 ` [PATCH v1 0/2] Add support for Xilinx ZynqMP SoC Ian Campbell
2015-03-06  1:31   ` Edgar E. Iglesias
2015-03-06  9:44     ` Ian Campbell
2015-03-09  3:14       ` Edgar E. Iglesias
2015-03-09 11:09         ` Ian Campbell
2015-03-09 12:07           ` Edgar E. Iglesias

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=20150306010842.GC9306@toto \
    --to=edgar.iglesias@gmail.com \
    --cc=ian.campbell@citrix.com \
    --cc=julien.grall@linaro.org \
    --cc=stefano.stabellini@citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.