From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F37AAA0032 for ; Fri, 24 Jun 2022 11:02:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EFDBA415D7; Fri, 24 Jun 2022 11:02:39 +0200 (CEST) Received: from dpdk.org (dpdk.org [92.243.24.197]) by mails.dpdk.org (Postfix) with ESMTP id EC6484069D for ; Fri, 24 Jun 2022 11:02:36 +0200 (CEST) Received: by dpdk.org (Postfix, from userid 65534) id E716612083E; Fri, 24 Jun 2022 11:02:36 +0200 (CEST) Subject: |WARNING| pw113428 [PATCH 5/6] net/hns3: make code more clean In-Reply-To: <20220624085951.3177-6-liudongdong3@huawei.com> References: <20220624085951.3177-6-liudongdong3@huawei.com> To: test-report@dpdk.org From: checkpatch@dpdk.org Cc: Dongdong Liu Message-Id: <20220624090236.E716612083E@dpdk.org> Date: Fri, 24 Jun 2022 11:02:36 +0200 (CEST) X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 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 Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/113428 _coding style issues_ WARNING:MULTILINE_DEREFERENCE: Avoid multiple line dereference - prefer 'rte_eth_devices[rxq->port_id].data->rx_mbuf_alloc_failed' #84: FILE: drivers/net/hns3/hns3_rxtx.c:2439: + rte_eth_devices[rxq->port_id].data-> + rx_mbuf_alloc_failed++; total: 0 errors, 1 warnings, 0 checks, 28 lines checked