From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 80C764CBD; Mon, 11 Mar 2019 18:38:48 +0100 (CET) In-Reply-To: <20190311173702.24471-5-ncopa@alpinelinux.org> References: <20190311173702.24471-5-ncopa@alpinelinux.org> To: test-report@dpdk.org Cc: Natanael Copa Message-Id: <20190311173848.80C764CBD@dpdk.org> Date: Mon, 11 Mar 2019 18:38:48 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw51088 [PATCH 04/15] bus/pci: factor out various ifdefs in pci_uio_ioport_{read, write} X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2019 17:38:48 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/51088 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #63: FILE: drivers/bus/pci/linux/pci_uio.c:53: +#define pci_uio_inl(reg) *(volatile uint32_t *)(reg) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #64: FILE: drivers/bus/pci/linux/pci_uio.c:54: +#define pci_uio_inw(reg) *(volatile uint16_t *)(reg) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #65: FILE: drivers/bus/pci/linux/pci_uio.c:55: +#define pci_uio_inb(reg) *(volatile uint8_t *)(reg) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #67: FILE: drivers/bus/pci/linux/pci_uio.c:57: +#define pci_uio_outl_p(value, reg) *(volatile uint32_t *)(reg) = (value) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #68: FILE: drivers/bus/pci/linux/pci_uio.c:58: +#define pci_uio_outw_p(value, reg) *(volatile uint16_t *)(reg) = (value) ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #69: FILE: drivers/bus/pci/linux/pci_uio.c:59: +#define pci_uio_outb_p(value, reg) *(volatile uint8_t *)(reg) = (value) total: 6 errors, 0 warnings, 93 lines checked