From 721476cb78b39053d899715a6cdfffc4e38c28ff Mon Sep 17 00:00:00 2001 From: Gleb Fotengauer-Malinovskiy Date: Wed, 26 Dec 2018 19:56:18 +0300 Subject: [PATCH] maint: update for linux 4.20 * maint/ioctls_sym.sh: Include linux/compiler_attributes.h in every processed file. Use asm/ioctls.h workaround for asm-generic/ioctls.h too. --- maint/ioctls_sym.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh index 77fc0e23..af4c9021 100755 --- a/maint/ioctls_sym.sh +++ b/maint/ioctls_sym.sh @@ -104,6 +104,7 @@ process_file() # Common code for every processed file. cat > "$tmpdir"/printents.c <<__EOF__ +#include #include #include #include @@ -164,7 +165,7 @@ __EOF__ *asm/core_*.h) return 0 # false positives ;; - *asm/ioctls.h) + *asm*/ioctls.h) cat <<'__EOF__' #include #include