linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dma-buf/sync_file: Fix docs syntax
@ 2023-07-24 14:49 Rob Clark
  2023-07-24 15:19 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Clark @ 2023-07-24 14:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: Stephen Rothwell, dri-devel, Rob Clark, Sumit Semwal,
	Gustavo Padovan, Maarten Lankhorst, Daniel Vetter, Greg Hackmann,
	Greg Kroah-Hartman, open list:SYNC FILE FRAMEWORK

From: Rob Clark <robdclark@chromium.org>

Fixes the warning:

  include/uapi/linux/sync_file.h:77: warning: Function parameter or member 'num_fences' not described in 'sync_file_info'

Fixes: 2d75c88fefb2 ("staging/android: refactor SYNC IOCTLs")
Signed-off-by: Rob Clark <robdclark@chromium.org>
---
 include/uapi/linux/sync_file.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/sync_file.h b/include/uapi/linux/sync_file.h
index 7e42a5b7558b..ff0a931833e2 100644
--- a/include/uapi/linux/sync_file.h
+++ b/include/uapi/linux/sync_file.h
@@ -56,7 +56,7 @@ struct sync_fence_info {
  * @name:	name of fence
  * @status:	status of fence. 1: signaled 0:active <0:error
  * @flags:	sync_file_info flags
- * @num_fences	number of fences in the sync_file
+ * @num_fences:	number of fences in the sync_file
  * @pad:	padding for 64-bit alignment, should always be zero
  * @sync_fence_info: pointer to array of struct &sync_fence_info with all
  *		 fences in the sync_file
-- 
2.41.0


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

* Re: [PATCH] dma-buf/sync_file: Fix docs syntax
  2023-07-24 14:49 [PATCH] dma-buf/sync_file: Fix docs syntax Rob Clark
@ 2023-07-24 15:19 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2023-07-24 15:19 UTC (permalink / raw)
  To: Rob Clark, linux-kernel
  Cc: Stephen Rothwell, dri-devel, Rob Clark, Sumit Semwal,
	Gustavo Padovan, Maarten Lankhorst, Daniel Vetter, Greg Hackmann,
	Greg Kroah-Hartman, open list:SYNC FILE FRAMEWORK



On 7/24/23 07:49, Rob Clark wrote:
> From: Rob Clark <robdclark@chromium.org>
> 
> Fixes the warning:
> 
>   include/uapi/linux/sync_file.h:77: warning: Function parameter or member 'num_fences' not described in 'sync_file_info'
> 
> Fixes: 2d75c88fefb2 ("staging/android: refactor SYNC IOCTLs")
> Signed-off-by: Rob Clark <robdclark@chromium.org>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  include/uapi/linux/sync_file.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/sync_file.h b/include/uapi/linux/sync_file.h
> index 7e42a5b7558b..ff0a931833e2 100644
> --- a/include/uapi/linux/sync_file.h
> +++ b/include/uapi/linux/sync_file.h
> @@ -56,7 +56,7 @@ struct sync_fence_info {
>   * @name:	name of fence
>   * @status:	status of fence. 1: signaled 0:active <0:error
>   * @flags:	sync_file_info flags
> - * @num_fences	number of fences in the sync_file
> + * @num_fences:	number of fences in the sync_file
>   * @pad:	padding for 64-bit alignment, should always be zero
>   * @sync_fence_info: pointer to array of struct &sync_fence_info with all
>   *		 fences in the sync_file

-- 
~Randy

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

end of thread, other threads:[~2023-07-24 15:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-24 14:49 [PATCH] dma-buf/sync_file: Fix docs syntax Rob Clark
2023-07-24 15:19 ` Randy Dunlap

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