* [PATCH] kerneldoc: Fix two missing newlines in drm_connector.c
@ 2024-08-08 8:40 Daniel Yang
2024-08-08 14:45 ` Shuah Khan
2024-08-09 3:23 ` [PATCH v2] " Daniel Yang
0 siblings, 2 replies; 5+ messages in thread
From: Daniel Yang @ 2024-08-08 8:40 UTC (permalink / raw)
To: skhan
Cc: danielyangkang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Daniel Vetter, dri-devel,
linux-kernel
drm_connector.c has two kerneldoc comments that were missing newlines.
This results in the following warnings when running make htmldocs:
./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2344:
WARNING: Definition list ends without a blank line; unexpected unindent.
[docutils] ./Documentation/gpu/drm-kms:538:
./drivers/gpu/drm/drm_connector.c:2346: ERROR: Unexpected indentation.
[docutils] ./Documentation/gpu/drm-kms:538:
./drivers/gpu/drm/drm_connector.c:2368: WARNING: Block quote ends without a
blank line; unexpected unindent. [docutils] ./Documentation/gpu/drm-kms:538:
./drivers/gpu/drm/drm_connector.c:2381: ERROR: Unexpected indentation.
[docutils]
Signed-off-by: Daniel Yang <danielyangkang@gmail.com>
---
drivers/gpu/drm/drm_connector.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 80e239a6493..fc35f47e284 100644
--- a/drivers/gpu/drm/drm_connector.c
+++ b/drivers/gpu/drm/drm_connector.c
@@ -2342,7 +2342,9 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
*
* Default:
* The behavior is driver-specific.
+ *
* BT2020_RGB:
+ *
* BT2020_YCC:
* User space configures the pixel operation properties to produce
* RGB content with Rec. ITU-R BT.2020 colorimetry, Rec.
@@ -2366,6 +2368,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
* range.
* The variants BT2020_RGB and BT2020_YCC are equivalent and the
* driver chooses between RGB and YCbCr on its own.
+ *
* SMPTE_170M_YCC:
* BT709_YCC:
* XVYCC_601:
@@ -2378,6 +2381,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
* DCI-P3_RGB_Theater:
* RGB_WIDE_FIXED:
* RGB_WIDE_FLOAT:
+ *
* BT601_YCC:
* The behavior is undefined.
*
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] kerneldoc: Fix two missing newlines in drm_connector.c
2024-08-08 8:40 [PATCH] kerneldoc: Fix two missing newlines in drm_connector.c Daniel Yang
@ 2024-08-08 14:45 ` Shuah Khan
2024-08-09 3:23 ` [PATCH v2] " Daniel Yang
1 sibling, 0 replies; 5+ messages in thread
From: Shuah Khan @ 2024-08-08 14:45 UTC (permalink / raw)
To: Daniel Yang
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Daniel Vetter, dri-devel, linux-kernel, Shuah Khan
On 8/8/24 02:40, Daniel Yang wrote:
> drm_connector.c has two kerneldoc comments that were missing newlines.
> This results in the following warnings when running make htmldocs:
>
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2344:
> WARNING: Definition list ends without a blank line; unexpected unindent.
> [docutils] ./Documentation/gpu/drm-kms:538:
>
> ./drivers/gpu/drm/drm_connector.c:2346: ERROR: Unexpected indentation.
> [docutils] ./Documentation/gpu/drm-kms:538:
>
> ./drivers/gpu/drm/drm_connector.c:2368: WARNING: Block quote ends without a
> blank line; unexpected unindent. [docutils] ./Documentation/gpu/drm-kms:538:
>
> ./drivers/gpu/drm/drm_connector.c:2381: ERROR: Unexpected indentation.
> [docutils]
Add a line to say "Fix the unexpected indentation errors"
drm maintainers will have a final say on this. :)
>
> Signed-off-by: Daniel Yang <danielyangkang@gmail.com>
> ---
> drivers/gpu/drm/drm_connector.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 80e239a6493..fc35f47e284 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -2342,7 +2342,9 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> *
> * Default:
> * The behavior is driver-specific.
> + *
> * BT2020_RGB:
> + *
> * BT2020_YCC:
> * User space configures the pixel operation properties to produce
> * RGB content with Rec. ITU-R BT.2020 colorimetry, Rec.
> @@ -2366,6 +2368,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> * range.
> * The variants BT2020_RGB and BT2020_YCC are equivalent and the
> * driver chooses between RGB and YCbCr on its own.
> + *
> * SMPTE_170M_YCC:
> * BT709_YCC:
> * XVYCC_601:
> @@ -2378,6 +2381,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> * DCI-P3_RGB_Theater:
> * RGB_WIDE_FIXED:
> * RGB_WIDE_FLOAT:
> + *
> * BT601_YCC:
> * The behavior is undefined.
> *
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2] kerneldoc: Fix two missing newlines in drm_connector.c
2024-08-08 8:40 [PATCH] kerneldoc: Fix two missing newlines in drm_connector.c Daniel Yang
2024-08-08 14:45 ` Shuah Khan
@ 2024-08-09 3:23 ` Daniel Yang
2024-08-09 15:52 ` Shuah Khan
2024-08-12 13:08 ` Hamza Mahfooz
1 sibling, 2 replies; 5+ messages in thread
From: Daniel Yang @ 2024-08-09 3:23 UTC (permalink / raw)
To: skhan
Cc: danielyangkang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Daniel Vetter, dri-devel,
linux-kernel
Fix the unexpected indentation errors.
drm_connector.c has some kerneldoc comments that were missing newlines.
This results in the following warnings when running make htmldocs:
./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2344: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2346: ERROR: Unexpected indentation. [docutils]
./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2368: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2381: ERROR: Unexpected indentation. [docutils]
Signed-off-by: Daniel Yang <danielyangkang@gmail.com>
---
Notes:
v2: added "Fix the unexpected indentation errors" line to description.
drivers/gpu/drm/drm_connector.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
index 80e239a6493..fc35f47e284 100644
--- a/drivers/gpu/drm/drm_connector.c
+++ b/drivers/gpu/drm/drm_connector.c
@@ -2342,7 +2342,9 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
*
* Default:
* The behavior is driver-specific.
+ *
* BT2020_RGB:
+ *
* BT2020_YCC:
* User space configures the pixel operation properties to produce
* RGB content with Rec. ITU-R BT.2020 colorimetry, Rec.
@@ -2366,6 +2368,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
* range.
* The variants BT2020_RGB and BT2020_YCC are equivalent and the
* driver chooses between RGB and YCbCr on its own.
+ *
* SMPTE_170M_YCC:
* BT709_YCC:
* XVYCC_601:
@@ -2378,6 +2381,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
* DCI-P3_RGB_Theater:
* RGB_WIDE_FIXED:
* RGB_WIDE_FLOAT:
+ *
* BT601_YCC:
* The behavior is undefined.
*
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2] kerneldoc: Fix two missing newlines in drm_connector.c
2024-08-09 3:23 ` [PATCH v2] " Daniel Yang
@ 2024-08-09 15:52 ` Shuah Khan
2024-08-12 13:08 ` Hamza Mahfooz
1 sibling, 0 replies; 5+ messages in thread
From: Shuah Khan @ 2024-08-09 15:52 UTC (permalink / raw)
To: Daniel Yang
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Daniel Vetter, dri-devel, linux-kernel, Shuah Khan
On 8/8/24 21:23, Daniel Yang wrote:
> Fix the unexpected indentation errors.
>
> drm_connector.c has some kerneldoc comments that were missing newlines.
> This results in the following warnings when running make htmldocs:
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2344: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2346: ERROR: Unexpected indentation. [docutils]
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2368: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2381: ERROR: Unexpected indentation. [docutils]
>
> Signed-off-by: Daniel Yang <danielyangkang@gmail.com>
> ---
>
> Notes:
> v2: added "Fix the unexpected indentation errors" line to description.
>
> drivers/gpu/drm/drm_connector.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 80e239a6493..fc35f47e284 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -2342,7 +2342,9 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> *
> * Default:
> * The behavior is driver-specific.
> + *
> * BT2020_RGB:
> + *
> * BT2020_YCC:
> * User space configures the pixel operation properties to produce
> * RGB content with Rec. ITU-R BT.2020 colorimetry, Rec.
> @@ -2366,6 +2368,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> * range.
> * The variants BT2020_RGB and BT2020_YCC are equivalent and the
> * driver chooses between RGB and YCbCr on its own.
> + *
> * SMPTE_170M_YCC:
> * BT709_YCC:
> * XVYCC_601:
> @@ -2378,6 +2381,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> * DCI-P3_RGB_Theater:
> * RGB_WIDE_FIXED:
> * RGB_WIDE_FLOAT:
> + *
> * BT601_YCC:
> * The behavior is undefined.
> *
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2] kerneldoc: Fix two missing newlines in drm_connector.c
2024-08-09 3:23 ` [PATCH v2] " Daniel Yang
2024-08-09 15:52 ` Shuah Khan
@ 2024-08-12 13:08 ` Hamza Mahfooz
1 sibling, 0 replies; 5+ messages in thread
From: Hamza Mahfooz @ 2024-08-12 13:08 UTC (permalink / raw)
To: Daniel Yang, skhan
Cc: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Daniel Vetter, dri-devel, linux-kernel
On 8/8/24 23:23, Daniel Yang wrote:
> Fix the unexpected indentation errors.
>
> drm_connector.c has some kerneldoc comments that were missing newlines.
> This results in the following warnings when running make htmldocs:
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2344: WARNING: Definition list ends without a blank line; unexpected unindent. [docutils]
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2346: ERROR: Unexpected indentation. [docutils]
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2368: WARNING: Block quote ends without a blank line; unexpected unindent. [docutils]
> ./Documentation/gpu/drm-kms:538: ./drivers/gpu/drm/drm_connector.c:2381: ERROR: Unexpected indentation. [docutils]
>
> Signed-off-by: Daniel Yang <danielyangkang@gmail.com>
Applied, thanks!
> ---
>
> Notes:
> v2: added "Fix the unexpected indentation errors" line to description.
>
> drivers/gpu/drm/drm_connector.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c
> index 80e239a6493..fc35f47e284 100644
> --- a/drivers/gpu/drm/drm_connector.c
> +++ b/drivers/gpu/drm/drm_connector.c
> @@ -2342,7 +2342,9 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> *
> * Default:
> * The behavior is driver-specific.
> + *
> * BT2020_RGB:
> + *
> * BT2020_YCC:
> * User space configures the pixel operation properties to produce
> * RGB content with Rec. ITU-R BT.2020 colorimetry, Rec.
> @@ -2366,6 +2368,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> * range.
> * The variants BT2020_RGB and BT2020_YCC are equivalent and the
> * driver chooses between RGB and YCbCr on its own.
> + *
> * SMPTE_170M_YCC:
> * BT709_YCC:
> * XVYCC_601:
> @@ -2378,6 +2381,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property);
> * DCI-P3_RGB_Theater:
> * RGB_WIDE_FIXED:
> * RGB_WIDE_FLOAT:
> + *
> * BT601_YCC:
> * The behavior is undefined.
> *
--
Hamza
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-08-12 13:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-08 8:40 [PATCH] kerneldoc: Fix two missing newlines in drm_connector.c Daniel Yang
2024-08-08 14:45 ` Shuah Khan
2024-08-09 3:23 ` [PATCH v2] " Daniel Yang
2024-08-09 15:52 ` Shuah Khan
2024-08-12 13:08 ` Hamza Mahfooz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox