From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id BE1059113; Thu, 31 Aug 2017 16:56:23 +0200 (CEST) In-Reply-To: <20170831145436.5397-3-jerin.jacob@caviumnetworks.com> References: <20170831145436.5397-3-jerin.jacob@caviumnetworks.com> To: test-report@dpdk.org Cc: Jerin Jacob Message-Id: <20170831145623.BE1059113@dpdk.org> Date: Thu, 31 Aug 2017 16:56:23 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw28167 [PATCH 02/26] net/octeontx/base: add octeontx io operations 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: Thu, 31 Aug 2017 14:56:24 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/28167 _coding style issues_ WARNING:BAD_SIGN_OFF: Non-standard signature: Co-authored-by: #19: Co-authored-by: Santosh Shukla ERROR:SPACING: spaces required around that ':' (ctx:ExV) #86: FILE: drivers/net/octeontx/base/octeontx_io.h:56: + :[x0]"=r"(val0), [x1]"=r"(val1) \ ^ ERROR:SPACING: spaces required around that ':' (ctx:ExV) #87: FILE: drivers/net/octeontx/base/octeontx_io.h:57: + :[p1]"r"(addr) \ ^ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects? #99: FILE: drivers/net/octeontx/base/octeontx_io.h:69: +#define octeontx_load_pair(val0, val1, addr) \ +do { \ + val0 = rte_read64(addr); \ + val1 = rte_read64(((uint8_t *)addr) + 8); \ +} while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects? #105: FILE: drivers/net/octeontx/base/octeontx_io.h:75: +#define octeontx_store_pair(val0, val1, addr) \ +do { \ + rte_write64(val0, addr); \ + rte_write64(val1, (((uint8_t *)addr) + 8)); \ +} while (0) total: 2 errors, 1 warnings, 2 checks, 156 lines checked