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
1599 1599
1600static inline int ethtool_validate_speed(__u32 speed)1600static inline int ethtool_validate_speed(__u32 speed)
1601{1601{
1602 return speed <= INT_MAX || speed == SPEED_UNKNOWN;1602 return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN;
1603}1603}
1604 1604
1605/* Duplex, half or full. */1605/* Duplex, half or full. */