[PATCH] x86/xen: Fix kerneldoc warning

Jiapeng Chong posted 1 patch 2 years, 1 month ago
Failed in applying to current master (apply log)
arch/x86/xen/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] x86/xen: Fix kerneldoc warning
Posted by Jiapeng Chong 2 years, 1 month ago
Fix the following W=1 kernel warnings:

arch/x86/xen/setup.c:725: warning: expecting prototype for
machine_specific_memory_setup(). Prototype was for xen_memory_setup()
instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 arch/x86/xen/setup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index af216feb63d9..81aa46f770c5 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -719,7 +719,7 @@ static void __init xen_reserve_xen_mfnlist(void)
 }
 
 /**
- * machine_specific_memory_setup - Hook for machine specific memory setup.
+ * xen_memory_setup - Hook for machine specific memory setup.
  **/
 char * __init xen_memory_setup(void)
 {
-- 
2.20.1.7.g153144c
Re: [PATCH] x86/xen: Fix kerneldoc warning
Posted by Boris Ostrovsky 2 years, 1 month ago
On 3/7/22 1:25 AM, Jiapeng Chong wrote:
> Fix the following W=1 kernel warnings:
>
> arch/x86/xen/setup.c:725: warning: expecting prototype for
> machine_specific_memory_setup(). Prototype was for xen_memory_setup()
> instead.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>


Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>


Applied to for-linus-5.18