Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4362358pxf; Tue, 23 Mar 2021 08:51:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8mDdwUEUy88cL47ssOwIKAcdW3jVhyU1wfMnkB3NC5JxcgKSTaqH+/gFS7PpiFvaUFDnq X-Received: by 2002:a17:906:fcb2:: with SMTP id qw18mr5359165ejb.434.1616514703451; Tue, 23 Mar 2021 08:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616514703; cv=none; d=google.com; s=arc-20160816; b=V1YeibpOZb8cEfezObGq9YEkwiXq9LLK9SLuatcOmI06YvqDVOevmMlhMUPy1F1frG fNau/lm80zIcZnlniwFC/qqH0x7uQC3lAqa7+F2pkDEDFHIQ/a4TSSus9QG04pREIsSB 8zQUunv23Z/N/Yd35wfs2cE/mG//0PZgzae562FmT3dl43nbvsnQy6VMJcNF8qfKEpPH c3fYAJ2ezBFXDO5urc/bWxDh3/6nolsvK4xm0C/ZHOR3csDGFQs/5tTm9nfFh5+lAZMb WoXSwQca3ZteG7y8cf3KA/cY81jnVXnAD4H7MU7X41WpUVdAeKt2Tv69MZ1nb6MVtDyv GsrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=6A3pMxv+y0pQj+ubTLnNWlx8u57xVpPf0I9Ju/HoU2A=; b=srYQQnvFyYVXnSWwPlS7c4zEQA8EwnhmqN2Vrki5MmjlQPZykfDdnj7gDSiKAzrxw2 GksUHPHXnIuvFnrfM6g5qhv/gZnkdQjuonYVLp2DAb1VgGPTgNw59vJwcICvnFQHFL/D v4DP+3GA3/RDFWAQJY9TpdBJ6eDlkq40xd4GYg9jp2moH1Iwwa9qjWLC3v6phjZRxQny jRIHDj5nbrredaovlui2jSnmGlwZ6R3pL8SNLdKXPcrbXTNO9QdgzbtNifE8X5hgJkiC JBtgGcw3FH2OcnPuKeQbTj28wkca+LmEjkgxIJecGUKyVkxZGrAmhaEx0c85rftACAma VDug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G9ZC+JrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d11si13358139ede.364.2021.03.23.08.51.20; Tue, 23 Mar 2021 08:51:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=G9ZC+JrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232968AbhCWPuV (ORCPT + 99 others); Tue, 23 Mar 2021 11:50:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:56972 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232934AbhCWPuH (ORCPT ); Tue, 23 Mar 2021 11:50:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E61A661963; Tue, 23 Mar 2021 15:50:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1616514607; bh=QIAvIxn4BwZxI9azvLmjepIZnQ5GT0qWqdBJES0E7Zo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G9ZC+JrNw8dKHtQJbfpoeXX0+qi+n2VG+7pREUBOaSi7x+JkB95K0jsT9t6ecbDr9 BkzcFxTf6cPXLgH5w7ip6pUg83I9t2zBtOX5ctdPdEruETy6jOZyI3ZAlcc2YEb042 tBFkYdjVdo+wqqlU5a4Ea1iuYsh/PHXgD2iKO3XY= Date: Tue, 23 Mar 2021 16:50:04 +0100 From: Greg KH To: Mihai Carabas Cc: linux-kernel@vger.kernel.org, arnd@arndb.de, bobo.shaobowang@huawei.com, rdunlap@infradead.org Subject: Re: [PATCH v7 1/3] misc/pvpanic: split-up generic and platform dependent code Message-ID: References: <1616507978-15661-1-git-send-email-mihai.carabas@oracle.com> <1616507978-15661-2-git-send-email-mihai.carabas@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1616507978-15661-2-git-send-email-mihai.carabas@oracle.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 23, 2021 at 03:59:36PM +0200, Mihai Carabas wrote: > Split-up generic and platform dependent code in order to be able to re-use > generic event handling code in pvpanic PCI device driver in the next patches. > > The code from pvpanic.c was split in two new files: > - pvpanic.c: generic code that handles pvpanic events > - pvpanic-mmio.c: platform/bus dependent code > > Signed-off-by: Mihai Carabas > --- > drivers/misc/Kconfig | 9 +- > drivers/misc/Makefile | 2 +- > drivers/misc/pvpanic.c | 161 ------------------------------------ > drivers/misc/pvpanic/Kconfig | 19 +++++ > drivers/misc/pvpanic/Makefile | 7 ++ > drivers/misc/pvpanic/pvpanic-mmio.c | 135 ++++++++++++++++++++++++++++++ > drivers/misc/pvpanic/pvpanic.c | 77 +++++++++++++++++ > drivers/misc/pvpanic/pvpanic.h | 15 ++++ > 8 files changed, 255 insertions(+), 170 deletions(-) > delete mode 100644 drivers/misc/pvpanic.c > create mode 100644 drivers/misc/pvpanic/Kconfig > create mode 100644 drivers/misc/pvpanic/Makefile > create mode 100644 drivers/misc/pvpanic/pvpanic-mmio.c > create mode 100644 drivers/misc/pvpanic/pvpanic.c > create mode 100644 drivers/misc/pvpanic/pvpanic.h With just this commit applied, I get the following build warnings: drivers/misc/pvpanic/pvpanic-mmio.c:26:22: warning: ‘base’ defined but not used [-Wunused-variable] 26 | static void __iomem *base; | ^~~~ ERROR: modpost: missing MODULE_LICENSE() in drivers/misc/pvpanic/pvpanic.o Remember, each patch needs to work properly and not cause any build failures or warnings to be added to the tree. I suggest getting someone else at Oracle to review and test your patchset before submitting it again so as I don't have to be the ones finding these types of errors :) thanks, greg k-h