mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-18 18:52:18 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
commit
310655b07a
146 changed files with 1478 additions and 1109 deletions
|
|
@ -1599,7 +1599,7 @@ enum ethtool_link_mode_bit_indices {
|
|||
|
||||
static inline int ethtool_validate_speed(__u32 speed)
|
||||
{
|
||||
return speed <= INT_MAX || speed == SPEED_UNKNOWN;
|
||||
return speed <= INT_MAX || speed == (__u32)SPEED_UNKNOWN;
|
||||
}
|
||||
|
||||
/* Duplex, half or full. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue