Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2514534imu; Mon, 17 Dec 2018 03:20:33 -0800 (PST) X-Google-Smtp-Source: AFSGD/U9jezlJPem30ZV0NKs7YGhrCKNFhPKMoYclcFavruR33dsOToSIMmvLF/RsRfhe3XqK1G0 X-Received: by 2002:a17:902:8a91:: with SMTP id p17mr12353152plo.316.1545045632865; Mon, 17 Dec 2018 03:20:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545045632; cv=none; d=google.com; s=arc-20160816; b=v5Z/EdykWRvdB/V4IYa3BAtvfAyrKZdinsit5ft4FlLmSbERMxez+TD/RoRPkEnP8W bhx06eCWa+r4JXXsJcBHa3d5bZe1NUas3s9KYsmjbrnTPYlZ7/U/Uyv3YpTjde/xrsUo HctcnJ04vbS9Ypdfcn2VQybKTAE3ZJxnACTvu5UWvR6J0xkLChK7ILxikK7P6yUWi3he U0EpAjOjwdwbO945T/gmqXz9PU1E+sLmfo5i1zzzoC7jXX4bppVaThrzbwkRB3Rqz7Nz iOwBfg6LbSGp4Z5MmXUm/rCGQhK4e95YJTy2+p4kKCe9Mh6zQcOrwhkmEelo6nOVt+kM s9Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ZkNwEhvytpIyoAZFPhzUG/CS8Xf2U7Fk40fkjFqstnw=; b=fm01EuLOWoUeLPwlOGKTUIqgt52hlg3P3XNGudoWohVrd9Bli1KpmYiy2dQ9rcDlkJ qcZYqXY+/G9mQTDrNUlt6HL6H/q2TAWy268P6HI9TsRDXWKG3O7zm9H4bBIyDeWrCok4 onIB2hNPAJViH6WGraElLN7RVlK+HpDP+tAVXHQZEEsCWcElj/bGz1gz3bgy+0rkeBg0 ZSFI0Z3AHHjlhK8NnKa5OgXKefiBvSaxnc1U/rR1z0lzKjuVzwvJsLJSI9wW9otSrdbU aYbFo2E/ytUxFouA9HZtwlIOYji350T+hCJpuQPEsVHry5PIhNBNZ3shf7XXhcHxJFS+ YbXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si10174782plr.144.2018.12.17.03.20.17; Mon, 17 Dec 2018 03:20:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731954AbeLQKWB (ORCPT + 99 others); Mon, 17 Dec 2018 05:22:01 -0500 Received: from mxhk.zte.com.cn ([63.217.80.70]:22700 "EHLO mxhk.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726831AbeLQKWB (ORCPT ); Mon, 17 Dec 2018 05:22:01 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 9DF5B745EC8D720FC213; Mon, 17 Dec 2018 18:21:56 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id wBHALoFc084594; Mon, 17 Dec 2018 18:21:50 +0800 (GMT-8) (envelope-from peng.hao2@zte.com.cn) Received: from localhost.localdomain.localdomain ([10.74.120.59]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018121718215743-17167720 ; Mon, 17 Dec 2018 18:21:57 +0800 From: Peng Hao To: gregkh@linuxfoundation.org, arnd@arndb.de, andy.shevchenko@gmail.com Cc: linux-kernel@vger.kernel.org, Peng Hao Subject: [PATCH V3 1/3] misc/pvpanic: return 0 for empty body register function Date: Mon, 17 Dec 2018 18:43:12 +0800 Message-Id: <1545043394-19417-1-git-send-email-peng.hao2@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-12-17 18:21:57, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-12-17 18:21:49, Serialize complete at 2018-12-17 18:21:49 X-MAIL: mse01.zte.com.cn wBHALoFc084594 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return 0 for empty body register function normally. Signed-off-by: Peng Hao --- 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