From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86F77A0519 for ; Fri, 3 Jul 2020 01:31:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 796AA1D9D6; Fri, 3 Jul 2020 01:31:49 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 1017) id 95F871DA3F; Fri, 3 Jul 2020 01:31:48 +0200 (CEST) In-Reply-To: <20200702232838.92817-16-ajit.khaparde@broadcom.com> References: <20200702232838.92817-16-ajit.khaparde@broadcom.com> To: test-report@dpdk.org Cc: Ajit Khaparde Message-Id: <20200702233148.95F871DA3F@dpdk.org> Date: Fri, 3 Jul 2020 01:31:48 +0200 (CEST) From: checkpatch@dpdk.org Subject: [dpdk-test-report] |WARNING| pw72881 [PATCH v4 15/51] net/bnxt: add HCAPI interface support 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/72881 _coding style issues_ CHECK:MACRO_ARG_REUSE: Macro argument reuse 'mask' - possible side-effects? #511: FILE: drivers/net/bnxt/hcapi/hcapi_cfa_defs.h:26: +#define __CFA_ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask)) WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #561: FILE: drivers/net/bnxt/hcapi/hcapi_cfa_defs.h:76: + HCAPI_CFA_HWOPS_ADD, /**< For operations which require more than simple + * writes to HW, this operation is used. The WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line #569: FILE: drivers/net/bnxt/hcapi/hcapi_cfa_defs.h:84: + HCAPI_CFA_HWOPS_DEL, /**< This issues operations to clear the hardware. + * This operation is used in conjunction CHECK:MACRO_ARG_REUSE: Macro argument reuse 'crc' - possible side-effects? #1215: FILE: drivers/net/bnxt/hcapi/hcapi_cfa_p4.c:52: +#define ucrc32(ch, crc) (crc32tbl[((crc) ^ (ch)) & 0xff] ^ ((crc) >> 8)) WARNING:LONG_LINE: line over 90 characters #2089: FILE: drivers/net/bnxt/tf_core/tf_em.c:387: + mask = tf_em_get_key_mask(tbl_scope_cb->em_ctx_info[parms->dir].em_tables[TF_KEY0_TABLE].num_entries); total: 0 errors, 3 warnings, 2 checks, 2228 lines checked