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 8308BA0C47 for ; Sat, 18 Sep 2021 04:41:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E9884014E; Sat, 18 Sep 2021 04:41:32 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 97E214003D for ; Sat, 18 Sep 2021 04:41:31 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 81B24122EE7; Sat, 18 Sep 2021 04:41:31 +0200 (CEST) In-Reply-To: <20210918022443.12719-8-chenbo.xia@intel.com> References: <20210918022443.12719-8-chenbo.xia@intel.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Chenbo Xia Message-Id: <20210918024131.81B24122EE7@dpdk.org> Date: Sat, 18 Sep 2021 04:41:31 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw99257 [PATCH v2 7/7] 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/99257 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #493: 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'? #644: 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'? #649: FILE: drivers/bus/pci/pci_driver.h:252: + * Enable or disable Bus Master. WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'? #655: 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 #668: 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'? #1262: FILE: drivers/bus/pci/version.map:29: + rte_pci_set_bus_master; total: 2 errors, 4 warnings, 1833 lines checked