[PATCH v4 2/5] ethdev: check return result of rte_eth_dev_info_get
Andrew Rybchenko
andrew.rybchenko at oktetlabs.ru
Sat Dec 16 11:08:04 CET 2023
On 12/16/23 13:06, Andrew Rybchenko wrote:
> On 7/10/23 20:07, Stephen Hemminger wrote:
>> From: Sinan Kaya <okaya at kernel.org>
>>
>> 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 <okaya at kernel.org>
>> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
>> Reviewed-by: Morten Brørup <mb at smartsharesystems.com>
>
> Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
except of patch summary which should not mention function name
More information about the dev
mailing list