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 03426A0096 for ; Mon, 3 Jun 2019 13:28:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E61ED1B9AD; Mon, 3 Jun 2019 13:28:26 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id A47131B9AA; Mon, 3 Jun 2019 13:28:25 +0200 (CEST) In-Reply-To: <1de8f3d2ade35c53bc2248ce3423ce8885e6fc08.1559553894.git.xuanziyang2@huawei.com> References: <1de8f3d2ade35c53bc2248ce3423ce8885e6fc08.1559553894.git.xuanziyang2@huawei.com> To: test-report@dpdk.org Cc: Ziyang Xuan Message-Id: <20190603112825.A47131B9AA@dpdk.org> Date: Mon, 3 Jun 2019 13:28:25 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw54165 [PATCH v3 03/11] net/hinic/base: add mgmt module interactive code 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/54165 _coding style issues_ CHECK:BOOL_MEMBER: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384 #82: FILE: drivers/net/hinic/base/hinic_pmd_hw_mgmt.h:43: + bool lro_en; /* LRO feature enable bit */ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects? #163: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:33: +#define SYNC_MSG_ID_INC(pf_to_mgmt) (SYNC_MSG_ID(pf_to_mgmt) = \ + (SYNC_MSG_ID(pf_to_mgmt) + 1) & SYNC_MSG_ID_MASK) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pf_to_mgmt' - possible side-effects? #168: FILE: drivers/net/hinic/base/hinic_pmd_mgmt.c:38: +#define ASYNC_MSG_ID_INC(pf_to_mgmt) (ASYNC_MSG_ID(pf_to_mgmt) = \ + ((ASYNC_MSG_ID(pf_to_mgmt) + 1) & ASYNC_MSG_ID_MASK) \ + | ASYNC_MSG_FLAG) total: 0 errors, 0 warnings, 3 checks, 1330 lines checked