From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <test-report-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 514FC4606E
	for <public@inbox.dpdk.org>; Mon, 13 Jan 2025 10:06:01 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 4A9C3406BA;
	Mon, 13 Jan 2025 10:06:01 +0100 (CET)
Received: from dpdk.org (dpdk.org [92.243.24.197])
 by mails.dpdk.org (Postfix) with ESMTP id 2E739402A7
 for <test-report@dpdk.org>; Mon, 13 Jan 2025 10:06:00 +0100 (CET)
Received: by dpdk.org (Postfix, from userid 65534)
 id D1B77126FD3; Mon, 13 Jan 2025 10:05:16 +0100 (CET)
Subject: |WARNING| pw149932 [RFC v3 1/1] eventdev: add atomic queue to
 test-eventdev app
In-Reply-To: <20250113090451.2180161-1-luka.jankovic@ericsson.com>
References: <20250113090451.2180161-1-luka.jankovic@ericsson.com>
To: test-report@dpdk.org
From: checkpatch@dpdk.org
Cc: ejnulak <luka.jankovic@ericsson.com>
Message-Id: <20250113090516.D1B77126FD3@dpdk.org>
Date: Mon, 13 Jan 2025 10:05:16 +0100 (CET)
X-BeenThere: test-report@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: automatic DPDK test reports <test-report.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/test-report>,
 <mailto:test-report-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/test-report/>
List-Post: <mailto:test-report@dpdk.org>
List-Help: <mailto:test-report-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/test-report>,
 <mailto:test-report-request@dpdk.org?subject=subscribe>
Errors-To: test-report-bounces@dpdk.org

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/149932

_coding style issues_


WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#113: 
Add an atomic queue test based on the order queue test but use exclusively atomic queues.

WARNING:TYPO_SPELLING: 'stdio' may be misspelled - perhaps 'studio'?
#184: FILE: app/test-eventdev/test_atomic_queue.c:2:
+#include <stdio.h>

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#333: FILE: app/test-eventdev/test_atomic_queue.c:151:
+		uint32_t *const expected_flow_seq, RTE_ATOMIC(uint64_t) *const outstand_pkts,
 		                                                        ^

WARNING:BRACES: braces {} are not necessary for single statement blocks
#376: FILE: app/test-eventdev/test_atomic_queue.c:194:
+			if (!flow_id_cap) {
+				ev[i].flow_id = event_data_get_flow(&ev[i]);
+			}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#544: FILE: app/test-eventdev/test_atomic_queue.c:362:
+	for (uint32_t i = 0; i < num_locks; i++) {
+		rte_spinlock_init(&atomic_locks[i]);
+	}

total: 1 errors, 4 warnings, 429 lines checked
Warning in app/test-eventdev/test_atomic_queue.c:
Using %l format, prefer %PRI*64 if type is [u]int64_t