[dpdk-stable] [PATCH v2] net/iavf: fix unchecked Tx cleanup error

Zhang, Qi Z qi.z.zhang at intel.com
Tue Oct 20 12:27:58 CEST 2020



> -----Original Message-----
> From: Rong, Leyi <leyi.rong at intel.com>
> Sent: Monday, October 19, 2020 1:43 PM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Yigit, Ferruh <ferruh.yigit at intel.com>
> Cc: dev at dpdk.org; Rong, Leyi <leyi.rong at intel.com>; stable at dpdk.org
> Subject: [PATCH v2] net/iavf: fix unchecked Tx cleanup error
> 
> Coverity complains of unchecked return value warning of iavf_xmit_cleanup,
> while this cleanup is opportunistic and will not cause problems if it fails. So
> instead of checking the return value of iavf_xmit_cleanup and return in case of
> cleanup failure, we directly cast it to void function to make the Coverity happy.
> 
> Coverity issue: 363045
> Fixes: 02d212ca3125 ("net/iavf: rename remaining avf strings")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Leyi Rong <leyi.rong at intel.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the stable mailing list