GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
* [PATCH] x86/xen: Fix kerneldoc warning
@ 2022-03-07  6:25 Jiapeng Chong
  2022-03-11 14:21 ` Boris Ostrovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-03-07  6:25 UTC (permalink / raw)
  To: boris.ostrovsky
  Cc: jgross, sstabellini, tglx, mingo, bp, dave.hansen, x86, hpa,
	xen-devel, linux-kernel, Jiapeng Chong, Abaci Robot

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 <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
 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



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

* Re: [PATCH] x86/xen: Fix kerneldoc warning
  2022-03-07  6:25 [PATCH] x86/xen: Fix kerneldoc warning Jiapeng Chong
@ 2022-03-11 14:21 ` Boris Ostrovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Boris Ostrovsky @ 2022-03-11 14:21 UTC (permalink / raw)
  To: Jiapeng Chong
  Cc: jgross, sstabellini, tglx, mingo, bp, dave.hansen, x86, hpa,
	xen-devel, linux-kernel, Abaci Robot


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 <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>


Reviewed-by: Boris Ostrovsky <[email protected]>


Applied to for-linus-5.18



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

end of thread, other threads:[~2022-03-11 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-07  6:25 [PATCH] x86/xen: Fix kerneldoc warning Jiapeng Chong
2022-03-11 14:21 ` Boris Ostrovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox