Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160432162
D57642.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
639 B
Referenced Files
None
Subscribers
None
D57642.diff
View Options
diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -1502,7 +1502,7 @@
size_t malloc_len;
device_t dev = sc->dev;
u8 *nvm_buffer;
- s32 error = 0;
+ int error = 0;
/*
* ifioctl forwards SIOCxDRVSPEC to iflib without conducting
@@ -1551,7 +1551,7 @@
(nvm_buffer + sizeof(struct ixgbe_nvm_access_cmd));
/* Handle the NVM access request */
- error = ixgbe_handle_nvm_access(hw, cmd, data);
+ error = abs(ixgbe_handle_nvm_access(hw, cmd, data));
if (error) {
device_printf(dev, "%s: NVM access request failed, error %d\n",
__func__, error);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jun 25, 9:05 AM (3 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34069544
Default Alt Text
D57642.diff (639 B)
Attached To
Mode
D57642: ix(4): Sanitize negative error codes
Attached
Detach File
Event Timeline
Log In to Comment