Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7186630imu; Tue, 22 Jan 2019 01:42:16 -0800 (PST) X-Google-Smtp-Source: ALg8bN6USr8iyE0jnLgqJocUpZXKlSGihitMh81yeNsOC1ZPTWUV47LYMRgZyzqAdWuEekpDZZZW X-Received: by 2002:a63:a84a:: with SMTP id i10mr31744530pgp.263.1548150136719; Tue, 22 Jan 2019 01:42:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548150136; cv=none; d=google.com; s=arc-20160816; b=ocbhwFti6hpulPmo4P/4A1oLA+KKHQDQ+uHBjCWpz+CDDatcZbITlz4UuG+5EeyED1 o6vAY6LgLB2bKGdrrbKeIKX+UGqk38oINEnV8eqmdJ1jWF6Ris4Y1dhmNb7rwo7qHOFx hy6Qk0/L2Aubjfs6TyTUJXquejllE19mu11Zg2bBlO9wzSI/KyyJWna0aAWwxPPWiV5k 9UXmi1jYHekNzPtV+Nt/RaQlkCw0Wtndgk6Fe61NlNsNZGy3Dk1yOivhdAgSodSGLI3t leEJE1z8/HYW42taQYkYyiI+kB/SiDQajTjym35AKjiS3T4GtJaT0Im3Yr0bPbVir5Yj hFLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=OH0kvYd//oWgN7hyfqHLvwW+im8Uw/RY+HIFyqwxDVo=; b=tf1t5rWSLsHt+7JbsEkr0KNVUmYYJ3LoXwsZ3Mpik/xevXSHik0Sfsx37gSeIynhhd 2WFOnziRqJYIAIYMU0OOK/KdxUKNlKpWCHnlGHSZizF+gOvc0QtqOXslQWrUvYlZ+pjj qcLK5hnEbKC6s95Qce+kN5VJpIPHgRfX1EU2LcOcM1gIugK76rVVtWisXzMF2PhZNoiw nYDE1pjuUdKlxdtahBIDsjRfag2pbyUz/d7xspVFnf1T4b2MrV/10J+7S7rhb8Oa/aM3 Tg26nQaZFymssNr8GbBzF7skfgMEHoiP/DHsX8p2LSfn7bqA4A7+oV2nocHJTN+bNOtv bpUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=axx152+L; 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 o1si14735115plk.257.2019.01.22.01.42.01; Tue, 22 Jan 2019 01:42:16 -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; dkim=pass header.i=@kernel.org header.s=default header.b=axx152+L; 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 S1727909AbfAVJkQ (ORCPT + 99 others); Tue, 22 Jan 2019 04:40:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:59266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727165AbfAVJkQ (ORCPT ); Tue, 22 Jan 2019 04:40:16 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1DA70218D9; Tue, 22 Jan 2019 09:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548150015; bh=gukq5GUR4mVZu3VBeqO12vnXjjHnhSz4+5pTn/4tcQY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=axx152+LaPCjQP9KNIiql12eF5eHw0/RD5Q77QQlhtRIBPnWkP0+aFpkkdrCkSzLV RpfM8O/cp+P8k96aA3AI+JnoU9bGzP8uzv7KtQkibJ3SmCs04+hMBru6t2JBzexNh8 mWG4vkiGAQcEP1i5vt3JfNIye+gt9COANHOw6UGs= Date: Tue, 22 Jan 2019 10:40:13 +0100 From: Greg KH To: Peng Hao Cc: arnd@arndb.de, andy.shevchenko@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] misc/pvpanic : add pvpanic acpi driver Message-ID: <20190122094013.GC29657@kroah.com> References: <1548098711-52497-1-git-send-email-peng.hao2@zte.com.cn> <1548098711-52497-4-git-send-email-peng.hao2@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1548098711-52497-4-git-send-email-peng.hao2@zte.com.cn> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 22, 2019 at 03:25:09AM +0800, Peng Hao wrote: > Add pvpanic acpi driver in pvpanic driver framework. > > Signed-off-by: Peng Hao > --- > drivers/misc/pvpanic/Kconfig | 9 +++++ > drivers/misc/pvpanic/Makefile | 1 + > drivers/misc/pvpanic/pvpanic-acpi.c | 77 +++++++++++++++++++++++++++++++++++++ > 3 files changed, 87 insertions(+) > create mode 100644 drivers/misc/pvpanic/pvpanic-acpi.c > > diff --git a/drivers/misc/pvpanic/Kconfig b/drivers/misc/pvpanic/Kconfig > index 3e612c6..d274130 100644 > --- a/drivers/misc/pvpanic/Kconfig > +++ b/drivers/misc/pvpanic/Kconfig > @@ -5,3 +5,12 @@ config PVPANIC > This driver provides support for the pvpanic device. pvpanic is > a paravirtualized device provided by QEMU; it lets a virtual machine > (guest) communicate panic events to the host. > + > +if PVPANIC > + > +config PVPANIC_ACPI > + tristate "pvpanic acpi driver" > + depends on ACPI > + default PVPANIC No help text at all? Not good. > + > +endif > diff --git a/drivers/misc/pvpanic/Makefile b/drivers/misc/pvpanic/Makefile > index 6394224..c5b73ca 100644 > --- a/drivers/misc/pvpanic/Makefile > +++ b/drivers/misc/pvpanic/Makefile > @@ -3,3 +3,4 @@ > # Copyright (c) 2018 ZTE Ltd. > > obj-$(CONFIG_PVPANIC) += pvpanic.o > +obj-$(CONFIG_PVPANIC_ACPI) += pvpanic-acpi.o Not aligned? > diff --git a/drivers/misc/pvpanic/pvpanic-acpi.c b/drivers/misc/pvpanic/pvpanic-acpi.c > new file mode 100644 > index 0000000..a6153fa > --- /dev/null > +++ b/drivers/misc/pvpanic/pvpanic-acpi.c > @@ -0,0 +1,77 @@ > +// SPDX-License-Identifier: GPL-2.0-or-later Are you sure? And also, shouldn't this be written as: // SPDX-License-Identifier: GPL-2.0+ thanks, greg k-h