From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id 365001B1EA; Tue, 19 Feb 2019 12:02:57 +0100 (CET) In-Reply-To: <20190219105951.31046-5-tiwei.bie@intel.com> References: <20190219105951.31046-5-tiwei.bie@intel.com> To: test-report@dpdk.org Cc: Tiwei Bie Message-Id: <20190219110257.365001B1EA@dpdk.org> Date: Tue, 19 Feb 2019 12:02:57 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw50364 [4/5] net/virtio: introduce a helper for clearing net header X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 11:02:57 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/50364 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse '_hdr' - possible side-effects? #34: FILE: drivers/net/virtio/virtio_rxtx.c:522: +#define virtqueue_clear_net_hdr(_hdr) do { \ + ASSIGN_UNLESS_EQUAL((_hdr)->csum_start, 0); \ + ASSIGN_UNLESS_EQUAL((_hdr)->csum_offset, 0); \ + ASSIGN_UNLESS_EQUAL((_hdr)->flags, 0); \ + ASSIGN_UNLESS_EQUAL((_hdr)->gso_type, 0); \ + ASSIGN_UNLESS_EQUAL((_hdr)->gso_size, 0); \ + ASSIGN_UNLESS_EQUAL((_hdr)->hdr_len, 0); \ +} while (0) total: 0 errors, 0 warnings, 1 checks, 70 lines checked