ixgbe: Fix && vs || typo
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 11 Jan 2018 21:46:01 +0000 (00:46 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jan 2018 18:25:32 +0000 (10:25 -0800)
commitfd492228d4031e12bc83e2d3ea8b7e5033b49003
tree8ac59f9d2dc54e3b73568f117eb8b79b7a12d793
parent06e3f9494746ddee66f5778b7ecdb6bf17389c9d
ixgbe: Fix && vs || typo

"offset" can't be both 0x0 and 0xFFFF so presumably || was intended
instead of &&.  That matches with how this check is done in other
functions.

Fixes: 73834aec7199 ("ixgbe: extend firmware version support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c