2024-02-02 03:54:33

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the v4l-dvb-next tree

Hi all,

After merging the v4l-dvb-next tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/driver-api/media/v4l2-common:6: include/media/v4l2-common.h:566: ERROR: Unexpected indentation.
Documentation/driver-api/media/v4l2-common:6: include/media/v4l2-common.h:567: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

a68e88e2cf9e ("media: v4l: Add a helper for setting up link-frequencies control")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2024-02-02 18:37:08

by Sakari Ailus

[permalink] [raw]
Subject: [PATCH 1/1] media: v4l: Fix link frequency helper's kernel-doc

Fix kernel-doc indentation for v4l2_link_freq_to_bitmap().

Reported-by: Stephen Rothwell <[email protected]>
Fixes: a68e88e2cf9e ("media: v4l: Add a helper for setting up link-frequencies control")
Signed-off-by: Sakari Ailus <[email protected]>
---
Thanks for reporting this, Stephen.

include/media/v4l2-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index cd2163f24f8a..602738f7741e 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -563,7 +563,7 @@ u32 v4l2_fraction_to_interval(u32 numerator, u32 denominator);
* Return values:
* 0: Success
* -ENOENT: No match found between driver-supported link frequencies and
- * those available in firmware.
+ * those available in firmware.
* -ENODATA: No link frequencies were specified in firmware.
*/
int v4l2_link_freq_to_bitmap(struct device *dev, const u64 *fw_link_freqs,
--
2.39.2