On Thu, May 05, 2016 at 12:36:54PM +0200, Sven Eckelmann wrote:
On Thursday 05 May 2016 18:04:35 Antonio Quartulli wrote: [...]
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0)
+#define netif_trans_update batadv_netif_trans_update +static inline void batadv_netif_trans_update(struct net_device *dev)
Sven,
do we really need to rename the function is the original one does not exist in kernels < 4.7 ? Or maybe it exists but does something else ?
Not necessarily but Linus' noticed for a different function that some distros (or stable maintainers) backported the function which we introduced. Thus we used the same trick to solve the conflict.
Yup, thanks for reminding!
Cheers,