public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 1/3]  misc/pvpanic: return 0 for empty body register function
@ 2018-12-17 10:43 Peng Hao
  2018-12-17 10:43 ` [PATCH V3 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-17 10:43 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>
---
 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] 5+ messages in thread

end of thread, other threads:[~2018-12-17 13:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-17 10:43 [PATCH V3 1/3] misc/pvpanic: return 0 for empty body register function Peng Hao
2018-12-17 10:43 ` [PATCH V3 2/3] misc/pvpanic : add pci interface for pvpanic Peng Hao
2018-12-17 13:59   ` Greg KH
2018-12-17 10:43 ` [PATCH V3 3/3] misc/pvpanic : add pci dependency in Kconfig Peng Hao
2018-12-17 12:56 ` [PATCH V3 1/3] misc/pvpanic: return 0 for empty body register function Greg KH

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