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 79BB142E3D; Tue, 11 Jul 2023 03:37:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5782E40A7D; Tue, 11 Jul 2023 03:37:11 +0200 (CEST) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id 207B84003C for ; Tue, 11 Jul 2023 03:37:10 +0200 (CEST) Received: from dggpeml100024.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4R0Nhn10xlzLngv; Tue, 11 Jul 2023 09:34:49 +0800 (CST) Received: from [10.67.100.224] (10.67.100.224) by dggpeml100024.china.huawei.com (7.185.36.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 11 Jul 2023 09:37:07 +0800 Subject: Re: [PATCH v4 0/5] fixes for problems found by codeql analyzer To: Stephen Hemminger , References: <20230120044140.95975-1-okaya@kernel.org> <20230710170800.12478-1-stephen@networkplumber.org> From: fengchengwen Message-ID: Date: Tue, 11 Jul 2023 09:37:07 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20230710170800.12478-1-stephen@networkplumber.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.100.224] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To dggpeml100024.china.huawei.com (7.185.36.115) X-CFilter-Loop: Reflected 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 On 2023/7/11 1:07, Stephen Hemminger wrote: > CodeQL is an analyzer (like Coverity) for static analysis > https://codeql.github.com/ > > Followup from earlier set from Sinan. > Rebased to main and consolidated for easier review > > Sinan Kaya (4): > ethdev: check return result of rte_eth_dev_info_get > memzone: check result of rte_fbarray_get and malloc_elem_from_data > malloc: codeql fixes > bus/vdev: check result of rte_vdev_device_name Please add Cc. Series-acked-by: Chengwen Feng > > Stephen Hemminger (1): > mailmap: add Sinan > > .mailmap | 1 + > lib/eal/common/eal_common_memalloc.c | 5 ++++- > lib/eal/common/eal_common_memzone.c | 10 +++++++++- > lib/eal/common/malloc_elem.c | 14 +++++++++++--- > lib/eal/common/malloc_heap.c | 9 ++++++++- > lib/ethdev/ethdev_vdev.h | 2 ++ > lib/ethdev/rte_class_eth.c | 4 +++- > 7 files changed, 38 insertions(+), 7 deletions(-) >