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 E5EC943709; Sat, 16 Dec 2023 11:06:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4EF4540691; Sat, 16 Dec 2023 11:06:38 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id B135D402AA for ; Sat, 16 Dec 2023 11:06:36 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id F41EB66; Sat, 16 Dec 2023 13:06:35 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru F41EB66 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1702721196; bh=928zsokE+rn4O/4UfDx0bsGgcfU0Ljk6pTiEC9gXt+k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hwYFxy416pPi0MZ1MfX/k15LLu7iQCDM/HBLZlWSKfizKCZpSGEy5H/TWQ7fL0Gxm Yq/FLtPwx4TNbCHzOH3VlsWcLsqIAfJMCE7NcKDzByTtW9DWkJDbdzyHj7ymgVeqzk 06nOKKidL6Y6JVQ4U4wIXLWA3+vj5UVduv64KiZ8= Message-ID: <05b81908-75e3-4b4e-a317-e3fc39c10fd3@oktetlabs.ru> Date: Sat, 16 Dec 2023 13:06:35 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 2/5] ethdev: check return result of rte_eth_dev_info_get Content-Language: en-US To: Stephen Hemminger , dev@dpdk.org Cc: Sinan Kaya , =?UTF-8?Q?Morten_Br=C3=B8rup?= , Thomas Monjalon , Ferruh Yigit References: <20230120044140.95975-1-okaya@kernel.org> <20230710170800.12478-1-stephen@networkplumber.org> <20230710170800.12478-3-stephen@networkplumber.org> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20230710170800.12478-3-stephen@networkplumber.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 7/10/23 20:07, Stephen Hemminger wrote: > From: Sinan Kaya > > rte_class_eth: eth_mac_cmp: The status of this call to rte_eth_dev_info_get > is not checked, potentially leaving dev_info uninitialized. > > Signed-off-by: Sinan Kaya > Signed-off-by: Stephen Hemminger > Reviewed-by: Morten Brørup Reviewed-by: Andrew Rybchenko