Re: [net-intel-i40e] question about assignment overwrite

2017-06-07 Thread Jeff Kirsher
On Wed, 2017-06-07 at 16:55 -0300, Mauro Rodrigues wrote: > On Wed, May 17, 2017 at 10:49:11PM -0700, Jeff Kirsher wrote: > > On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: > > > While looking into Coverity ID 1408956 I ran into the following > > > piece   > > > of code at

Re: [net-intel-i40e] question about assignment overwrite

2017-06-07 Thread Jeff Kirsher
On Wed, 2017-06-07 at 16:55 -0300, Mauro Rodrigues wrote: > On Wed, May 17, 2017 at 10:49:11PM -0700, Jeff Kirsher wrote: > > On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: > > > While looking into Coverity ID 1408956 I ran into the following > > > piece   > > > of code at

Re: [net-intel-i40e] question about assignment overwrite

2017-06-07 Thread Mauro Rodrigues
On Wed, May 17, 2017 at 10:49:11PM -0700, Jeff Kirsher wrote: > On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: > > While looking into Coverity ID 1408956 I ran into the following > > piece   > > of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: > > > > 8807    if

Re: [net-intel-i40e] question about assignment overwrite

2017-06-07 Thread Mauro Rodrigues
On Wed, May 17, 2017 at 10:49:11PM -0700, Jeff Kirsher wrote: > On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: > > While looking into Coverity ID 1408956 I ran into the following > > piece   > > of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: > > > > 8807    if

Re: [net-intel-i40e] question about assignment overwrite

2017-05-18 Thread Gustavo A. R. Silva
Hi Jeff, Quoting Jeff Kirsher : On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: While looking into Coverity ID 1408956 I ran into the following piece   of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: 8807    if (pf->hw.mac.type ==

Re: [net-intel-i40e] question about assignment overwrite

2017-05-18 Thread Gustavo A. R. Silva
Hi Jeff, Quoting Jeff Kirsher : On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: While looking into Coverity ID 1408956 I ran into the following piece   of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: 8807    if (pf->hw.mac.type == I40E_MAC_X722) { 8808  

Re: [net-intel-i40e] question about assignment overwrite

2017-05-17 Thread Jeff Kirsher
On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: > While looking into Coverity ID 1408956 I ran into the following > piece   > of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: > > 8807    if (pf->hw.mac.type == I40E_MAC_X722) { > 8808    pf->flags |=

Re: [net-intel-i40e] question about assignment overwrite

2017-05-17 Thread Jeff Kirsher
On Wed, 2017-05-17 at 15:48 -0500, Gustavo A. R. Silva wrote: > While looking into Coverity ID 1408956 I ran into the following > piece   > of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: > > 8807    if (pf->hw.mac.type == I40E_MAC_X722) { > 8808    pf->flags |=

[net-intel-i40e] question about assignment overwrite

2017-05-17 Thread Gustavo A. R. Silva
Hello everybody, While looking into Coverity ID 1408956 I ran into the following piece of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: 8807if (pf->hw.mac.type == I40E_MAC_X722) { 8808pf->flags |= I40E_FLAG_RSS_AQ_CAPABLE 8809

[net-intel-i40e] question about assignment overwrite

2017-05-17 Thread Gustavo A. R. Silva
Hello everybody, While looking into Coverity ID 1408956 I ran into the following piece of code at drivers/net/ethernet/intel/i40e/i40e_main.c:8807: 8807if (pf->hw.mac.type == I40E_MAC_X722) { 8808pf->flags |= I40E_FLAG_RSS_AQ_CAPABLE 8809