From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 1017) id CF3BEF618; Wed, 11 Jan 2017 05:25:27 +0100 (CET) In-Reply-To: <1484108832-19907-2-git-send-email-yuanhan.liu@linux.intel.com> References: <1484108832-19907-2-git-send-email-yuanhan.liu@linux.intel.com> To: test-report@dpdk.org Cc: Yuanhan Liu Message-Id: <20170111042527.CF3BEF618@dpdk.org> Date: Wed, 11 Jan 2017 05:25:27 +0100 (CET) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw19100 [PATCH 1/2] net/virtio: fix performance regression due to TSO enabling 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: Wed, 11 Jan 2017 04:25:27 -0000 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/19100 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'var' - possible side-effects? #94: FILE: drivers/net/virtio/virtio_rxtx.c:262: +#define ASSIGN_UNLESS_EQUAL(var, val) do { \ + if ((var) != (val)) \ + (var) = (val); \ +} while (0) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'val' - possible side-effects? #94: FILE: drivers/net/virtio/virtio_rxtx.c:262: +#define ASSIGN_UNLESS_EQUAL(var, val) do { \ + if ((var) != (val)) \ + (var) = (val); \ +} while (0) total: 0 errors, 0 warnings, 2 checks, 36 lines checked