From patchwork Thu Dec 21 14:44:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 182286 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp457581dyi; Thu, 21 Dec 2023 06:45:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFVYZ68SUEDZGtaA6qRf3e86FC0zDWdE5ZsWm6Zc7oXh2hFyzkJqxVS5H26ZVppREVb/H6 X-Received: by 2002:a17:90a:9707:b0:28b:83aa:202a with SMTP id x7-20020a17090a970700b0028b83aa202amr4230218pjo.24.1703169917924; Thu, 21 Dec 2023 06:45:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703169917; cv=none; d=google.com; s=arc-20160816; b=WltT/Rvw7rhfs7S19PPtsOklB/pGmV6rq7mKt8xTKKaI/OwMFUc220oOIhR8qrTJvS 91y0bgzk6pG/jxxaQjGXabHfQVllc7XRnK4+6MQd1A/ai/BAIxBdPOHj1paffB51o22k AzsVlcjqq4qolcbsJdxiVXMJ4wBrQioYJS0I19zOH1uFI4T9g5N/+Wn0cr8HrZqkAy9d P6gawd0216CNOJFKLTSR9OGkNlGeElQQa+xMKHsaZG3jK/KDvehqXUCqTUhPlV2m0Vk0 eJ986y6k0A5ag/dlSfKsKrt5S0bsNtSz3TVoJ2A5/ereVIxx1AmMnMC2YOPMXp+uDmUD YJTg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Q+5AWH1DhAF27FOAjko6y9EH7tMwQ5SBbtuMjNyb3m4=; fh=Lp+1fGzBwcuEjyEmRQMbtNVMAmAjRgdw7PD+SZzJq4w=; b=wkeLqfPBhFbxlWkY0gHQv6oNB0eLv3M+2Rnyzu+/YQZYxQ6QkWrX52C8DPy7Y4PYGY 3tM7VBLEQh2spVApIi15O/bE7tQk4weqFw8IxrDBXbjbbH10GOPeDl8q5wxoUwNxOmHy uhYP9rCzLL6uNeQ4dYmD6Wwh6BYH6+YNlX39UCRk5UAVv0YPqP3Jsyxqmo70USvFwzF1 DV/PItKFav4jmE7Kw40bUFpQ54MuJ8MlMaioB0Llbojz1ta441rRwdu4gOqunLQq3f3k NxPfZ0F/inue6uAdTDapc6BN24P4LkptmN061eqbHvhOAjM9343caP04olu8fd/FUi/K 2vEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=K9JaXGxr; spf=pass (google.com: domain of linux-kernel+bounces-8585-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8585-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id cv1-20020a17090afd0100b0028bc20c1b10si1754428pjb.89.2023.12.21.06.45.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 06:45:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8585-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=K9JaXGxr; spf=pass (google.com: domain of linux-kernel+bounces-8585-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8585-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 0B5F7B21B7F for ; Thu, 21 Dec 2023 14:45:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CE13360A5; Thu, 21 Dec 2023 14:44:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="K9JaXGxr" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (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 508FF6D6EE for ; Thu, 21 Dec 2023 14:44:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1703169892; x=1734705892; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=S2RiX7drH6eYvkjw/CmKNkPN7b+VfhWejHLXExiN+nY=; b=K9JaXGxrdI3dW/A+u7PPxIw1mQIwwMC187f4dIw7MyosA2VqLS2EmRzn Laq6ATLj5eWAL594wLTQCkELhOSDl9uG8/MgTle6U7Cz0H1o/JGvCk/Ms pRfXQIRMRGRVjfbaNUr4ASIdSUBYeK9v1jHnnyWhusJeDMuwRnlpCs0HN gpGOR4T6As/vb9PAx9YKlqPORH42DvI5jNZoHzZd8e5lW66Ehgw++yADX DjUEGOrCcX+UsWs8Xhp8RQyFPllE5Cr/wiL4joAem89Y340UHX93UAMuI ECBX3QIP+oet/f68loFeRMPBkVAHLNIFvxASsIc6E7RmN98hwjKzLebK6 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="386408457" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="386408457" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Dec 2023 06:44:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10930"; a="847131730" X-IronPort-AV: E=Sophos;i="6.04,293,1695711600"; d="scan'208";a="847131730" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga004.fm.intel.com with ESMTP; 21 Dec 2023 06:44:49 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id AF117E6; Thu, 21 Dec 2023 16:44:48 +0200 (EET) From: Andy Shevchenko To: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , Andy Shevchenko , linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Greg Kroah-Hartman Subject: [PATCH v1 1/1] pvpanic: Don't use "proxy" headers Date: Thu, 21 Dec 2023 16:44:47 +0200 Message-ID: <20231221144447.2762077-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785903099430092707 X-GMAIL-MSGID: 1785903099430092707 Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko Reviewed-by: Thomas Weißschuh --- drivers/misc/pvpanic/pvpanic-mmio.c | 7 +++---- drivers/misc/pvpanic/pvpanic-pci.c | 5 +---- drivers/misc/pvpanic/pvpanic.c | 12 ++++++++---- drivers/misc/pvpanic/pvpanic.h | 5 +++++ 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/drivers/misc/pvpanic/pvpanic-mmio.c b/drivers/misc/pvpanic/pvpanic-mmio.c index 9715798acce3..f3f2113a54a7 100644 --- a/drivers/misc/pvpanic/pvpanic-mmio.c +++ b/drivers/misc/pvpanic/pvpanic-mmio.c @@ -7,16 +7,15 @@ * Copyright (C) 2021 Oracle. */ +#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/pvpanic-pci.c index c5fb6298cb8d..9ad20e82785b 100644 --- a/drivers/misc/pvpanic/pvpanic-pci.c +++ b/drivers/misc/pvpanic/pvpanic-pci.c @@ -5,13 +5,10 @@ * Copyright (C) 2021 Oracle. */ -#include +#include #include #include #include -#include - -#include #include "pvpanic.h" diff --git a/drivers/misc/pvpanic/pvpanic.c b/drivers/misc/pvpanic/pvpanic.c index 305b367e0ce3..df3457ce1cb1 100644 --- a/drivers/misc/pvpanic/pvpanic.c +++ b/drivers/misc/pvpanic/pvpanic.c @@ -8,16 +8,20 @@ */ #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/pvpanic.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[];