mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dma-buf: Add forward declaration of struct seq_file in dma-fence.h
@ 2025-05-30  8:40 Herbert Xu
  2025-06-02 12:33 ` Christian König
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2025-05-30  8:40 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Sumit Semwal, Christian König,
	linux-media, dri-devel

Add forward declaration of struct seq_file before using it in
function prototype.

Fixes: a25efb3863d0 ("dma-buf: add dma_fence_describe and dma_resv_describe v2")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h
index e7ad819962e3..b751ae49d007 100644
--- a/include/linux/dma-fence.h
+++ b/include/linux/dma-fence.h
@@ -26,6 +26,7 @@
 struct dma_fence;
 struct dma_fence_ops;
 struct dma_fence_cb;
+struct seq_file;
 
 /**
  * struct dma_fence - software synchronization primitive
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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

* Re: [PATCH] dma-buf: Add forward declaration of struct seq_file in dma-fence.h
  2025-05-30  8:40 [PATCH] dma-buf: Add forward declaration of struct seq_file in dma-fence.h Herbert Xu
@ 2025-06-02 12:33 ` Christian König
  0 siblings, 0 replies; 2+ messages in thread
From: Christian König @ 2025-06-02 12:33 UTC (permalink / raw)
  To: Herbert Xu, Linux Kernel Mailing List, Sumit Semwal, linux-media,
	dri-devel

On 5/30/25 10:40, Herbert Xu wrote:
> Add forward declaration of struct seq_file before using it in
> function prototype.
> 
> Fixes: a25efb3863d0 ("dma-buf: add dma_fence_describe and dma_resv_describe v2")

I've removed this fixes tag since this is basically just a cleanup and not really a bug fix.

If compilation would have failed we would have noticed that much earlier.

Added my rb and pushed the result to drm-misc-next.

Thanks,
Christian.


> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
> 
> diff --git a/include/linux/dma-fence.h b/include/linux/dma-fence.h
> index e7ad819962e3..b751ae49d007 100644
> --- a/include/linux/dma-fence.h
> +++ b/include/linux/dma-fence.h
> @@ -26,6 +26,7 @@
>  struct dma_fence;
>  struct dma_fence_ops;
>  struct dma_fence_cb;
> +struct seq_file;
>  
>  /**
>   * struct dma_fence - software synchronization primitive


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

end of thread, other threads:[~2025-06-02 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-30  8:40 [PATCH] dma-buf: Add forward declaration of struct seq_file in dma-fence.h Herbert Xu
2025-06-02 12:33 ` Christian König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®