[Intel-wired-lan] [next PATCH S21 13/14] i40e/i40evf: use logical operator

Bowers, AndrewX andrewx.bowers at intel.com
Tue Nov 10 21:14:03 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Joshua Hay
> Sent: Friday, November 06, 2015 3:26 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S21 13/14] i40e/i40evf: use logical
> operator
> 
> From: Mitch Williams <mitch.a.williams at intel.com>
> 
> We shouldn't be using a bitwise operator here; it's not a bitwise operation.
> Use a logical operator instead. Why doesn't c have a logical-or-and-assign
> operator?
> 
> Signed-off-by: Mitch Williams <mitch.a.williams at intel.com>
> Change-ID: Id84f3ca884910bed7073c84b1e16a102e958d0de
> ---
>  drivers/net/ethernet/intel/i40e/i40e_txrx.c   | 2 +-
>  drivers/net/ethernet/intel/i40evf/i40e_txrx.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Patch code changes correctly applied


More information about the Intel-wired-lan mailing list