History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

David S. Miller committed 7 years ago

Commit 310655b2 parents 7f301cf 869e330146 files · +1478 −1109Browse files

Showing the changes to include/uapi/linux (1 of 146 files). Show all

Unified · Split

include/uapi/linux/ethtool.h+1−1
@@ -1599,7 +1599,7 @@ enum ethtool_link_mode_bit_indices { · 1598 unmodified lines
15991599
16001600 static inline int ethtool_validate_speed(__u32 speed)
16011601 {
1602− return speed <= INT_MAX || speed == SPEED_UNKNOWN;
1602+ return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN;
16031603 }
16041604
16051605 /* Duplex, half or full. */