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 5F40548A14 for ; Thu, 30 Oct 2025 18:39:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5B27F4026F; Thu, 30 Oct 2025 18:39:00 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id B30024026F for ; Thu, 30 Oct 2025 18:38:59 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id C98851261CB; Thu, 30 Oct 2025 18:38:22 +0100 (CET) Subject: |WARNING| pw158302 [PATCH 3/5] bpf: add a test for BPF ELF load In-Reply-To: <20251030173732.246435-4-stephen@networkplumber.org> References: <20251030173732.246435-4-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20251030173822.C98851261CB@dpdk.org> Date: Thu, 30 Oct 2025 18:38:22 +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/158302 _coding style issues_ WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __packed over __attribute__((packed)) #185: FILE: app/test/bpf/test_bpf_load.c:14: +} __attribute__((packed)); WARNING:AVOID_EXTERNS: externs should be avoided in .c files #193: FILE: app/test/bpf/test_bpf_load.c:22: +extern void dummy_func1(const void *p, uint32_t *v32, uint64_t *v64); WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __section("func") over __attribute__((section("func"))) #203: FILE: app/test/bpf/test_bpf_load.c:32: +__attribute__((section("func"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used)) #203: FILE: app/test/bpf/test_bpf_load.c:32: +__attribute__((section("func"), used)) total: 0 errors, 4 warnings, 284 lines checked Warning in app/test/bpf/test_bpf_load.c: Using compiler attribute directly