We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ec3a2 commit 92b8e61Copy full SHA for 92b8e61
tools/include/uapi/linux/const.h
@@ -28,7 +28,7 @@
28
#define _BITUL(x) (_UL(1) << (x))
29
#define _BITULL(x) (_ULL(1) << (x))
30
31
-#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
+#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1)
32
#define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask))
33
34
#define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
0 commit comments