summaryrefslogtreecommitdiff
path: root/patches/0035-skb_no_fcs/skb_no_fcs.cocci
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0035-skb_no_fcs/skb_no_fcs.cocci')
-rw-r--r--patches/0035-skb_no_fcs/skb_no_fcs.cocci4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/0035-skb_no_fcs/skb_no_fcs.cocci b/patches/0035-skb_no_fcs/skb_no_fcs.cocci
index 703c227e..12eaf6d7 100644
--- a/patches/0035-skb_no_fcs/skb_no_fcs.cocci
+++ b/patches/0035-skb_no_fcs/skb_no_fcs.cocci
@@ -2,6 +2,6 @@
expression E1,E2;
struct sk_buff *skb;
@@
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)
++#if LINUX_VERSION_IS_GEQ(3,18,0)
E1 ^= E2(..., skb->no_fcs, ...)
-+#endif /* if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0) */
++#endif /* if LINUX_VERSION_IS_GEQ(3,18,0) */