From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 64B9237B2; Thu, 27 Apr 2017 15:49:20 +0200 (CEST) In-Reply-To: <20170427134728.35392-1-ashwin.sekhar@caviumnetworks.com> References: <20170427134728.35392-1-ashwin.sekhar@caviumnetworks.com> To: test-report@dpdk.org Cc: Ashwin Sekhar T K Message-Id: <20170427134920.64B9237B2@dpdk.org> Date: Thu, 27 Apr 2017 15:49:20 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw23964 [PATCH 1/2] table: separate out arch specific defines from lru header 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, 27 Apr 2017 13:49:20 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/23964 _coding style issues_ ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop #243: FILE: lib/librte_table/rte_lru_x86.h:67: +#define lru_init(bucket) \ +do \ + bucket->lru_list = 0x0000000100020003LLU; \ +while (0) WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' #271: FILE: lib/librte_table/rte_lru_x86.h:95: + unsigned pos = _mm_extract_epi16(d, 1); \ ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros with multiple statements should be enclosed in a do - while loop #289: FILE: lib/librte_table/rte_lru_x86.h:113: +#define lru_init(bucket) \ +do \ + bucket->lru_list = ~0LLU; \ +while (0) total: 2 errors, 1 warnings, 276 lines checked