Thread (33 messages) flat view 33 messages, 4 authors, 2021-01-14

Re: [PATCH v1 01/17] media: camss: Fix comment using wrong function name

From: Robert Foss <hidden>
Date: 2021-01-13 10:05:29
Also in: linux-arm-kernel, linux-arm-msm, linux-media, lkml

Thanks Björn!

On Fri, 8 Jan 2021 at 19:51, Bjorn Andersson [off-list ref] wrote:
On Fri 08 Jan 06:04 CST 2021, Robert Foss wrote:
quoted
Function name is comment is wrong, and was changed to be
the same as the actual function name.

Signed-off-by: Robert Foss <redacted>
---
 drivers/media/platform/qcom/camss/camss-vfe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platform/qcom/camss/camss-vfe.c b/drivers/media/platform/qcom/camss/camss-vfe.c
index fae2b513b2f9..478be4f0cab5 100644
--- a/drivers/media/platform/qcom/camss/camss-vfe.c
+++ b/drivers/media/platform/qcom/camss/camss-vfe.c
@@ -1077,7 +1077,7 @@ static void vfe_isr_wm_done(struct vfe_device *vfe, u8 wm)
 }

 /*
- * vfe_isr_wm_done - Process composite image done interrupt
+ * vfe_isr_comp_done - Process composite image done interrupt
It's a function, so it should be "vfe_isr_comp_done()", but unless the
comment is denoted kerneldoc by starting with '/' followed by two '*' it
"doesn't matter".

As a matter of fact, none of the kerneldoc in this file has the proper
'/**' start, so this file is "undocumented".

So please add another '*' and some () throughout the file.
Ack
Regards,
Bjorn
quoted
  * @vfe: VFE Device
  * @comp: Composite image id
  */
--
2.27.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help