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 9943C43709; Sat, 16 Dec 2023 11:08:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 858E740691; Sat, 16 Dec 2023 11:08:06 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 5260B402AA for ; Sat, 16 Dec 2023 11:08:05 +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 C5C8F66; Sat, 16 Dec 2023 13:08:04 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru C5C8F66 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1702721284; bh=c2Ve2cBh7D1aSrZkrpDWAeCIS4KoGBksKlueoGdv/Gs=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=a6UmLp3uNZSkNYwkDvnTQIMDTiZ4BjcDAMR9f73Pa9Vixz0mgM86/CcWCGa6QamZk rhCPNduHH0RLUrwRlTN2+pXHJbqMHTnGbN5vl6/NeXRaI2WRPQ227/68bOfBZDEWxI iTuuvR0IKGsETiUTBuEZEjC/z0IV8ITjsTYN4Bt8= Message-ID: Date: Sat, 16 Dec 2023 13:08:04 +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 From: Andrew Rybchenko 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> <05b81908-75e3-4b4e-a317-e3fc39c10fd3@oktetlabs.ru> Organization: OKTET Labs In-Reply-To: <05b81908-75e3-4b4e-a317-e3fc39c10fd3@oktetlabs.ru> 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 12/16/23 13:06, Andrew Rybchenko wrote: > 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 except of patch summary which should not mention function name