Page MenuHomeFreeBSD

D26144.diff
No OneTemporary

D26144.diff

Index: head/sys/dev/ixgbe/ixgbe_common.c
===================================================================
--- head/sys/dev/ixgbe/ixgbe_common.c
+++ head/sys/dev/ixgbe/ixgbe_common.c
@@ -5147,8 +5147,8 @@
nvm_ver->oem_valid = FALSE;
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)
+ /* Return if offset to OEM Product Version block is invalid */
+ if (offset == 0x0 || offset == NVM_INVALID_PTR)
return;
/* Read product version block */

File Metadata

Mime Type
text/plain
Expires
Tue, Feb 11, 9:05 AM (11 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16580450
Default Alt Text
D26144.diff (575 B)

Event Timeline