[dpdk-dev] [PATCH v2 2/3] i40e: fix dereference before null check

2016-07-05 Thread Bruce Richardson
On Tue, Jul 05, 2016 at 02:10:04PM +0800, Beilei Xing wrote: > Null-checking vsi suggests that it may be null, but it > has be dereferenced before null-checking. So move if > statement to the front of assignment statement. > > Coverity: 119265, 119266 > > Fixes: d0a349409bd7 ("i40e: support AQ ba

[dpdk-dev] [PATCH v2 2/3] i40e: fix dereference before null check

2016-07-05 Thread Beilei Xing
Null-checking vsi suggests that it may be null, but it has be dereferenced before null-checking. So move if statement to the front of assignment statement. Coverity: 119265, 119266 Fixes: d0a349409bd7 ("i40e: support AQ based RSS config") Fixes: 647d1eaf758b ("i40evf: support AQ based RSS config"