Showing the changes to include/uapi/linux (1 of 146 files). Show all
Unified · Split
| @@ -1599,7 +1599,7 @@ enum ethtool_link_mode_bit_indices { · 1598 unmodified lines | ||
| 1599 | 1599 | |
| 1600 | 1600 | static 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 | 1605 | /* Duplex, half or full. */ |