From patchwork Thu Nov 17 15:08:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 21721 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp453164wrr; Thu, 17 Nov 2022 07:11:36 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Neab7GdqD7T4X5rgUJMKlFkxhhzoYeoQhTwT7kVPkp48y4XrX9f4nqh1XsEijdCXf92DD X-Received: by 2002:a05:6402:4011:b0:461:96ba:b9c with SMTP id d17-20020a056402401100b0046196ba0b9cmr2545889eda.353.1668697895884; Thu, 17 Nov 2022 07:11:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668697895; cv=none; d=google.com; s=arc-20160816; b=frIadyG8oEST2+YhGt/HfDcMyN2mD8k6w2aBylQRxRqQTKfvv+V/FT+Xqndrr5mmgz idS9UsrrGWfibV3Dswyr8sNKzgWmQqxfW+f8hOb92xpTKQTGMCUpUlYwH/AN8jV22vnM EYKcQD8n2ygv6hJxbyKj4NY+Vc4K1TuVsGXYQV1navU/MlXPhkpjV88IfLSurCbiIpSJ OOYjb3yE+/pD8bGrH+RDqqBkvY/2r/oY/kULnJBZWeeE7zeQS6j1BK9jY6f+R/8Q93AM hUKTUazlLLgZ5C4t0a1bS+kQnlZAq3QPObPJEEvaiAyITHzgM4RPE7i7f/ShiYF3gHAv hV/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=3wC+ca9xmoMw4v4EixRmIbpEv7TkVbKrWzaJWHLc1Ek=; b=YiXb1QDf1AxPoSZ76dnUsaD640Es6+1ba0Ty35viAVxpVV79biMCH1f+mKZwPmlGgu ywQmo38L2f0QAKht5Q/v3aVBv5z7aoTkv/6Qx3sP0V4TZI2vQYtTEdYr+3lZeaw+BIbz Kb9hdKv9bn+Khjj220McUAdg8pSm88wptPUsrW60QZu7kZFp4fDja62mRb/wn6La0qUN i0AZY5fiAUsjyPTQB0Ylw2+zg7DM4tTSyxx7QRJz9nbj8IDcWwbemFLlYEX/4QMKTWq7 31UwRNJ5/diZFRYgRsKAKgrPzPI6lwV586tKrumO4gssagPxIZoNPOb8ms2tdJuFJtQV f7WQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=gggEUJRj; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=OQM6Pc2U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a170906814f00b007836ec6999dsi617730ejw.904.2022.11.17.07.11.04; Thu, 17 Nov 2022 07:11:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=gggEUJRj; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=OQM6Pc2U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240254AbiKQPKH (ORCPT + 99 others); Thu, 17 Nov 2022 10:10:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240252AbiKQPJX (ORCPT ); Thu, 17 Nov 2022 10:09:23 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63E097819F; Thu, 17 Nov 2022 07:08:18 -0800 (PST) Date: Thu, 17 Nov 2022 15:08:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668697696; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3wC+ca9xmoMw4v4EixRmIbpEv7TkVbKrWzaJWHLc1Ek=; b=gggEUJRjkD20M4bM5iyqp5r7HTmk+3N26rEPZBnEZm8NtlSBHGogfy7A/7SZ86BlWNF/p/ MPV3Z2XB4W7ofElMMzj2mwv7k9UX4fg2nH8PnmVo78SnupZaYa3YwFQ7wLnOTpDylnP5k3 q5i3b4byEY08Vu2els7wyxxApSFwHJzPB+aT0uVhhOQCUx4o4h1a0pYlaZAt2vNx5YCpir nXVYZP32PrNmDduP0SuBBznOp02j4839Y9sPZIsfXatxFkTdQ3BVdZ3QZAKvr45FzavuAG giccESG3Rn5Rz5edl8Yz31RSxKhawzQMakfgi7DsiIvms7kZH8N/DbGEcEZYlQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668697696; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3wC+ca9xmoMw4v4EixRmIbpEv7TkVbKrWzaJWHLc1Ek=; b=OQM6Pc2U0io17bNE55F/RpZK91J4NNTta9uOK5n1lxo5oZUzHBatvmFoj4ESCFAghsR/0G Mi8T50mHxzQPVeAA== From: "tip-bot2 for Ahmed S. Darwish" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] PCI/MSI: Get rid of externs in msi.h Cc: "Ahmed S. Darwish" , Thomas Gleixner , Jason Gunthorpe , Bjorn Helgaas , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20221111122014.582175082@linutronix.de> References: <20221111122014.582175082@linutronix.de> MIME-Version: 1.0 Message-ID: <166869769537.4906.7495651253482641225.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749208323168689357?= X-GMAIL-MSGID: =?utf-8?q?1749756564885400438?= The following commit has been merged into the irq/core branch of tip: Commit-ID: db537dd3bf83169d78e5617b75158f64deabcb0b Gitweb: https://git.kernel.org/tip/db537dd3bf83169d78e5617b75158f64deabcb0b Author: Ahmed S. Darwish AuthorDate: Fri, 11 Nov 2022 14:54:42 +01:00 Committer: Thomas Gleixner CommitterDate: Thu, 17 Nov 2022 15:15:20 +01:00 PCI/MSI: Get rid of externs in msi.h Follow the style of Signed-off-by: Ahmed S. Darwish Signed-off-by: Thomas Gleixner Reviewed-by: Jason Gunthorpe Acked-by: Bjorn Helgaas Link: https://lore.kernel.org/r/20221111122014.582175082@linutronix.de --- drivers/pci/msi/msi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/msi/msi.h b/drivers/pci/msi/msi.h index dbeff06..fc92603 100644 --- a/drivers/pci/msi/msi.h +++ b/drivers/pci/msi/msi.h @@ -5,12 +5,12 @@ #define msix_table_size(flags) ((flags & PCI_MSIX_FLAGS_QSIZE) + 1) -extern int pci_msi_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); -extern void pci_msi_teardown_msi_irqs(struct pci_dev *dev); +int pci_msi_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); +void pci_msi_teardown_msi_irqs(struct pci_dev *dev); #ifdef CONFIG_PCI_MSI_ARCH_FALLBACKS -extern int pci_msi_legacy_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); -extern void pci_msi_legacy_teardown_msi_irqs(struct pci_dev *dev); +int pci_msi_legacy_setup_msi_irqs(struct pci_dev *dev, int nvec, int type); +void pci_msi_legacy_teardown_msi_irqs(struct pci_dev *dev); #else static inline int pci_msi_legacy_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) {