Message ID | 20240114052751.17242-1-rdunlap@infradead.org |
---|---|
State | New |
Headers | show |
Series | ARM: s5pv210: fix pm.c kernel-doc warning | expand |
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
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,
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. *
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(-)