From patchwork Wed Oct 13 00:31:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= X-Patchwork-Id: 12554117 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6CEE4C433F5 for ; Wed, 13 Oct 2021 00:31:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 46B8760F23 for ; Wed, 13 Oct 2021 00:31:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235064AbhJMAdu (ORCPT ); Tue, 12 Oct 2021 20:33:50 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:39758 "EHLO mail-wr1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234237AbhJMAdu (ORCPT ); Tue, 12 Oct 2021 20:33:50 -0400 Received: by mail-wr1-f53.google.com with SMTP id r18so2440542wrg.6 for ; Tue, 12 Oct 2021 17:31:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t1YARcVMucevMKBi2klQIlXW4lDqN6tMjZ3AEQCVYt8=; b=k6OL8lh7BH5/beux0trxzIB5SxEne4li3YvBRZMP+Ip3YrGlCxWx2GSS0XARDbWwC8 ftz06F2UypcLIxYi/PZPtWoPGGAPaXO3d5HZcws4ePATr7yHAwXFJ/29OKsU8G7IGctj bXqye5jbI2lFBZwZQqm9YMQhmjAE+QHYeJ17YeX1y6LBwPlsIsea0lAi3ilxsXgP+Api Wj55c8+JhJ95L0f3i16kvVeZBFHq4HRD59fbm5P80jQqxmruj0DQVF9S+sPARdA5cvNU 45ez2hRQp3evhfspBK9/4xbi79GlYByUb4cdv695acRRoH7WlGKTXa4n6zRuWvKfCnI8 NLxA== X-Gm-Message-State: AOAM533P61vj67aQNW7gqHP14xA/haXnFO/BYbrHaccuZu20zbAfvC7c wmB55EY3Wl+sdTTHX7FKS4s= X-Google-Smtp-Source: ABdhPJyHegGejRKZ7TdYO+bwRwqrwfJ92PZlnEtjmvg5RHJp6nS3k3unI67dzLDoZ1u8fedSzFLSSQ== X-Received: by 2002:a05:600c:3393:: with SMTP id o19mr9386749wmp.66.1634085107016; Tue, 12 Oct 2021 17:31:47 -0700 (PDT) Received: from workstation.lan ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id a2sm12147516wru.82.2021.10.12.17.31.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 17:31:46 -0700 (PDT) From: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= To: Bjorn Helgaas Cc: Lorenzo Pieralisi , Rob Herring , Jonathan Derrick , Nirmal Patel , linux-pci@vger.kernel.org Subject: [PATCH 1/2] PCI: vmd: Use preferred header files linux/device.h and linux/msi.h Date: Wed, 13 Oct 2021 00:31:44 +0000 Message-Id: <20211013003145.1107148-1-kw@linux.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Use the preferred generic header files linux/device.h and linux/msi.h that already include the corresponding asm/device.h and asm/msi.h files, especially where the headers files linux/msi.h and asm/msi.h where both included. Signed-off-by: Krzysztof Wilczyński Reviewed-by: Jonathan Derrick --- drivers/pci/controller/vmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c index a5987e52700e..9609eb911349 100644 --- a/drivers/pci/controller/vmd.c +++ b/drivers/pci/controller/vmd.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -18,8 +19,6 @@ #include #include -#include -#include #define VMD_CFGBAR 0 #define VMD_MEMBAR1 2 From patchwork Wed Oct 13 00:31:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= X-Patchwork-Id: 12554119 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1AD39C433EF for ; Wed, 13 Oct 2021 00:31:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EC38560FDA for ; Wed, 13 Oct 2021 00:31:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234237AbhJMAdv (ORCPT ); Tue, 12 Oct 2021 20:33:51 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:43564 "EHLO mail-wr1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235727AbhJMAdv (ORCPT ); Tue, 12 Oct 2021 20:33:51 -0400 Received: by mail-wr1-f44.google.com with SMTP id r7so2394755wrc.10 for ; Tue, 12 Oct 2021 17:31:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bwDQdl4mJJugF0SeCDT0lzru/oRcVPVlEEZvO8eSgPw=; b=Lblk0Z7S64UHXTP8bxDBs3MaARd41qpiWehRVZD+aXXu03DbaAakEOuH5t8V2BDyzI 2WZ9tDHiMrjcgYm5cqIISgPPwW+UuBhEGVnTBuR9wbrXnujzmFD4Xl44/QM6f50fvxG7 je3SVwstXCiPNRFOLcTx/ufi4XTcC9IOCqhNpHfYqDpznhPKXJQaTtICAIww/oLkaqdk 6K/fwh2vCLhqG7xEeXEPvNfm9jVHR43721Gm8VW5UdEMCAXbeLSRFmFFHI22vPsEtefU rCwJSEp6nCb626HOIGjUkiyulqCtG311hFbJ5WYH5JpcSiWjM+ev71zsQF3DGLaoGLz+ gVPA== X-Gm-Message-State: AOAM5308kb6Ua71nlEurHXEPsJ0ejxK0wjH8H5li5wn4vm/12ntY+Wlb QjeEMb10+m7rYLuzvZsy/+g= X-Google-Smtp-Source: ABdhPJyzdJ8GkMZPKu5K8p1ubuLkWmxrZ1905H96sfK+TsW00n76tEzGlQ4QElYaudeshZ0v8RKdiQ== X-Received: by 2002:a7b:c1cb:: with SMTP id a11mr9181115wmj.39.1634085108018; Tue, 12 Oct 2021 17:31:48 -0700 (PDT) Received: from workstation.lan ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id a2sm12147516wru.82.2021.10.12.17.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 17:31:47 -0700 (PDT) From: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= To: Bjorn Helgaas Cc: Lorenzo Pieralisi , Rob Herring , Jonathan Derrick , Nirmal Patel , linux-pci@vger.kernel.org Subject: [PATCH 2/2] PCI: hotplug: Use preferred header file linux/io.h Date: Wed, 13 Oct 2021 00:31:45 +0000 Message-Id: <20211013003145.1107148-2-kw@linux.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211013003145.1107148-1-kw@linux.com> References: <20211013003145.1107148-1-kw@linux.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Use the preferred generic header file linux/io.h that already includes the corresponding asm/io.h file. Signed-off-by: Krzysztof Wilczyński Reviewed-by: Jonathan Derrick --- drivers/pci/hotplug/cpqphp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/hotplug/cpqphp.h b/drivers/pci/hotplug/cpqphp.h index 77e4e0142fbc..2f7b49ea96e2 100644 --- a/drivers/pci/hotplug/cpqphp.h +++ b/drivers/pci/hotplug/cpqphp.h @@ -15,7 +15,7 @@ #define _CPQPHP_H #include -#include /* for read? and write? functions */ +#include /* for read? and write? functions */ #include /* for delays */ #include #include /* for signal_pending() */