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 E5E4CA0471 for ; Thu, 20 Jun 2019 11:51:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBE141D001; Thu, 20 Jun 2019 11:51:21 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id CB1601D0D9; Thu, 20 Jun 2019 11:51:18 +0200 (CEST) In-Reply-To: <00f9f28fc8d93ddb965a935622c83c0cc137532d.1560958308.git.xuanziyang2@huawei.com> References: <00f9f28fc8d93ddb965a935622c83c0cc137532d.1560958308.git.xuanziyang2@huawei.com> To: test-report@dpdk.org Cc: Ziyang Xuan Message-Id: <20190620095118.CB1601D0D9@dpdk.org> Date: Thu, 20 Jun 2019 11:51:18 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw55044 [PATCH v5 10/15] net/hinic: add various headers 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/55044 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'Y' - possible side-effects? #112: FILE: drivers/net/hinic/base/hinic_compat.h:71: +#define DIV_ROUND_UP(X, Y) (((X) + ((Y) - 1)) / (Y)) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'Y' - possible side-effects? #115: FILE: drivers/net/hinic/base/hinic_compat.h:74: +#define ROUND_UP(X, Y) (DIV_ROUND_UP(X, Y) * (Y)) CHECK:CONCATENATED_STRING: Concatenated strings should use spaces between elements #129: FILE: drivers/net/hinic/base/hinic_compat.h:88: + HINIC_DRIVER_NAME": " fmt " ", ##args) CHECK:MACRO_ARG_REUSE: Macro argument reuse 'txq' - possible side-effects? #986: FILE: drivers/net/hinic/hinic_pmd_tx.h:13: +#define HINIC_GET_WQ_TAIL(txq) \ + ((txq)->wq->queue_buf_vaddr + (txq)->wq->wq_buf_size) total: 0 errors, 0 warnings, 4 checks, 1051 lines checked