[PATCH 1/2] maint: update for linux v5.16-rc5

Gleb Fotengauer-Malinovskiy glebfm at altlinux.org
Mon Dec 13 10:40:14 UTC 2021


* maint/ioctls_sym.sh: Workaround incompatible definition of
__alloc_size__ macro introduced by the Linux commit v5.16-rc1~106^2~224.
---
 maint/ioctls_sym.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/maint/ioctls_sym.sh b/maint/ioctls_sym.sh
index 1798dd907..be2272dd0 100755
--- a/maint/ioctls_sym.sh
+++ b/maint/ioctls_sym.sh
@@ -105,6 +105,7 @@ process_file()
 	# Common code for every processed file.
 	cat > "$tmpdir"/printents.c <<-__EOF__
 		#include <linux/compiler_attributes.h>
+		#undef __alloc_size__
 		#include <asm/termbits.h>
 		#include <asm/ioctl.h>
 		#include <linux/types.h>
-- 
glebfm



More information about the Strace-devel mailing list