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 9983648A46 for ; Fri, 31 Oct 2025 17:45:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 94EB340273; Fri, 31 Oct 2025 17:45:32 +0100 (CET) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id 6FD9340273 for ; Fri, 31 Oct 2025 17:45:30 +0100 (CET) Received: by dpdk.org (Postfix, from userid 65534) id 5EC351261CB; Fri, 31 Oct 2025 17:44:52 +0100 (CET) Subject: |WARNING| pw158322 [PATCH v2 3/5] bpf: add a test for BPF ELF load In-Reply-To: <20251031164417.14166-4-stephen@networkplumber.org> References: <20251031164417.14166-4-stephen@networkplumber.org> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Stephen Hemminger Message-Id: <20251031164452.5EC351261CB@dpdk.org> Date: Fri, 31 Oct 2025 17:44: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/158322 _coding style issues_ WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __packed over __attribute__((packed)) #188: FILE: app/test/bpf/test_bpf_load.c:16: +} __attribute__((packed)); WARNING:AVOID_EXTERNS: externs should be avoided in .c files #196: FILE: app/test/bpf/test_bpf_load.c:24: +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"))) #206: FILE: app/test/bpf/test_bpf_load.c:34: +__attribute__((section("func"), used)) WARNING:PREFER_DEFINED_ATTRIBUTE_MACRO: Prefer __used over __attribute__((used)) #206: FILE: app/test/bpf/test_bpf_load.c:34: +__attribute__((section("func"), used)) total: 0 errors, 4 warnings, 286 lines checked Warning in app/test/bpf/test_bpf_load.c: Using compiler attribute directly