dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the xen-tip tree
@ 2018-07-30  5:12 Stephen Rothwell
  2018-07-30  7:40 ` Oleksandr Andrushchenko
  2018-08-16  0:09 ` Stephen Rothwell
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2018-07-30  5:12 UTC (permalink / raw)
  To: Juergen Gross, Konrad Rzeszutek Wilk, Stefano Stabellini,
	Boris Ostrovsky, Xen Devel, Dave Airlie, DRI
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Christian König, Oleksandr Andrushchenko

[-- Attachment #1: Type: text/plain, Size: 1387 bytes --]

Hi all,

After merging the xen-tip tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/xen/gntdev-dmabuf.c:360:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .attach = dmabuf_exp_ops_attach,
            ^~~~~~~~~~~~~~~~~~~~~

Caused by commit

  a240d6e42e28 ("xen/gntdev: Implement dma-buf export functionality")

interacting with commit

  a19741e5e5a9 ("dma_buf: remove device parameter from attach callback v2")

from the drm tree.

I have added the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 30 Jul 2018 15:08:21 +1000
Subject: [PATCH] xen/gntdev: fix up for attach callback API change

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/xen/gntdev-dmabuf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/xen/gntdev-dmabuf.c b/drivers/xen/gntdev-dmabuf.c
index faaa4d3970ea..744cfe9b0311 100644
--- a/drivers/xen/gntdev-dmabuf.c
+++ b/drivers/xen/gntdev-dmabuf.c
@@ -217,7 +217,6 @@ dmabuf_pages_to_sgt(struct page **pages, unsigned int nr_pages)
 }
 
 static int dmabuf_exp_ops_attach(struct dma_buf *dma_buf,
-				 struct device *target_dev,
 				 struct dma_buf_attachment *attach)
 {
 	struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach;
-- 
2.18.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: linux-next: build failure after merge of the xen-tip tree
  2018-07-30  5:12 linux-next: build failure after merge of the xen-tip tree Stephen Rothwell
@ 2018-07-30  7:40 ` Oleksandr Andrushchenko
  2018-08-16  0:09 ` Stephen Rothwell
  1 sibling, 0 replies; 3+ messages in thread
From: Oleksandr Andrushchenko @ 2018-07-30  7:40 UTC (permalink / raw)
  To: Stephen Rothwell, Juergen Gross, Konrad Rzeszutek Wilk,
	Stefano Stabellini, Boris Ostrovsky, Xen Devel, Dave Airlie, DRI
  Cc: Oleksandr Andrushchenko, Linux-Next Mailing List,
	Linux Kernel Mailing List, Christian König


> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 30 Jul 2018 15:08:21 +1000
> Subject: [PATCH] xen/gntdev: fix up for attach callback API change
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Thank you for your patch,
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build failure after merge of the xen-tip tree
  2018-07-30  5:12 linux-next: build failure after merge of the xen-tip tree Stephen Rothwell
  2018-07-30  7:40 ` Oleksandr Andrushchenko
@ 2018-08-16  0:09 ` Stephen Rothwell
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2018-08-16  0:09 UTC (permalink / raw)
  To: Dave Airlie, DRI
  Cc: Juergen Gross, Konrad Rzeszutek Wilk, Stefano Stabellini,
	Boris Ostrovsky, Xen Devel, Linux-Next Mailing List,
	Linux Kernel Mailing List, Christian König,
	Oleksandr Andrushchenko

[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]

Hi all,

On Mon, 30 Jul 2018 15:12:13 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the xen-tip tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/xen/gntdev-dmabuf.c:360:12: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
>   .attach = dmabuf_exp_ops_attach,
>             ^~~~~~~~~~~~~~~~~~~~~
> 
> Caused by commit
> 
>   a240d6e42e28 ("xen/gntdev: Implement dma-buf export functionality")
> 
> interacting with commit
> 
>   a19741e5e5a9 ("dma_buf: remove device parameter from attach callback v2")
> 
> from the drm tree.
> 
> I have added the following merge fix patch:
> 
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 30 Jul 2018 15:08:21 +1000
> Subject: [PATCH] xen/gntdev: fix up for attach callback API change
> 
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
>  drivers/xen/gntdev-dmabuf.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/xen/gntdev-dmabuf.c b/drivers/xen/gntdev-dmabuf.c
> index faaa4d3970ea..744cfe9b0311 100644
> --- a/drivers/xen/gntdev-dmabuf.c
> +++ b/drivers/xen/gntdev-dmabuf.c
> @@ -217,7 +217,6 @@ dmabuf_pages_to_sgt(struct page **pages, unsigned int nr_pages)
>  }
>  
>  static int dmabuf_exp_ops_attach(struct dma_buf *dma_buf,
> -				 struct device *target_dev,
>  				 struct dma_buf_attachment *attach)
>  {
>  	struct gntdev_dmabuf_attachment *gntdev_dmabuf_attach;

This is now a conflict between Linus' tree and the drm tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-16  0:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30  5:12 linux-next: build failure after merge of the xen-tip tree Stephen Rothwell
2018-07-30  7:40 ` Oleksandr Andrushchenko
2018-08-16  0:09 ` Stephen Rothwell

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).