mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V5 1/3]  misc/pvpanic: return 0 for empty body register function
@ 2018-12-19  8:04 Peng Hao
  2018-12-19  8:04 ` [PATCH V5 2/3] misc/pvpanic : add pci interface for pvpanic Peng Hao
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peng Hao @ 2018-12-19  8:04 UTC (permalink / raw)
  To: gregkh, arnd, andy.shevchenko; +Cc: linux-kernel, Peng Hao

Return 0 for empty body register function normally.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
---
v4 --> v5 : handle all typo "drvier/driver" in funtion name. 

v3 --> v4 : use pcim* function instead of pci* function.
            handle typo "drvier/driver" in funtion name. 

v2 --> v3 : handle a uninitialized variable in some path.

v2 --> v1 : arch=sh don't support pci, adjust  CONFIG_PCI macro. 

v1 : QEMU community requires additional PCI devices to simulate PVPANIC devices
so that some architectures can not occupy precious less than 4G of memory 
space.

 drivers/misc/pvpanic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c
index 3150dc2..f84ed30 100644
--- a/drivers/misc/pvpanic.c
+++ b/drivers/misc/pvpanic.c
@@ -125,7 +125,7 @@ static void pvpanic_unregister_acpi_driver(void)
 #else
 static int pvpanic_register_acpi_driver(void)
 {
-	return -ENODEV;
+	return 0;
 }
 
 static void pvpanic_unregister_acpi_driver(void) {}
-- 
1.8.3.1


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

end of thread, other threads:[~2018-12-19  9:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19  8:04 [PATCH V5 1/3] misc/pvpanic: return 0 for empty body register function Peng Hao
2018-12-19  8:04 ` [PATCH V5 2/3] misc/pvpanic : add pci interface for pvpanic Peng Hao
2018-12-19  8:04 ` [PATCH V5 3/3] misc/pvpanic : add pci dependency in Kconfig Peng Hao
2018-12-19  8:28 ` [PATCH V5 1/3] misc/pvpanic: return 0 for empty body register function Greg KH
     [not found]   ` <201812191703216682499@zte.com.cn>
2018-12-19  9:46     ` [PATCH V5 1/3] misc/pvpanic: return 0 for empty body registerfunction Greg KH

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

Powered by JetHome