WSL2-Linux-Kernel/include/uapi
Michael Zhivich afe64245af ethtool: avoid signed-unsigned comparison in ethtool_validate_speed()
When building C++ userspace code that includes ethtool.h
with "-Werror -Wall", g++ complains about signed-unsigned comparison in
ethtool_validate_speed() due to definition of SPEED_UNKNOWN as -1.

Explicitly cast SPEED_UNKNOWN to __u32 to match type of
ethtool_validate_speed() argument.

Signed-off-by: Michael Zhivich <mzhivich@akamai.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-08 16:30:43 -07:00
..
asm-generic Kbuild updates for v5.1 (2nd) 2019-03-17 13:25:26 -07:00
drm
linux ethtool: avoid signed-unsigned comparison in ethtool_validate_speed() 2019-04-08 16:30:43 -07:00
misc
mtd
rdma
scsi
sound
video
xen