From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id E2E132FDD; Fri, 23 Dec 2016 16:58:35 +0100 (CET) In-Reply-To: <1482508691-11408-2-git-send-email-jblunck@infradead.org> References: <1482508691-11408-2-git-send-email-jblunck@infradead.org> To: test-report@dpdk.org Cc: Jan Blunck Message-Id: <20161223155835.E2E132FDD@dpdk.org> Date: Fri, 23 Dec 2016 16:58:35 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw18484 [PATCH v5 01/20] eal: define container_of macro 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: Fri, 23 Dec 2016 15:58:36 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/18484 _coding style issues_ ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #101: FILE: lib/librte_eal/common/include/rte_common.h:349: +#define container_of(ptr, type, member) __extension__ ({ \ + typeof(((type *)0)->member) *_ptr = (ptr); \ + (type *)(((char *)_ptr) - offsetof(type, member)); }) ERROR:SPACING: need consistent spacing around '*' (ctx:WxV) #102: FILE: lib/librte_eal/common/include/rte_common.h:350: + typeof(((type *)0)->member) *_ptr = (ptr); \ ^ total: 2 errors, 0 warnings, 26 lines checked