From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 32E717CB0; Fri, 11 Aug 2017 14:38:07 +0200 (CEST) In-Reply-To: <20170811124929.118564-2-jasvinder.singh@intel.com> References: <20170811124929.118564-2-jasvinder.singh@intel.com> To: test-report@dpdk.org Cc: Jasvinder Singh Message-Id: <20170811123807.32E717CB0@dpdk.org> Date: Fri, 11 Aug 2017 14:38:07 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw27517 [PATCH v3 1/4] net/softnic: add softnic PMD 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, 11 Aug 2017 12:38:07 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/27517 _coding style issues_ WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const #207: FILE: drivers/net/softnic/rte_eth_softnic.c:52: +static const char *pmd_valid_args[] = { CHECK:SPACING: No space is necessary after a cast #341: FILE: drivers/net/softnic/rte_eth_softnic.c:186: + rte_ring_free((struct rte_ring *) dev->data->tx_queues[i]); CHECK:SPACING: No space is necessary after a cast #381: FILE: drivers/net/softnic/rte_eth_softnic.c:226: + return (uint16_t) rte_ring_enqueue_burst(txq, CHECK:SPACING: No space is necessary after a cast #382: FILE: drivers/net/softnic/rte_eth_softnic.c:227: + (void **) tx_pkts, CHECK:SPACING: No space is necessary after a cast #411: FILE: drivers/net/softnic/rte_eth_softnic.c:256: + (void **) &pkts[pkts_len], CHECK:SPACING: No space is necessary after a cast #426: FILE: drivers/net/softnic/rte_eth_softnic.c:271: + (uint16_t) (pkts_len - pos)); CHECK:SPACING: No space is necessary after a cast #439: FILE: drivers/net/softnic/rte_eth_softnic.c:284: + (uint16_t) (pkts_len - pos)); total: 0 errors, 1 warnings, 894 lines checked