From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 0CFD6A045E for ; Thu, 30 May 2019 23:27:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C81BC37A2; Thu, 30 May 2019 23:27:26 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id CDF355680; Thu, 30 May 2019 23:27:23 +0200 (CEST) In-Reply-To: <20190530212525.40370-8-bruce.richardson@intel.com> References: <20190530212525.40370-8-bruce.richardson@intel.com> To: test-report@dpdk.org Cc: Bruce Richardson Message-Id: <20190530212723.CDF355680@dpdk.org> Date: Thu, 30 May 2019 23:27:23 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw53934 [PATCH 7/8] raw/ioat: add statistics functions 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: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/53934 _coding style issues_ WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const #121: FILE: drivers/raw/ioat/ioat_rawdev.c:110: +static const char *xstat_names[] = { ERROR:SPACING: space required before the open brace '{' #134: FILE: drivers/raw/ioat/ioat_rawdev.c:123: + switch (ids[i]){ ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #135: FILE: drivers/raw/ioat/ioat_rawdev.c:124: + case 0: values[i] = ioat->enqueue_failed; break; ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #136: FILE: drivers/raw/ioat/ioat_rawdev.c:125: + case 1: values[i] = ioat->enqueued; break; ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #137: FILE: drivers/raw/ioat/ioat_rawdev.c:126: + case 2: values[i] = ioat->started; break; ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #138: FILE: drivers/raw/ioat/ioat_rawdev.c:127: + case 3: values[i] = ioat->completed; break; ERROR:TRAILING_STATEMENTS: trailing statements should be on next line #139: FILE: drivers/raw/ioat/ioat_rawdev.c:128: + default: values[i] = 0; break; total: 6 errors, 1 warnings, 141 lines checked