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 AEAC845D01 for ; Thu, 14 Nov 2024 09:12:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA18442D76; Thu, 14 Nov 2024 09:12:21 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id D1D2E42D6A for ; Thu, 14 Nov 2024 09:12:19 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id BA648121E2B; Thu, 14 Nov 2024 09:12:19 +0100 (CET) Subject: |WARNING| pw148474 [PATCH] eal/linux: redefine the name for rte_fbarray_init In-Reply-To: References: To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Congjie Zhou Message-Id: <20241114081219.BA648121E2B@dpdk.org> Date: Thu, 14 Nov 2024 09:12:19 +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/148474 _coding style issues_ ERROR:TRAILING_WHITESPACE: trailing whitespace #97: FILE: lib/eal/linux/eal_memalloc.c:1434: +static uint64_t $ ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line #97: FILE: lib/eal/linux/eal_memalloc.c:1434: +static uint64_t +current_time(void) { WARNING:LEADING_SPACE: please, no spaces at the start of a line #99: FILE: lib/eal/linux/eal_memalloc.c:1436: + struct timespec ts;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #100: FILE: lib/eal/linux/eal_memalloc.c:1437: + if (clock_gettime(CLOCK_MONOTONIC_RAW, &ts) == -1) {$ ERROR:CODE_INDENT: code indent should use tabs where possible #101: FILE: lib/eal/linux/eal_memalloc.c:1438: + EAL_LOG(ERR, "Fail to get current time");$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #101: FILE: lib/eal/linux/eal_memalloc.c:1438: + EAL_LOG(ERR, "Fail to get current time");$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #103: FILE: lib/eal/linux/eal_memalloc.c:1440: + }$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #104: FILE: lib/eal/linux/eal_memalloc.c:1441: + uint64_t time_ns = (uint64_t)ts.tv_sec * 1000000000ULL + ts.tv_nsec;$ WARNING:LEADING_SPACE: please, no spaces at the start of a line #105: FILE: lib/eal/linux/eal_memalloc.c:1442: + return time_ns;$ total: 3 errors, 6 warnings, 34 lines checked