From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 5FA68A00E6 for ; Thu, 13 Jun 2019 15:56:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59EC51D52C; Thu, 13 Jun 2019 15:56:00 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id AEBE81D4A3; Thu, 13 Jun 2019 15:55:53 +0200 (CEST) In-Reply-To: <20190611155221.2703-19-leyi.rong@intel.com> References: <20190611155221.2703-19-leyi.rong@intel.com> To: test-report@dpdk.org Cc: Leyi Rong Message-Id: <20190613135553.AEBE81D4A3@dpdk.org> Date: Thu, 13 Jun 2019 15:55:53 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw54675 [PATCH v2 18/66] net/ice/base: use macro instead of magic 8 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: , Errors-To: test-report-bounces@dpdk.org Sender: "test-report" Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/54675 _coding style issues_ CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_offset_bytes' may be better as '(_offset_bytes)' to avoid precedence issues #70: FILE: drivers/net/ice/base/ice_flow.c:39: +#define ICE_FLOW_FLD_INFO(_hdr, _offset_bytes, _size_bytes) { \ + .hdr = _hdr, \ + .off = _offset_bytes * BITS_PER_BYTE, \ + .size = _size_bytes * BITS_PER_BYTE, \ +} CHECK:MACRO_ARG_PRECEDENCE: Macro argument '_size_bytes' may be better as '(_size_bytes)' to avoid precedence issues #70: FILE: drivers/net/ice/base/ice_flow.c:39: +#define ICE_FLOW_FLD_INFO(_hdr, _offset_bytes, _size_bytes) { \ + .hdr = _hdr, \ + .off = _offset_bytes * BITS_PER_BYTE, \ + .size = _size_bytes * BITS_PER_BYTE, \ +} total: 0 errors, 0 warnings, 2 checks, 157 lines checked