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 4F08946269 for ; Wed, 19 Feb 2025 14:46:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 41C5D40E39; Wed, 19 Feb 2025 14:46:03 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id B8FEA4003C for ; Wed, 19 Feb 2025 14:46:01 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id A8E62127811; Wed, 19 Feb 2025 14:45:52 +0100 (CET) Subject: |WARNING| pw151652 [RFC v7 1/4] eventdev: atomic common for test-eventdev app In-Reply-To: <20250219134325.1195531-2-luka.jankovic@ericsson.com> References: <20250219134325.1195531-2-luka.jankovic@ericsson.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Luka Jankovic Message-Id: <20250219134552.A8E62127811@dpdk.org> Date: Wed, 19 Feb 2025 14:45:52 +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/151652 _coding style issues_ WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'? #309: FILE: app/test-eventdev/test_atomic_common.h:4: +#include WARNING:BRACES: braces {} are not necessary for single statement blocks #370: FILE: app/test-eventdev/test_atomic_common.h:65: + if (atomic_locks == NULL) { + evt_err("Unable to allocate memory for spinlocks."); + } WARNING:BRACES: braces {} are not necessary for single statement blocks #374: FILE: app/test-eventdev/test_atomic_common.h:69: + for (uint32_t i = 0; i < num_locks; i++) { + rte_spinlock_init(&atomic_locks[i]); + } total: 0 errors, 3 warnings, 241 lines checked