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.
This commit is contained in:
parent
333079522a
commit
721476cb78
@ -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>
|
||||
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user