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 87D1E45909; Thu, 5 Sep 2024 08:56:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 165BE40264; Thu, 5 Sep 2024 08:56:49 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id D26EE40264 for ; Thu, 5 Sep 2024 08:56:47 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4WzqrM1HbCzyR92; Thu, 5 Sep 2024 14:55:47 +0800 (CST) Received: from kwepemf500004.china.huawei.com (unknown [7.202.181.242]) by mail.maildlp.com (Postfix) with ESMTPS id DDAAD1400D1; Thu, 5 Sep 2024 14:56:45 +0800 (CST) Received: from localhost.localdomain (10.28.79.22) by kwepemf500004.china.huawei.com (7.202.181.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.11; Thu, 5 Sep 2024 14:56:45 +0800 From: Jie Hai To: , , CC: , , Subject: [PATCH 0/4] clean code for dmadev and hns3 Date: Thu, 5 Sep 2024 14:46:34 +0800 Message-ID: <20240905064638.17980-1-haijie1@huawei.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemf500004.china.huawei.com (7.202.181.242) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch set make clean codes. Chengwen Feng (4): ethdev: verify queue ID when Tx done cleanup net/hns3: verify reset type from firmware dmadev: fix potential null pointer access dmadev: clean code for verify parameter drivers/net/hns3/hns3_intr.c | 6 ++++++ lib/dmadev/rte_dmadev.c | 32 +++++++++++++++++++++----------- lib/ethdev/rte_ethdev.c | 4 ++++ 3 files changed, 31 insertions(+), 11 deletions(-) -- 2.22.0