[dpdk-dev] [PATCH v2] net/enic: fix uninitialized variable

Ferruh Yigit ferruh.yigit at intel.com
Wed Apr 18 19:09:02 CEST 2018


On 4/18/2018 1:00 AM, John Daley wrote:
> A local variable was used without initialization and triggered a
> coverity issue.
> 
> Is is fixed here, but there is no ill effect of not initializing
> the variable in this case. 'rxq_interrupt_offset' is irrelevant
> if 'rxq_interrupt_enable' is not set (the condition caught by
> coverity).
> 
> Fixes: fc2c8c0668fd ("net/enic: use Tx completion index instead of messages")
> Coverity issue: 268314
> 
> Signed-off-by: John Daley <johndale at cisco.com>
> Reviewed-by: Hyong Youb Kim <hyonkim at cisco.com>

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list