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 05FB943FEE for ; Fri, 10 May 2024 08:29:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 022A3402D1; Fri, 10 May 2024 08:29:24 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 0A6904025F for ; Fri, 10 May 2024 08:29:23 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id EAE50121E57; Fri, 10 May 2024 08:29:22 +0200 (CEST) Subject: |WARNING| pw140016 [PATCH] graph: fix does not return the unique id when create graph In-Reply-To: References: To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Gongming Chen Message-Id: <20240510062922.EAE50121E57@dpdk.org> Date: Fri, 10 May 2024 08:29:22 +0200 (CEST) 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/140016 _coding style issues_ ERROR:INITIALISED_STATIC: do not initialise statics to 0 #155: FILE: lib/graph/graph.c:242: + static rte_graph_t graph_id = 0; ERROR:ASSIGN_IN_IF: do not use assignment in if condition #399: FILE: lib/graph/graph.c:753: + } else if ((graph = graph_find_by_id(id))) { total: 2 errors, 0 warnings, 291 lines checked