From e4b387551cc3b7d47e3d000b028aa0732f819ada Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sat, 18 Nov 2017 23:13:11 +0100 Subject: compat: stable finally backported fix --- src/compat/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat') diff --git a/src/compat/compat.h b/src/compat/compat.h index 276e7c9..2218ba0 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -451,7 +451,7 @@ static inline struct nlattr **genl_family_attrbuf(const struct genl_family *fami #define COMPAT_CANNOT_USE_GENL_NOPS #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0) +#if (LINUX_VERSION_CODE < KERNEL_VERSION(4, 13, 14) && LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)) || LINUX_VERSION_CODE < KERNEL_VERSION(4, 9, 63) #define get_device_dump(a, b) get_device_dump_real(a, b); \ static int get_device_dump(a, b) { \ int ret; \ -- cgit v1.2.3-59-g8ed1b