Files
linux-st/include/uapi/linux
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
..
2019-01-28 08:13:52 +01:00
2019-03-07 18:32:01 -08:00
2019-01-24 11:11:42 -07:00
2019-02-14 11:51:51 -05:00
2019-02-18 15:39:49 -05:00
2019-02-14 11:51:51 -05:00
2019-02-01 15:00:55 -08:00