From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9F93A0548 for ; Sat, 4 Sep 2021 00:06:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B63CF410FA; Sat, 4 Sep 2021 00:06:58 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 4C0DF40DDD for ; Sat, 4 Sep 2021 00:06:58 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id 49081122E33; Sat, 4 Sep 2021 00:06:58 +0200 (CEST) In-Reply-To: <20210903220609.41899-4-stephen@networkplumber.org> References: <20210903220609.41899-4-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20210903220658.49081122E33@dpdk.org> Date: Sat, 4 Sep 2021 00:06:58 +0200 (CEST) Subject: [dpdk-test-report] |WARNING| pw97956 [PATCH v2 3/5] app/dumpcap: add new packet capture application X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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/97956 _coding style issues_ WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const #610: FILE: app/dumpcap/main.c:510: + const char *args[] = { WARNING:TYPO_SPELLING: 'CREAT' may be misspelled - perhaps 'CREATE'? #713: FILE: app/dumpcap/main.c:613: + fd = open(output_name, O_WRONLY | O_CREAT, mode); WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return #733: FILE: app/dumpcap/main.c:633: + return pcapng; + } else { total: 0 errors, 3 warnings, 856 lines checked