linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 1/3]  misc/pvpanic: return 0 for empty body register function
@ 2018-12-18  9:46 Peng Hao
  2018-12-18  9:46 ` [PATCH V4 2/3] misc/pvpanic : add pci interface for pvpanic Peng Hao
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peng Hao @ 2018-12-18  9:46 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>
---
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 related	[flat|nested] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-18  9:46 [PATCH V4 1/3] misc/pvpanic: return 0 for empty body register function Peng Hao
2018-12-18  9:46 ` [PATCH V4 2/3] misc/pvpanic : add pci interface for pvpanic Peng Hao
2018-12-18 13:31   ` kbuild test robot
2018-12-18 13:38   ` kbuild test robot
2018-12-18  9:46 ` [PATCH V4 3/3] misc/pvpanic : add pci dependency in Kconfig Peng Hao
2018-12-18 10:28 ` [PATCH V4 1/3] misc/pvpanic: return 0 for empty body register function Greg KH
     [not found]   ` <201812190811376451432@zte.com.cn>
2018-12-19  6:56     ` [PATCH V4 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;
as well as URLs for NNTP newsgroup(s).