Skip to contentSkip to conversation

remoteproc/mtk_scp: Fix one kernel-doc comment

PATCH In review Yang Li 4 participants 4 messages Mar 16, 2023

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 remoteproc/mtk_scp: Fix one kernel-doc comment

Fixs the function name in kernel-doc comments to clear the below warning:

drivers/remoteproc/mtk_scp_ipi.c:136: warning: expecting prototype for scp_ipi_lock(). Prototype was for scp_ipi_unlock() instead

---
 drivers/remoteproc/mtk_scp_ipi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/mtk_scp_ipi.c +1 -1
index fc55df649b40..9c7c17b9d181 100644
@@ -125,7 +125,7 @@ void scp_ipi_lock(struct mtk_scp *scp, u32 id)
 EXPORT_SYMBOL_GPL(scp_ipi_lock);
 
 /**
- * scp_ipi_lock() - Unlock after operations of an IPI ID
+ * scp_ipi_unlock() - Unlock after operations of an IPI ID
  *
  * @scp:	mtk_scp structure
  * @id:		IPI ID
Signature · 1 line
2.20.1.7.g153144c
maintainer Reviewed-by on v1 1/1
#1 lore raw

Il 16/03/23 09:40, Yang Li ha scritto:

Quoted 8 lines

Fixs the function name in kernel-doc comments to clear the below warning:

drivers/remoteproc/mtk_scp_ipi.c:136: warning: expecting prototype for scp_ipi_lock(). Prototype was for scp_ipi_unlock() instead

Reviewed-by on v1 1/1
#2 lore raw
In reply to Yang Li
Quoted 1 line · Yang Li

Fixs the function name in kernel-doc comments to clear the below

nit: Fix

Quoted 16 lines

warning:

drivers/remoteproc/mtk_scp_ipi.c:136: warning: expecting prototype for scp_ipi_lock(). Prototype was for scp_ipi_unlock() instead

---
  drivers/remoteproc/mtk_scp_ipi.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/mtk_scp_ipi.c +0 -0
index fc55df649b40..9c7c17b9d181 100644

drivers/remoteproc/mtk_scp_ipi.c void scp_ipi_lock(struct mtk_scp *scp, u32 id) · line 131

Quoted 8 lines
drivers/remoteproc/mtk_scp_ipi.c +1 -1
@@ -125,7 +125,7 @@ void scp_ipi_lock(struct mtk_scp *scp, u32 id)
  EXPORT_SYMBOL_GPL(scp_ipi_lock);
 
  /**
- * scp_ipi_lock() - Unlock after operations of an IPI ID
+ * scp_ipi_unlock() - Unlock after operations of an IPI ID
   *
   * @scp:	mtk_scp structure
   * @id:		IPI ID

Otherwise LGTM.

-- Mukesh

maintainer
#3 lore raw
In reply to Yang Li
Quoted 17 lines · Yang Li

Fixs the function name in kernel-doc comments to clear the below warning:

drivers/remoteproc/mtk_scp_ipi.c:136: warning: expecting prototype for scp_ipi_lock(). Prototype was for scp_ipi_unlock() instead

---
 drivers/remoteproc/mtk_scp_ipi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/remoteproc/mtk_scp_ipi.c +0 -0
index fc55df649b40..9c7c17b9d181 100644

drivers/remoteproc/mtk_scp_ipi.c void scp_ipi_lock(struct mtk_scp *scp, u32 id) · line 128

Quoted 5 lines
drivers/remoteproc/mtk_scp_ipi.c +1 -1
@@ -125,7 +125,7 @@ void scp_ipi_lock(struct mtk_scp *scp, u32 id)
 EXPORT_SYMBOL_GPL(scp_ipi_lock);
 
 /**
- * scp_ipi_lock() - Unlock after operations of an IPI ID
+ * scp_ipi_unlock() - Unlock after operations of an IPI ID

I have applied this patch.

Thanks,
Mathieu

Quoted 6 lines
drivers/remoteproc/mtk_scp_ipi.c +0 -0
  *
  * @scp:	mtk_scp structure
  * @id:		IPI ID
Signature · 1 line
2.20.1.7.g153144c