Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109853311
D26144.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
575 B
Referenced Files
None
Subscribers
None
D26144.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D26144: The condition can never be true
Attached
Detach File
Event Timeline
Log In to Comment