summaryrefslogtreecommitdiff
path: root/backport/backport-include/linux/err.h
diff options
context:
space:
mode:
Diffstat (limited to 'backport/backport-include/linux/err.h')
-rw-r--r--backport/backport-include/linux/err.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backport/backport-include/linux/err.h b/backport/backport-include/linux/err.h
index 62ee1e8f..d08968e5 100644
--- a/backport/backport-include/linux/err.h
+++ b/backport/backport-include/linux/err.h
@@ -3,7 +3,7 @@
#include_next <linux/err.h>
#include <linux/version.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)
+#if LINUX_VERSION_IS_LESS(3,12,0)
#define PTR_ERR_OR_ZERO(p) PTR_RET(p)
#endif