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 514BE48A14 for ; Thu, 30 Oct 2025 18:38:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AB5C4026F; Thu, 30 Oct 2025 18:38:54 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id BCBFC4026F for ; Thu, 30 Oct 2025 18:38:52 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id D02E41261CB; Thu, 30 Oct 2025 18:38:15 +0100 (CET) Subject: |WARNING| pw158303 [PATCH 4/5] bpf: add test for rx and tx filtering In-Reply-To: <20251030173732.246435-5-stephen@networkplumber.org> References: <20251030173732.246435-5-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20251030173815.D02E41261CB@dpdk.org> Date: Thu, 30 Oct 2025 18:38:15 +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/158303 _coding style issues_ WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("filter") over __attribute__((section("filter"))) #140: FILE: app/test/bpf/test_bpf_filter.c:19: +__attribute__((section("filter"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used)) #140: FILE: app/test/bpf/test_bpf_filter.c:19: +__attribute__((section("filter"), used)) WARNING:STATIC_CONST_CHAR_ARRAY: const array should probably be static const #314: FILE: app/test/test_bpf.c:3556: + const char null_dev[] = "net_null_bpf0"; WARNING:STATIC_CONST_CHAR_ARRAY: const array should probably be static const #388: FILE: app/test/test_bpf.c:3630: + const char null_dev[] = "net_null_bpf0"; total: 0 errors, 4 warnings, 345 lines checked Warning in app/test/bpf/test_bpf_filter.c: Using compiler attribute directly