external/kernel-drivers
Révision | 6e3a21a333ed1e8df33fe072e2a1ac1c2aec0e80 (tree) |
---|---|
l'heure | 2020-07-28 00:36:48 |
Auteur | Chih-Wei Huang <cwhuang@open...> |
Commiter | Chih-Wei Huang |
Fix incompatible pointer issue for kernel >= 5.2
@@ -750,7 +750,7 @@ static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb | ||
750 | 750 | #else |
751 | 751 | , void *accel_priv |
752 | 752 | #endif |
753 | -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0) | |
753 | +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(5, 2, 0)) | |
754 | 754 | , select_queue_fallback_t fallback |
755 | 755 | #endif |
756 | 756 | #endif |