Skip to content

Commit

Permalink
maint: update for linux 4.20
Browse files Browse the repository at this point in the history
* maint/ioctls_sym.sh: Include linux/compiler_attributes.h in every
processed file.
Use asm/ioctls.h workaround for asm-generic/ioctls.h too.
  • Loading branch information
glebfm authored and ldv-alt committed Dec 26, 2018
1 parent 3330795 commit 721476c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion maint/ioctls_sym.sh
Expand Up @@ -104,6 +104,7 @@ process_file()

# Common code for every processed file.
cat > "$tmpdir"/printents.c <<__EOF__
#include <linux/compiler_attributes.h>
#include <asm/termbits.h>
#include <asm/ioctl.h>
#include <linux/types.h>
Expand Down Expand Up @@ -164,7 +165,7 @@ __EOF__
*asm/core_*.h)
return 0 # false positives
;;
*asm/ioctls.h)
*asm*/ioctls.h)
cat <<'__EOF__'
#include <asm/termios.h>
#include <linux/serial.h>
Expand Down

0 comments on commit 721476c

Please sign in to comment.