Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp966521rdb; Fri, 22 Dec 2023 10:04:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IE31V5KJDxOg/aaHLoiyPZ4wMXunuuBYFETaMmRGEbcUp1paovPdQqXrx+BgiVeM3Lt+5DJ X-Received: by 2002:a17:903:5ce:b0:1d3:dbad:8930 with SMTP id kf14-20020a17090305ce00b001d3dbad8930mr1123483plb.36.1703268256883; Fri, 22 Dec 2023 10:04:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703268256; cv=none; d=google.com; s=arc-20160816; b=xnW6xLC1LYHC4pMqKQFfPCzsLHQFBD+lu7n65rGQ3hgarQr1ZXNZny+BEqscdn2aw1 Zso6TpUwm7EdoVSCLX/1xNTOUqNgFJYsAmLRlgo/boblhqQI3WZpKKBGiAN5nAr3aKYH 76jbAc0JXQB9qFvuW6CGBtIpHFzOwVcwo51S2S1/SOFgfg1G65BZLPzpKtqIR7Kjmr/D KWfHRy3z8JPsVd2C5F4K1m4Jnq4XZCbiTBFRzSG5X5h8XddWZu6+9rNU2ipwq2uC80jS SlCcCxxnAyrDFGY+ZD4DccETazMcEwp71MNcOfXUyZlqG219GNnQ1akt77bKFbP98KaK 1q8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:references:in-reply-to :message-id:cc:to:from:date:dkim-signature; bh=C/ChlUmQCKhGe7wGz3t23vSOKzvHdGPImPjw/3MzxyE=; fh=TkrN5KDma3yTPyUHSHFUiuLzcjQnSBq7qMsJhF+8Lm8=; b=Y1jerlhSuz0+tglnCNsSWDeFXxJThCaOVCSaS3XpQglvxww+uhbl0UfN7gaulUPmkO Boy1mySobzLoYXY22415vlqbSxNcRljSUHwjmftZeQcetwQvhM1doWDfmkMEbEvkHeFT cUi1MkSoksiu371I6H6apkHd8h4BbpEtQr7hKu35EW4t8HItcTaNpcvNhuW7H3d9MoxB IhamkZNy53BnLmIEurPJ24WvROPFlUTeFmn5NxsqlsbGUouv+aChso7/ImPYfdh1G+Aa 3WRkic/IOORx60DCg2Ei+AEyW4kAOZngLHCqxVoX4lzucGkLGsZNaf27rRGNpQAkefLn nN9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=CmB6F+Fg; spf=pass (google.com: domain of linux-kernel+bounces-8878-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8878-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d16-20020a170903231000b001d3c3b750e1si1362904plh.605.2023.12.22.10.04.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 10:04:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8878-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=CmB6F+Fg; spf=pass (google.com: domain of linux-kernel+bounces-8878-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8878-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 04F82281DF0 for ; Thu, 21 Dec 2023 17:49:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2FE95991D; Thu, 21 Dec 2023 17:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=t-8ch.de header.i=@t-8ch.de header.b="CmB6F+Fg" X-Original-To: linux-kernel@vger.kernel.org Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F27E0BA2F for ; Thu, 21 Dec 2023 17:48:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=t-8ch.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=t-8ch.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1703180932; bh=C/ChlUmQCKhGe7wGz3t23vSOKzvHdGPImPjw/3MzxyE=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=CmB6F+Fgv3X1lNpF47sxSHcGT9nfMCT+OJh7refMhpJpmMH4qdP6qr6FOeRq+JEwk ShkOwufY0NwqJ90aOtpUDUGSQ1DcS69HtLdjzLXx0wmVvUtuVmPHDOQHJ0MdazuCli CZV5+7SLgqurbR4j4cRBOqfQ95XkgX//x7LDg33c= Date: Thu, 21 Dec 2023 18:48:49 +0100 (GMT+01:00) From: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh_?= To: Andy Shevchenko Cc: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , linux-kernel@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman Message-ID: In-Reply-To: <20231221144447.2762077-1-andriy.shevchenko@linux.intel.com> References: <20231221144447.2762077-1-andriy.shevchenko@linux.intel.com> Subject: Re: [PATCH v1 1/1] pvpanic: Don't use "proxy" headers Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Correlation-ID: Dec 21, 2023 15:44:55 Andy Shevchenko : > Update header inclusions to follow IWYU (Include What You Use) > principle. > > Signed-off-by: Andy Shevchenko Reviewed-by: Thomas Wei=C3=9Fschuh Note: This also drops the unused include of the UAPI header which could be mentioned in the changelog. > --- > drivers/misc/pvpanic/pvpanic-mmio.c |=C2=A0 7 +++---- > drivers/misc/pvpanic/pvpanic-pci.c=C2=A0 |=C2=A0 5 +---- > drivers/misc/pvpanic/pvpanic.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 12 +++++++= +---- > drivers/misc/pvpanic/pvpanic.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 5 ++= +++ > 4 files changed, 17 insertions(+), 12 deletions(-) > > diff --git a/drivers/misc/pvpanic/pvpanic-mmio.c b/drivers/misc/pvpanic/p= vpanic-mmio.c > index 9715798acce3..f3f2113a54a7 100644 > --- a/drivers/misc/pvpanic/pvpanic-mmio.c > +++ b/drivers/misc/pvpanic/pvpanic-mmio.c > @@ -7,16 +7,15 @@ > =C2=A0 *=C2=A0 Copyright (C) 2021 Oracle. > =C2=A0 */ > > +#include > +#include > #include > -#include > +#include > #include > #include > #include > #include > #include > -#include > - > -#include > > #include "pvpanic.h" > > diff --git a/drivers/misc/pvpanic/pvpanic-pci.c b/drivers/misc/pvpanic/pv= panic-pci.c > index c5fb6298cb8d..9ad20e82785b 100644 > --- a/drivers/misc/pvpanic/pvpanic-pci.c > +++ b/drivers/misc/pvpanic/pvpanic-pci.c > @@ -5,13 +5,10 @@ > =C2=A0 *=C2=A0 Copyright (C) 2021 Oracle. > =C2=A0 */ > > -#include > +#include > #include > #include > #include > -#include > - > -#include > > #include "pvpanic.h" > > diff --git a/drivers/misc/pvpanic/pvpanic.c b/drivers/misc/pvpanic/pvpani= c.c > index 305b367e0ce3..df3457ce1cb1 100644 > --- a/drivers/misc/pvpanic/pvpanic.c > +++ b/drivers/misc/pvpanic/pvpanic.c > @@ -8,16 +8,20 @@ > =C2=A0 */ > > #include > +#include > +#include > #include > -#include > #include > +#include > +#include > +#include > #include > #include > -#include > #include > +#include > +#include > +#include > #include > -#include > -#include > > #include > > diff --git a/drivers/misc/pvpanic/pvpanic.h b/drivers/misc/pvpanic/pvpani= c.h > index 46ffb10438ad..a42fa760eed5 100644 > --- a/drivers/misc/pvpanic/pvpanic.h > +++ b/drivers/misc/pvpanic/pvpanic.h > @@ -8,6 +8,11 @@ > #ifndef PVPANIC_H_ > #define PVPANIC_H_ > > +#include > + > +struct attribute_group; > +struct device; > + > int devm_pvpanic_probe(struct device *dev, void __iomem *base); > extern const struct attribute_group *pvpanic_dev_groups[]; > > -- > 2.43.0.rc1.1.gbec44491f096