From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9CC6A0548 for ; Fri, 10 Sep 2021 04:39:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B1CF9406B4; Fri, 10 Sep 2021 04:39:55 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 496794013F for ; Fri, 10 Sep 2021 04:39:54 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 453B1122527; Fri, 10 Sep 2021 04:39:54 +0200 (CEST) In-Reply-To: <20210910022402.26620-9-chenbo.xia@intel.com> References: <20210910022402.26620-9-chenbo.xia@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Chenbo Xia Message-Id: <20210910023954.453B1122527@dpdk.org> Date: Fri, 10 Sep 2021 04:39:54 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw98534 [PATCH 8/8] bus/pci: remove ABIs in PCI bus X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/98534 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #488: FILE: drivers/bus/pci/pci_driver.h:96: +#define RTE_PCI_DEVICE(vend, dev) \ + RTE_CLASS_ANY_ID, \ + (vend), \ + (dev), \ + RTE_PCI_ANY_ID, \ + RTE_PCI_ANY_ID WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'? #639: FILE: drivers/bus/pci/pci_driver.h:247: + * Enables/Disables Bus Master for device's PCI command register. WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'? #644: FILE: drivers/bus/pci/pci_driver.h:252: + * Enable or disable Bus Master. WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #650: FILE: drivers/bus/pci/pci_driver.h:258: +int rte_pci_set_bus_master(struct rte_pci_device *dev, bool enable); ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #663: FILE: drivers/bus/pci/pci_driver.h:271: +#define RTE_PMD_REGISTER_PCI(nm, pci_drv) \ +RTE_INIT(pciinitfn_ ##nm) \ +{\ + (pci_drv).driver.name = RTE_STR(nm);\ + rte_pci_register(&pci_drv); \ +} \ +RTE_PMD_EXPORT_NAME(nm, __COUNTER__) WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #1257: FILE: drivers/bus/pci/version.map:29: + rte_pci_set_bus_master; total: 2 errors, 4 warnings, 1833 lines checked