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 6EC6B48AE2 for ; Tue, 11 Nov 2025 23:58:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 667F640281; Tue, 11 Nov 2025 23:58:35 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 769DA40281 for ; Tue, 11 Nov 2025 23:58:34 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id A83CD1261F3; Tue, 11 Nov 2025 23:57:42 +0100 (CET) Subject: |WARNING| pw158685 [PATCH v6 2/2] bpf: add test for Rx and Tx filtering In-Reply-To: <20251111225719.540140-3-stephen@networkplumber.org> References: <20251111225719.540140-3-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20251111225742.A83CD1261F3@dpdk.org> Date: Tue, 11 Nov 2025 23:57:42 +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/158685 _coding style issues_ WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("filter") over __attribute__((section("filter"))) #134: FILE: app/test/bpf/filter.c:21: +__attribute__((section("filter"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used)) #134: FILE: app/test/bpf/filter.c:21: +__attribute__((section("filter"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("drop") over __attribute__((section("drop"))) #152: FILE: app/test/bpf/filter.c:39: +__attribute__((section("drop"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used)) #152: FILE: app/test/bpf/filter.c:39: +__attribute__((section("drop"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("allow") over __attribute__((section("allow"))) #160: FILE: app/test/bpf/filter.c:47: +__attribute__((section("allow"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used)) #160: FILE: app/test/bpf/filter.c:47: +__attribute__((section("allow"), used)) total: 0 errors, 6 warnings, 396 lines checked Warning in app/test/bpf/filter.c: Using compiler attribute directly