Files
tegra-linux-noble/include/uapi/linux
Nicolas Dichtel 14e2037902 ethtool.h: define INT_MAX for userland
INT_MAX needs limits.h in userland.
When ethtool.h is included by a userland app, we got the following error:

.../usr/include/linux/ethtool.h: In function 'ethtool_validate_speed':
.../usr/include/linux/ethtool.h:1471:18: error: 'INT_MAX' undeclared (first use in this function)
  return speed <= INT_MAX || speed == SPEED_UNKNOWN
                  ^

Fixes: e02564ee33 ("ethtool: make validate_speed accept all speeds between 0 and INT_MAX")
CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-04 16:10:37 -05:00
..
2015-10-13 17:42:34 +02:00
2016-03-01 17:15:22 -05:00
2015-10-05 03:16:46 -07:00
2016-03-01 16:07:29 -05:00
2015-08-25 14:41:50 -05:00
2016-01-20 17:09:18 -08:00
2015-12-14 12:19:37 -06:00
2015-10-26 19:06:48 -07:00
2016-01-12 08:21:18 -07:00
2015-08-03 17:30:00 -07:00
2015-07-21 10:39:05 -07:00
2015-11-23 15:06:38 -05:00
2015-08-27 19:44:53 -04:00
2015-07-20 14:58:46 -04:00
2016-02-24 09:04:41 +01:00
2016-01-10 22:13:15 -05:00
2015-09-04 16:54:41 -07:00
2015-06-11 23:37:37 +02:00
2015-12-18 17:48:51 -08:00
2015-10-27 18:55:31 -07:00
2015-12-21 15:28:11 -07:00