]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/ixgbe/base/ixgbe_common.c
common/dpaax: fallback to check separate memory node for VM
[dpdk.git] / drivers / net / ixgbe / base / ixgbe_common.c
index fb50719fb0d03c94443481de4ed1ea0fb9815271..62ff76723056ec7185e679edb94d3a3fe7cfa457 100644 (file)
@@ -5040,7 +5040,7 @@ void ixgbe_get_oem_prod_version(struct ixgbe_hw *hw,
        hw->eeprom.ops.read(hw, NVM_OEM_PROD_VER_PTR, &offset);
 
        /* Return is offset to OEM Product Version block is invalid */
-       if (offset == 0x0 && offset == NVM_INVALID_PTR)
+       if (offset == 0x0 || offset == NVM_INVALID_PTR)
                return;
 
        /* Read product version block */