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 4B63AA04FD for ; Wed, 9 Nov 2022 20:15:27 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4314D42D23; Wed, 9 Nov 2022 20:15:27 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 232A54114A for ; Wed, 9 Nov 2022 20:15:26 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 1E357121F24; Wed, 9 Nov 2022 20:15:26 +0100 (CET) Subject: |WARNING| pw119638 [PATCH 02/14] cmdline: fix whitespace In-Reply-To: <20221109191445.140320-3-stephen@networkplumber.org> References: <20221109191445.140320-3-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20221109191526.1E357121F24@dpdk.org> Date: Wed, 9 Nov 2022 20:15:26 +0100 (CET) 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/119638 _coding style issues_ WARNING:BRACES: braces {} are not necessary for single statement blocks #100: FILE: lib/cmdline/cmdline_parse_string.c:80: + if (strncmp(buf, str, token_len)) { continue; } WARNING:BRACES: braces {} are not necessary for single statement blocks #105: FILE: lib/cmdline/cmdline_parse_string.c:84: + if (!cmdline_isendoftoken(*(buf+token_len))) { continue; } ERROR:SPACING: space prohibited after that open parenthesis '(' #111: FILE: lib/cmdline/cmdline_parse_string.c:89: + } while ( (str = get_next_token(str)) != NULL); WARNING:BRACES: braces {} are not necessary for single statement blocks #129: FILE: lib/cmdline/cmdline_parse_string.c:152: + while ((str = get_next_token(str)) != NULL) { ret++; } WARNING:LONG_LINE: line length of 105 exceeds 100 columns #160: FILE: lib/cmdline/cmdline_rdline.c:407: + while (CIRBUF_GET_LEN(&rdl->right) + CIRBUF_GET_LEN(&rdl->left) < total: 1 errors, 4 warnings, 59 lines checked