[Intel-wired-lan] [v2 next PATCH S27 13/15] i40e/i40evf: use logical operators, not bitwise

Bowers, AndrewX andrewx.bowers at intel.com
Wed Jan 20 18:40:22 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Joshua Hay
> Sent: Wednesday, January 13, 2016 4:52 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [v2 next PATCH S27 13/15] i40e/i40evf: use logical
> operators, not bitwise
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> Mr. Spock would certainly raise an eyebrow to see us using bitwise
> operaters, when we should clearly be relying on logic. Fascinating.
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: Ie338010c016f93e9faa2002c07c90b15134b7477
> ---
> Testing Hints: No functional change, but the code is more correct.
> Make sure it compiles and passes traffic properly.
> 
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 5 +++--
>  drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 5 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied, code compiles and passes traffic properly


More information about the Intel-wired-lan mailing list