On Tuesday 01 March 2016 08:33:37 Sven Eckelmann wrote:
The __ethtool_get_link_ksettings is currently used only for kernels >= 3.15. But the compat code is read by the compiler for each kernel. But kernels up to 3.1 never had the function __ethtool_get_settings which is used to emulate this function for kernels < 4.6. Therefore, kernels < 3.2 will fail to compile when this compatibility layer is enabled.
Fixes: 3515604d82d5 ("batman-adv: ELP - use new ethtool_link_get_ksettings API") Signed-off-by: Sven Eckelmann sven@narfation.org
v2:
- correct version number of the supported kernel
This patch rejected in favor of the compat(-include) cleanup [1].
Kind regards, Sven