> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Friday, 4 October 2024 18.22
> 
> Several places flagged by Coverity and Codeql are from code that
> calls rte_eth_dev_info_get() but does not check the return value.
> If rte_eth_dev_info_get() returns an error, the device info is garbage.
> 
> This patch series uses the function attribute to force code
> to check the result or there will be a compiler warning.

This is slow path, so no performance issues.

For the series,
Acked-by: Morten Brørup <m...@smartsharesystems.com>

Reply via email to