linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: s5pv210: fix pm.c kernel-doc warning
@ 2024-01-14  5:27 Randy Dunlap
  2024-01-22 10:43 ` Krzysztof Kozlowski
  2024-01-22 10:44 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2024-01-14  5:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: Randy Dunlap, patches, Krzysztof Kozlowski, Alim Akhtar,
	linux-arm-kernel, linux-samsung-soc

Use the correct function name in the kernel-doc comment to prevent
a kernel-doc warning:

arch/arm/mach-s5pv210/pm.c:61: warning: expecting prototype for s3c_pm_do_restore(). Prototype was for s3c_pm_do_restore_core() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: patches@armlinux.org.uk
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
---
KernelVersion: 0dd3ee31125508cd67f7e717

 arch/arm/mach-s5pv210/pm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/arch/arm/mach-s5pv210/pm.c b/arch/arm/mach-s5pv210/pm.c
--- a/arch/arm/mach-s5pv210/pm.c
+++ b/arch/arm/mach-s5pv210/pm.c
@@ -47,7 +47,7 @@ static void s3c_pm_do_save(struct sleep_
 }
 
 /**
- * s3c_pm_do_restore() - restore register values from the save list.
+ * s3c_pm_do_restore_core() - restore register values from the save list.
  * @ptr: Pointer to an array of registers.
  * @count: Size of the ptr array.
  *

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: s5pv210: fix pm.c kernel-doc warning
  2024-01-14  5:27 [PATCH] ARM: s5pv210: fix pm.c kernel-doc warning Randy Dunlap
@ 2024-01-22 10:43 ` Krzysztof Kozlowski
  2024-01-22 10:44 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-01-22 10:43 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel
  Cc: patches, Alim Akhtar, linux-arm-kernel, linux-samsung-soc

On 14/01/2024 06:27, Randy Dunlap wrote:
> Use the correct function name in the kernel-doc comment to prevent
> a kernel-doc warning:
> 
> arch/arm/mach-s5pv210/pm.c:61: warning: expecting prototype for s3c_pm_do_restore(). Prototype was for s3c_pm_do_restore_core() instead
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: patches@armlinux.org.uk
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> Cc: Alim Akhtar <alim.akhtar@samsung.com>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-samsung-soc@vger.kernel.org

Several checkpatch warnings:
WARNING: Use a single space after Cc:
#12:
Cc:  <patches@armlinux.org.uk>

WARNING: Use a single space after Cc:
#15:
Cc:  <linux-arm-kernel@lists.infradead.org>

WARNING: Use a single space after Cc:
#16:
Cc:  <linux-samsung-soc@vger.kernel.org>


Fixed and applied.

ount: Size of the ptr array.
>   *

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: s5pv210: fix pm.c kernel-doc warning
  2024-01-14  5:27 [PATCH] ARM: s5pv210: fix pm.c kernel-doc warning Randy Dunlap
  2024-01-22 10:43 ` Krzysztof Kozlowski
@ 2024-01-22 10:44 ` Krzysztof Kozlowski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-01-22 10:44 UTC (permalink / raw)
  To: linux-kernel, Randy Dunlap
  Cc: patches, Alim Akhtar, linux-arm-kernel, linux-samsung-soc


On Sat, 13 Jan 2024 21:27:51 -0800, Randy Dunlap wrote:
> Use the correct function name in the kernel-doc comment to prevent
> a kernel-doc warning:
> 
> arch/arm/mach-s5pv210/pm.c:61: warning: expecting prototype for s3c_pm_do_restore(). Prototype was for s3c_pm_do_restore_core() instead
> 
> 

Applied, thanks!

[1/1] ARM: s5pv210: fix pm.c kernel-doc warning
      https://git.kernel.org/krzk/linux/c/52524ff0558b57e8b78d05d645456b0a77c787bf

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-22 10:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14  5:27 [PATCH] ARM: s5pv210: fix pm.c kernel-doc warning Randy Dunlap
2024-01-22 10:43 ` Krzysztof Kozlowski
2024-01-22 10:44 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).