* [PATCH v2] Remove the parameter not described warning
@ 2023-09-06 16:51 Vinayak Hegde
2023-09-06 17:31 ` Sumit Semwal
2023-09-06 18:10 ` Helen Koike
0 siblings, 2 replies; 3+ messages in thread
From: Vinayak Hegde @ 2023-09-06 16:51 UTC (permalink / raw)
To: sumit.semwal, gustavo; +Cc: linux-media, dri-devel, linux-kernel
I encountered a warning during kernel documentation compilation
due to a missing colon in the documentation for the
'num_fences' variable in the sync_file.h header file.
This change adds the missing colon to align with the documentation format.
Signed-off-by: Vinayak Hegde <vinayakph123@gmail.com>
---
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..b389a5495181 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.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Remove the parameter not described warning
2023-09-06 16:51 [PATCH v2] Remove the parameter not described warning Vinayak Hegde
@ 2023-09-06 17:31 ` Sumit Semwal
2023-09-06 18:10 ` Helen Koike
1 sibling, 0 replies; 3+ messages in thread
From: Sumit Semwal @ 2023-09-06 17:31 UTC (permalink / raw)
To: Vinayak Hegde; +Cc: gustavo, linux-media, dri-devel, linux-kernel
Hi Vinayak,
On Wed, 6 Sept 2023 at 22:21, Vinayak Hegde <vinayakph123@gmail.com> wrote:
>
> I encountered a warning during kernel documentation compilation
> due to a missing colon in the documentation for the
> 'num_fences' variable in the sync_file.h header file.
> This change adds the missing colon to align with the documentation format.
>
> Signed-off-by: Vinayak Hegde <vinayakph123@gmail.com>
Thanks for your patch; I'll queue it via drm-misc.
> ---
> 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..b389a5495181 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.34.1
>
Best,
Sumit.
--
Thanks and regards,
Sumit Semwal (he / him)
Tech Lead - LCG, Vertical Technologies
Linaro.org │ Open source software for ARM SoCs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Remove the parameter not described warning
2023-09-06 16:51 [PATCH v2] Remove the parameter not described warning Vinayak Hegde
2023-09-06 17:31 ` Sumit Semwal
@ 2023-09-06 18:10 ` Helen Koike
1 sibling, 0 replies; 3+ messages in thread
From: Helen Koike @ 2023-09-06 18:10 UTC (permalink / raw)
To: Vinayak Hegde, sumit.semwal, gustavo; +Cc: linux-kernel, dri-devel, linux-media
Hi Vinayak,
Thanks for you patch
On 06/09/2023 13:51, Vinayak Hegde wrote:
> I encountered a warning during kernel documentation compilation
Usually we write the commit message in imperative mood, please check:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-your-changes
> due to a missing colon in the documentation for the
> 'num_fences' variable in the sync_file.h header file.
> This change adds the missing colon to align with the documentation format.
>
> Signed-off-by: Vinayak Hegde <vinayakph123@gmail.com>
> ---
> 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..b389a5495181 100644
> --- a/include/uapi/linux/sync_file.h
> +++ b/include/uapi/linux/sync_file.h
Since you are modifying this file, if you run:
git log --oneline include/uapi/linux/sync_file.h
you will notice that almost all changes start with "dma-buf/sync_file:"
prefix, it would be nice to maintain the style pattern for the commit title.
Regards,
Helen
> @@ -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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-06 18:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06 16:51 [PATCH v2] Remove the parameter not described warning Vinayak Hegde
2023-09-06 17:31 ` Sumit Semwal
2023-09-06 18:10 ` Helen Koike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox