Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@linaro-alip:/home/linaro/kernel-build/kernel-compilation_12923128-fe05-4654-842b-ae6ea3768569/automated/linux/kernel-compilation/output/linux-4.9.4# make Image
- CHK include/config/kernel.release
- CHK include/generated/uapi/linux/version.h
- CHK include/generated/utsrelease.h
- CC kernel/bounds.s
- In file included from ./include/uapi/linux/stddef.h:1:0,
- from ./include/linux/stddef.h:4,
- from ./include/uapi/linux/posix_types.h:4,
- from ./include/uapi/linux/types.h:13,
- from ./include/linux/types.h:5,
- from ./include/linux/page-flags.h:8,
- from kernel/bounds.c:9:
- ./include/linux/compiler.h: In function ‘__read_once_size’:
- ./include/linux/compiler.h:229:12: error: ‘__u8’ undeclared (first use in this function)
- case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
- case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:229:18: error: expected expression before ‘)’ token
- case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:230:12: error: ‘__u16’ undeclared (first use in this function)
- case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:230:19: error: expected expression before ‘)’ token
- case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:231:12: error: ‘__u32’ undeclared (first use in this function)
- case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:231:19: error: expected expression before ‘)’ token
- case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:232:12: error: ‘__u64’ undeclared (first use in this function)
- case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:232:19: error: expected expression before ‘)’ token
- case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
- ^
- ./include/linux/compiler.h:243:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h: In function ‘__read_once_size_nocheck’:
- ./include/linux/compiler.h:229:12: error: ‘__u8’ undeclared (first use in this function)
- case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:229:18: error: expected expression before ‘)’ token
- case 1: *(__u8 *)res = *(volatile __u8 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:230:12: error: ‘__u16’ undeclared (first use in this function)
- case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:230:19: error: expected expression before ‘)’ token
- case 2: *(__u16 *)res = *(volatile __u16 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:231:12: error: ‘__u32’ undeclared (first use in this function)
- case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:231:19: error: expected expression before ‘)’ token
- case 4: *(__u32 *)res = *(volatile __u32 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:232:12: error: ‘__u64’ undeclared (first use in this function)
- case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h:232:19: error: expected expression before ‘)’ token
- case 8: *(__u64 *)res = *(volatile __u64 *)p; break; \
- ^
- ./include/linux/compiler.h:262:2: note: in expansion of macro ‘__READ_ONCE_SIZE’
- __READ_ONCE_SIZE;
- ^
- ./include/linux/compiler.h: In function ‘__write_once_size’:
- ./include/linux/compiler.h:269:21: error: unknown type name ‘__u8’
- case 1: *(volatile __u8 *)p = *(__u8 *)res; break;
- ^
- ./include/linux/compiler.h:269:34: error: ‘__u8’ undeclared (first use in this function)
- case 1: *(volatile __u8 *)p = *(__u8 *)res; break;
- ^
- ./include/linux/compiler.h:269:40: error: expected expression before ‘)’ token
- case 1: *(volatile __u8 *)p = *(__u8 *)res; break;
- ^
- ./include/linux/compiler.h:270:21: error: unknown type name ‘__u16’
- case 2: *(volatile __u16 *)p = *(__u16 *)res; break;
- ^
- ./include/linux/compiler.h:270:35: error: ‘__u16’ undeclared (first use in this function)
- case 2: *(volatile __u16 *)p = *(__u16 *)res; break;
- ^
- ./include/linux/compiler.h:270:42: error: expected expression before ‘)’ token
- case 2: *(volatile __u16 *)p = *(__u16 *)res; break;
- ^
- ./include/linux/compiler.h:271:21: error: unknown type name ‘__u32’
- case 4: *(volatile __u32 *)p = *(__u32 *)res; break;
- ^
- ./include/linux/compiler.h:271:35: error: ‘__u32’ undeclared (first use in this function)
- case 4: *(volatile __u32 *)p = *(__u32 *)res; break;
- ^
- ./include/linux/compiler.h:271:42: error: expected expression before ‘)’ token
- case 4: *(volatile __u32 *)p = *(__u32 *)res; break;
- ^
- ./include/linux/compiler.h:272:21: error: unknown type name ‘__u64’
- case 8: *(volatile __u64 *)p = *(__u64 *)res; break;
- ^
- ./include/linux/compiler.h:272:35: error: ‘__u64’ undeclared (first use in this function)
- case 8: *(volatile __u64 *)p = *(__u64 *)res; break;
- ^
- ./include/linux/compiler.h:272:42: error: expected expression before ‘)’ token
- case 8: *(volatile __u64 *)p = *(__u64 *)res; break;
- ^
- In file included from ./include/linux/types.h:5:0,
- from ./include/linux/page-flags.h:8,
- from kernel/bounds.c:9:
- ./include/uapi/linux/types.h: At top level:
- ./include/uapi/linux/types.h:32:9: error: unknown type name ‘__u16’
- typedef __u16 __bitwise __le16;
- ^
- ./include/uapi/linux/types.h:33:9: error: unknown type name ‘__u16’
- typedef __u16 __bitwise __be16;
- ^
- ./include/uapi/linux/types.h:34:9: error: unknown type name ‘__u32’
- typedef __u32 __bitwise __le32;
- ^
- ./include/uapi/linux/types.h:35:9: error: unknown type name ‘__u32’
- typedef __u32 __bitwise __be32;
- ^
- ./include/uapi/linux/types.h:36:9: error: unknown type name ‘__u64’
- typedef __u64 __bitwise __le64;
- ^
- ./include/uapi/linux/types.h:37:9: error: unknown type name ‘__u64’
- typedef __u64 __bitwise __be64;
- ^
- ./include/uapi/linux/types.h:39:9: error: unknown type name ‘__u16’
- typedef __u16 __bitwise __sum16;
- ^
- ./include/uapi/linux/types.h:40:9: error: unknown type name ‘__u32’
- typedef __u32 __bitwise __wsum;
- ^
- In file included from ./include/linux/page-flags.h:8:0,
- from kernel/bounds.c:9:
- ./include/linux/types.h:12:9: error: unknown type name ‘__u32’
- typedef __u32 __kernel_dev_t;
- ^
- ./include/linux/types.h:19:9: error: unknown type name ‘__u32’
- typedef __u32 nlink_t;
- ^
- ./include/linux/types.h:97:10: error: unknown type name ‘__u8’
- typedef __u8 u_int8_t;
- ^
- ./include/linux/types.h:98:10: error: unknown type name ‘__s8’
- typedef __s8 int8_t;
- ^
- ./include/linux/types.h:99:10: error: unknown type name ‘__u16’
- typedef __u16 u_int16_t;
- ^
- ./include/linux/types.h:100:10: error: unknown type name ‘__s16’
- typedef __s16 int16_t;
- ^
- ./include/linux/types.h:101:10: error: unknown type name ‘__u32’
- typedef __u32 u_int32_t;
- ^
- ./include/linux/types.h:102:10: error: unknown type name ‘__s32’
- typedef __s32 int32_t;
- ^
- ./include/linux/types.h:106:10: error: unknown type name ‘__u8’
- typedef __u8 uint8_t;
- ^
- ./include/linux/types.h:107:10: error: unknown type name ‘__u16’
- typedef __u16 uint16_t;
- ^
- ./include/linux/types.h:108:10: error: unknown type name ‘__u32’
- typedef __u32 uint32_t;
- ^
- ./include/linux/types.h:111:10: error: unknown type name ‘__u64’
- typedef __u64 uint64_t;
- ^
- ./include/linux/types.h:112:10: error: unknown type name ‘__u64’
- typedef __u64 u_int64_t;
- ^
- ./include/linux/types.h:113:10: error: unknown type name ‘__s64’
- typedef __s64 int64_t;
- ^
- ./include/linux/types.h:152:9: error: unknown type name ‘u64’
- typedef u64 dma_addr_t;
- ^
- ./include/linux/types.h:161:9: error: unknown type name ‘u64’
- typedef u64 phys_addr_t;
- ^
- ./include/linux/types.h:232:9: error: unknown type name ‘u64’
- typedef u64 cycle_t;
- ^
- In file included from ./include/linux/kernel.h:10:0,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/linux/bitops.h:30:37: error: unknown type name ‘__u64’
- extern unsigned long __sw_hweight64(__u64 w);
- ^
- In file included from ./arch/arm64/include/asm/bitops.h:42:0,
- from ./include/linux/bitops.h:36,
- from ./include/linux/kernel.h:10,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/asm-generic/bitops/fls64.h:26:34: error: unknown type name ‘__u64’
- static __always_inline int fls64(__u64 x)
- ^
- In file included from ./include/asm-generic/bitops/hweight.h:4:0,
- from ./arch/arm64/include/asm/bitops.h:46,
- from ./include/linux/bitops.h:36,
- from ./include/linux/kernel.h:10,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/asm-generic/bitops/arch_hweight.h:21:46: error: unknown type name ‘__u64’
- static inline unsigned long __arch_hweight64(__u64 w)
- ^
- In file included from ./include/linux/swab.h:4:0,
- from ./include/uapi/linux/byteorder/little_endian.h:12,
- from ./include/linux/byteorder/little_endian.h:4,
- from ./arch/arm64/include/uapi/asm/byteorder.h:22,
- from ./include/asm-generic/bitops/le.h:5,
- from ./arch/arm64/include/asm/bitops.h:50,
- from ./include/linux/bitops.h:36,
- from ./include/linux/kernel.h:10,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/uapi/linux/swab.h:46:35: error: unknown type name ‘__u16’
- static inline __attribute_const__ __u16 __fswab16(__u16 val)
- ^
- ./include/uapi/linux/swab.h:46:51: error: unknown type name ‘__u16’
- static inline __attribute_const__ __u16 __fswab16(__u16 val)
- ^
- ./include/uapi/linux/swab.h:55:35: error: unknown type name ‘__u32’
- static inline __attribute_const__ __u32 __fswab32(__u32 val)
- ^
- ./include/uapi/linux/swab.h:55:51: error: unknown type name ‘__u32’
- static inline __attribute_const__ __u32 __fswab32(__u32 val)
- ^
- ./include/uapi/linux/swab.h:64:35: error: unknown type name ‘__u64’
- static inline __attribute_const__ __u64 __fswab64(__u64 val)
- ^
- ./include/uapi/linux/swab.h:64:51: error: unknown type name ‘__u64’
- static inline __attribute_const__ __u64 __fswab64(__u64 val)
- ^
- ./include/uapi/linux/swab.h:77:35: error: unknown type name ‘__u32’
- static inline __attribute_const__ __u32 __fswahw32(__u32 val)
- ^
- ./include/uapi/linux/swab.h:77:52: error: unknown type name ‘__u32’
- static inline __attribute_const__ __u32 __fswahw32(__u32 val)
- ^
- ./include/uapi/linux/swab.h:86:35: error: unknown type name ‘__u32’
- static inline __attribute_const__ __u32 __fswahb32(__u32 val)
- ^
- ./include/uapi/linux/swab.h:86:52: error: unknown type name ‘__u32’
- static inline __attribute_const__ __u32 __fswahb32(__u32 val)
- ^
- ./include/uapi/linux/swab.h:160:24: error: unknown type name ‘__u16’
- static __always_inline __u16 __swab16p(const __u16 *p)
- ^
- ./include/uapi/linux/swab.h:160:46: error: unknown type name ‘__u16’
- static __always_inline __u16 __swab16p(const __u16 *p)
- ^
- ./include/uapi/linux/swab.h: In function ‘__swab16p’:
- ./include/uapi/linux/swab.h:103:25: error: ‘__u16’ undeclared (first use in this function)
- (__builtin_constant_p((__u16)(x)) ? \
- ^
- ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
- return __swab16(*p);
- ^
- ./include/uapi/linux/swab.h:13:24: error: expected ‘)’ before numeric constant
- (((__u16)(x) & (__u16)0x00ffU) << 8) | \
- ^
- ./include/uapi/linux/swab.h:104:2: note: in expansion of macro ‘___constant_swab16’
- ___constant_swab16(x) : \
- ^
- ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
- return __swab16(*p);
- ^
- ./include/uapi/linux/swab.h:14:24: error: expected ‘)’ before numeric constant
- (((__u16)(x) & (__u16)0xff00U) >> 8)))
- ^
- ./include/uapi/linux/swab.h:104:2: note: in expansion of macro ‘___constant_swab16’
- ___constant_swab16(x) : \
- ^
- ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
- return __swab16(*p);
- ^
- ./include/uapi/linux/swab.h:14:24: error: implicit declaration of function ‘__fswab16’ [-Werror=implicit-function-declaration]
- (((__u16)(x) & (__u16)0xff00U) >> 8)))
- ^
- ./include/uapi/linux/swab.h:104:2: note: in expansion of macro ‘___constant_swab16’
- ___constant_swab16(x) : \
- ^
- ./include/uapi/linux/swab.h:165:9: note: in expansion of macro ‘__swab16’
- return __swab16(*p);
- ^
- ./include/uapi/linux/swab.h: At top level:
- ./include/uapi/linux/swab.h:173:24: error: unknown type name ‘__u32’
- static __always_inline __u32 __swab32p(const __u32 *p)
- ^
- ./include/uapi/linux/swab.h:173:46: error: unknown type name ‘__u32’
- static __always_inline __u32 __swab32p(const __u32 *p)
- ^
- ./include/uapi/linux/swab.h: In function ‘__swab32p’:
- ./include/uapi/linux/swab.h:116:25: error: ‘__u32’ undeclared (first use in this function)
- (__builtin_constant_p((__u32)(x)) ? \
- ^
- ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
- return __swab32(*p);
- ^
- ./include/uapi/linux/swab.h:17:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
- ^
- ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
- ___constant_swab32(x) : \
- ^
- ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
- return __swab32(*p);
- ^
- ./include/uapi/linux/swab.h:18:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
- ^
- ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
- ___constant_swab32(x) : \
- ^
- ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
- return __swab32(*p);
- ^
- ./include/uapi/linux/swab.h:19:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
- ^
- ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
- ___constant_swab32(x) : \
- ^
- ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
- return __swab32(*p);
- ^
- ./include/uapi/linux/swab.h:20:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
- ^
- ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
- ___constant_swab32(x) : \
- ^
- ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
- return __swab32(*p);
- ^
- ./include/uapi/linux/swab.h:20:24: error: implicit declaration of function ‘__fswab32’ [-Werror=implicit-function-declaration]
- (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
- ^
- ./include/uapi/linux/swab.h:117:2: note: in expansion of macro ‘___constant_swab32’
- ___constant_swab32(x) : \
- ^
- ./include/uapi/linux/swab.h:178:9: note: in expansion of macro ‘__swab32’
- return __swab32(*p);
- ^
- ./include/uapi/linux/swab.h: At top level:
- ./include/uapi/linux/swab.h:186:24: error: unknown type name ‘__u64’
- static __always_inline __u64 __swab64p(const __u64 *p)
- ^
- ./include/uapi/linux/swab.h:186:46: error: unknown type name ‘__u64’
- static __always_inline __u64 __swab64p(const __u64 *p)
- ^
- ./include/uapi/linux/swab.h: In function ‘__swab64p’:
- ./include/uapi/linux/swab.h:129:25: error: ‘__u64’ undeclared (first use in this function)
- (__builtin_constant_p((__u64)(x)) ? \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:23:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:24:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:25:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:26:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:27:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:28:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:29:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:30:24: error: expected ‘)’ before numeric constant
- (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h:30:24: error: implicit declaration of function ‘__fswab64’ [-Werror=implicit-function-declaration]
- (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
- ^
- ./include/uapi/linux/swab.h:130:2: note: in expansion of macro ‘___constant_swab64’
- ___constant_swab64(x) : \
- ^
- ./include/uapi/linux/swab.h:191:9: note: in expansion of macro ‘__swab64’
- return __swab64(*p);
- ^
- ./include/uapi/linux/swab.h: At top level:
- ./include/uapi/linux/swab.h:201:15: error: unknown type name ‘__u32’
- static inline __u32 __swahw32p(const __u32 *p)
- ^
- ./include/uapi/linux/swab.h:201:38: error: unknown type name ‘__u32’
- static inline __u32 __swahw32p(const __u32 *p)
- ^
- ./include/uapi/linux/swab.h: In function ‘__swahw32p’:
- ./include/uapi/linux/swab.h:141:25: error: ‘__u32’ undeclared (first use in this function)
- (__builtin_constant_p((__u32)(x)) ? \
- ^
- ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
- return __swahw32(*p);
- ^
- ./include/uapi/linux/swab.h:33:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | \
- ^
- ./include/uapi/linux/swab.h:142:2: note: in expansion of macro ‘___constant_swahw32’
- ___constant_swahw32(x) : \
- ^
- ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
- return __swahw32(*p);
- ^
- ./include/uapi/linux/swab.h:34:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
- ^
- ./include/uapi/linux/swab.h:142:2: note: in expansion of macro ‘___constant_swahw32’
- ___constant_swahw32(x) : \
- ^
- ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
- return __swahw32(*p);
- ^
- ./include/uapi/linux/swab.h:34:24: error: implicit declaration of function ‘__fswahw32’ [-Werror=implicit-function-declaration]
- (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
- ^
- ./include/uapi/linux/swab.h:142:2: note: in expansion of macro ‘___constant_swahw32’
- ___constant_swahw32(x) : \
- ^
- ./include/uapi/linux/swab.h:206:9: note: in expansion of macro ‘__swahw32’
- return __swahw32(*p);
- ^
- ./include/uapi/linux/swab.h: At top level:
- ./include/uapi/linux/swab.h:216:15: error: unknown type name ‘__u32’
- static inline __u32 __swahb32p(const __u32 *p)
- ^
- ./include/uapi/linux/swab.h:216:38: error: unknown type name ‘__u32’
- static inline __u32 __swahb32p(const __u32 *p)
- ^
- ./include/uapi/linux/swab.h: In function ‘__swahb32p’:
- ./include/uapi/linux/swab.h:152:25: error: ‘__u32’ undeclared (first use in this function)
- (__builtin_constant_p((__u32)(x)) ? \
- ^
- ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
- return __swahb32(*p);
- ^
- ./include/uapi/linux/swab.h:37:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | \
- ^
- ./include/uapi/linux/swab.h:153:2: note: in expansion of macro ‘___constant_swahb32’
- ___constant_swahb32(x) : \
- ^
- ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
- return __swahb32(*p);
- ^
- ./include/uapi/linux/swab.h:38:24: error: expected ‘)’ before numeric constant
- (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
- ^
- ./include/uapi/linux/swab.h:153:2: note: in expansion of macro ‘___constant_swahb32’
- ___constant_swahb32(x) : \
- ^
- ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
- return __swahb32(*p);
- ^
- ./include/uapi/linux/swab.h:38:24: error: implicit declaration of function ‘__fswahb32’ [-Werror=implicit-function-declaration]
- (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
- ^
- ./include/uapi/linux/swab.h:153:2: note: in expansion of macro ‘___constant_swahb32’
- ___constant_swahb32(x) : \
- ^
- ./include/uapi/linux/swab.h:221:9: note: in expansion of macro ‘__swahb32’
- return __swahb32(*p);
- ^
- ./include/uapi/linux/swab.h: At top level:
- ./include/uapi/linux/swab.h:229:30: error: unknown type name ‘__u16’
- static inline void __swab16s(__u16 *p)
- ^
- ./include/uapi/linux/swab.h:241:39: error: unknown type name ‘__u32’
- static __always_inline void __swab32s(__u32 *p)
- ^
- ./include/uapi/linux/swab.h:254:39: error: unknown type name ‘__u64’
- static __always_inline void __swab64s(__u64 *p)
- ^
- ./include/uapi/linux/swab.h:269:31: error: unknown type name ‘__u32’
- static inline void __swahw32s(__u32 *p)
- ^
- ./include/uapi/linux/swab.h:284:31: error: unknown type name ‘__u32’
- static inline void __swahb32s(__u32 *p)
- ^
- In file included from ./include/linux/byteorder/little_endian.h:4:0,
- from ./arch/arm64/include/uapi/asm/byteorder.h:22,
- from ./include/asm-generic/bitops/le.h:5,
- from ./arch/arm64/include/asm/bitops.h:50,
- from ./include/linux/bitops.h:36,
- from ./include/linux/kernel.h:10,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/uapi/linux/byteorder/little_endian.h:43:52: error: unknown type name ‘__u64’
- static __always_inline __le64 __cpu_to_le64p(const __u64 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h:47:24: error: unknown type name ‘__u64’
- static __always_inline __u64 __le64_to_cpup(const __le64 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le64_to_cpup’:
- ./include/uapi/linux/byteorder/little_endian.h:49:18: error: ‘__u64’ undeclared (first use in this function)
- return (__force __u64)*p;
- ^
- ./include/uapi/linux/byteorder/little_endian.h: At top level:
- ./include/uapi/linux/byteorder/little_endian.h:51:52: error: unknown type name ‘__u32’
- static __always_inline __le32 __cpu_to_le32p(const __u32 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h:55:24: error: unknown type name ‘__u32’
- static __always_inline __u32 __le32_to_cpup(const __le32 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le32_to_cpup’:
- ./include/uapi/linux/byteorder/little_endian.h:57:18: error: ‘__u32’ undeclared (first use in this function)
- return (__force __u32)*p;
- ^
- ./include/uapi/linux/byteorder/little_endian.h: At top level:
- ./include/uapi/linux/byteorder/little_endian.h:59:52: error: unknown type name ‘__u16’
- static __always_inline __le16 __cpu_to_le16p(const __u16 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h:63:24: error: unknown type name ‘__u16’
- static __always_inline __u16 __le16_to_cpup(const __le16 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h: In function ‘__le16_to_cpup’:
- ./include/uapi/linux/byteorder/little_endian.h:65:18: error: ‘__u16’ undeclared (first use in this function)
- return (__force __u16)*p;
- ^
- ./include/uapi/linux/byteorder/little_endian.h: At top level:
- ./include/uapi/linux/byteorder/little_endian.h:67:52: error: unknown type name ‘__u64’
- static __always_inline __be64 __cpu_to_be64p(const __u64 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h:71:24: error: unknown type name ‘__u64’
- static __always_inline __u64 __be64_to_cpup(const __be64 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be64_to_cpup’:
- ./include/uapi/linux/byteorder/little_endian.h:73:20: error: ‘__u64’ undeclared (first use in this function)
- return __swab64p((__u64 *)p);
- ^
- ./include/uapi/linux/byteorder/little_endian.h:73:27: error: expected expression before ‘)’ token
- return __swab64p((__u64 *)p);
- ^
- ./include/uapi/linux/byteorder/little_endian.h: At top level:
- ./include/uapi/linux/byteorder/little_endian.h:75:52: error: unknown type name ‘__u32’
- static __always_inline __be32 __cpu_to_be32p(const __u32 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h:79:24: error: unknown type name ‘__u32’
- static __always_inline __u32 __be32_to_cpup(const __be32 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be32_to_cpup’:
- ./include/uapi/linux/byteorder/little_endian.h:81:20: error: ‘__u32’ undeclared (first use in this function)
- return __swab32p((__u32 *)p);
- ^
- ./include/uapi/linux/byteorder/little_endian.h:81:27: error: expected expression before ‘)’ token
- return __swab32p((__u32 *)p);
- ^
- ./include/uapi/linux/byteorder/little_endian.h: At top level:
- ./include/uapi/linux/byteorder/little_endian.h:83:52: error: unknown type name ‘__u16’
- static __always_inline __be16 __cpu_to_be16p(const __u16 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h:87:24: error: unknown type name ‘__u16’
- static __always_inline __u16 __be16_to_cpup(const __be16 *p)
- ^
- ./include/uapi/linux/byteorder/little_endian.h: In function ‘__be16_to_cpup’:
- ./include/uapi/linux/byteorder/little_endian.h:89:20: error: ‘__u16’ undeclared (first use in this function)
- return __swab16p((__u16 *)p);
- ^
- ./include/uapi/linux/byteorder/little_endian.h:89:27: error: expected expression before ‘)’ token
- return __swab16p((__u16 *)p);
- ^
- In file included from ./include/linux/byteorder/little_endian.h:6:0,
- from ./arch/arm64/include/uapi/asm/byteorder.h:22,
- from ./include/asm-generic/bitops/le.h:5,
- from ./arch/arm64/include/asm/bitops.h:50,
- from ./include/linux/bitops.h:36,
- from ./include/linux/kernel.h:10,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/linux/byteorder/generic.h: At top level:
- ./include/linux/byteorder/generic.h:143:46: error: unknown type name ‘u16’
- static inline void le16_add_cpu(__le16 *var, u16 val)
- ^
- ./include/linux/byteorder/generic.h:148:46: error: unknown type name ‘u32’
- static inline void le32_add_cpu(__le32 *var, u32 val)
- ^
- ./include/linux/byteorder/generic.h:153:46: error: unknown type name ‘u64’
- static inline void le64_add_cpu(__le64 *var, u64 val)
- ^
- ./include/linux/byteorder/generic.h:158:46: error: unknown type name ‘u16’
- static inline void be16_add_cpu(__be16 *var, u16 val)
- ^
- ./include/linux/byteorder/generic.h:163:46: error: unknown type name ‘u32’
- static inline void be32_add_cpu(__be32 *var, u32 val)
- ^
- ./include/linux/byteorder/generic.h:168:46: error: unknown type name ‘u64’
- static inline void be64_add_cpu(__be64 *var, u64 val)
- ^
- In file included from ./include/linux/kernel.h:10:0,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/linux/bitops.h: In function ‘hweight_long’:
- ./include/linux/bitops.h:70:2: error: implicit declaration of function ‘__arch_hweight64’ [-Werror=implicit-function-declaration]
- return sizeof(w) == 4 ? hweight32(w) : hweight64(w);
- ^
- ./include/linux/bitops.h: At top level:
- ./include/linux/bitops.h:78:15: error: unknown type name ‘__u64’
- static inline __u64 rol64(__u64 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:78:27: error: unknown type name ‘__u64’
- static inline __u64 rol64(__u64 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:88:15: error: unknown type name ‘__u64’
- static inline __u64 ror64(__u64 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:88:27: error: unknown type name ‘__u64’
- static inline __u64 ror64(__u64 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:98:15: error: unknown type name ‘__u32’
- static inline __u32 rol32(__u32 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:98:27: error: unknown type name ‘__u32’
- static inline __u32 rol32(__u32 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:108:15: error: unknown type name ‘__u32’
- static inline __u32 ror32(__u32 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:108:27: error: unknown type name ‘__u32’
- static inline __u32 ror32(__u32 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:118:15: error: unknown type name ‘__u16’
- static inline __u16 rol16(__u16 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:118:27: error: unknown type name ‘__u16’
- static inline __u16 rol16(__u16 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:128:15: error: unknown type name ‘__u16’
- static inline __u16 ror16(__u16 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:128:27: error: unknown type name ‘__u16’
- static inline __u16 ror16(__u16 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:138:15: error: unknown type name ‘__u8’
- static inline __u8 rol8(__u8 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:138:25: error: unknown type name ‘__u8’
- static inline __u8 rol8(__u8 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:148:15: error: unknown type name ‘__u8’
- static inline __u8 ror8(__u8 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:148:25: error: unknown type name ‘__u8’
- static inline __u8 ror8(__u8 word, unsigned int shift)
- ^
- ./include/linux/bitops.h:160:15: error: unknown type name ‘__s32’
- static inline __s32 sign_extend32(__u32 value, int index)
- ^
- ./include/linux/bitops.h:160:35: error: unknown type name ‘__u32’
- static inline __s32 sign_extend32(__u32 value, int index)
- ^
- ./include/linux/bitops.h:171:15: error: unknown type name ‘__s64’
- static inline __s64 sign_extend64(__u64 value, int index)
- ^
- ./include/linux/bitops.h:171:35: error: unknown type name ‘__u64’
- static inline __s64 sign_extend64(__u64 value, int index)
- ^
- ./include/linux/bitops.h: In function ‘fls_long’:
- ./include/linux/bitops.h:181:2: error: implicit declaration of function ‘fls64’ [-Werror=implicit-function-declaration]
- return fls64(l);
- ^
- ./include/linux/bitops.h: At top level:
- ./include/linux/bitops.h:218:37: error: unknown type name ‘u64’
- static inline unsigned long __ffs64(u64 word)
- ^
- In file included from ./include/linux/kernel.h:11:0,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/linux/log2.h:32:17: error: unknown type name ‘u32’
- int __ilog2_u32(u32 n)
- ^
- ./include/linux/log2.h:40:17: error: unknown type name ‘u64’
- int __ilog2_u64(u64 n)
- ^
- In file included from ./include/uapi/linux/kernel.h:4:0,
- from ./include/linux/cache.h:4,
- from ./include/linux/printk.h:8,
- from ./include/linux/kernel.h:13,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/uapi/linux/sysinfo.h:16:2: error: unknown type name ‘__u16’
- __u16 procs; /* Number of current processes */
- ^
- ./include/uapi/linux/sysinfo.h:17:2: error: unknown type name ‘__u16’
- __u16 pad; /* Explicit padding for m68k */
- ^
- ./include/uapi/linux/sysinfo.h:20:2: error: unknown type name ‘__u32’
- __u32 mem_unit; /* Memory unit size in bytes */
- ^
- ./include/uapi/linux/sysinfo.h:21:47: error: ‘__u32’ undeclared here (not in a function)
- char _f[20-2*sizeof(__kernel_ulong_t)-sizeof(__u32)]; /* Padding: libc5 uses this.. */
- ^
- In file included from ./arch/arm64/include/asm/opcodes.h:5:0,
- from ./arch/arm64/include/asm/sysreg.h:25,
- from ./arch/arm64/include/asm/cputype.h:94,
- from ./arch/arm64/include/asm/cachetype.h:19,
- from ./arch/arm64/include/asm/cache.h:19,
- from ./include/linux/cache.h:5,
- from ./include/linux/printk.h:8,
- from ./include/linux/kernel.h:13,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./arch/arm64/include/../../arm/include/asm/opcodes.h:14:52: error: unknown type name ‘u32’
- extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
- ^
- ./arch/arm64/include/../../arm/include/asm/opcodes.h:14:64: error: unknown type name ‘u32’
- extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
- ^
- In file included from ./arch/arm64/include/asm/cputype.h:94:0,
- from ./arch/arm64/include/asm/cachetype.h:19,
- from ./arch/arm64/include/asm/cache.h:19,
- from ./include/linux/cache.h:5,
- from ./include/linux/printk.h:8,
- from ./include/linux/kernel.h:13,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./arch/arm64/include/asm/sysreg.h:292:37: error: unknown type name ‘u32’
- static inline void config_sctlr_el1(u32 clear, u32 set)
- ^
- ./arch/arm64/include/asm/sysreg.h:292:48: error: unknown type name ‘u32’
- static inline void config_sctlr_el1(u32 clear, u32 set)
- ^
- In file included from ./arch/arm64/include/asm/cachetype.h:19:0,
- from ./arch/arm64/include/asm/cache.h:19,
- from ./include/linux/cache.h:5,
- from ./include/linux/printk.h:8,
- from ./include/linux/kernel.h:13,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./arch/arm64/include/asm/cputype.h:103:15: error: type defaults to ‘int’ in declaration of ‘u32’ [-Werror=implicit-int]
- static inline u32 __attribute_const__ read_cpuid_id(void)
- ^
- ./arch/arm64/include/asm/cputype.h:103:15: warning: variable ‘u32’ declared ‘inline’
- ./arch/arm64/include/asm/cputype.h:103:1: warning: ‘const’ attribute ignored [-Wattributes]
- static inline u32 __attribute_const__ read_cpuid_id(void)
- ^
- ./arch/arm64/include/asm/cputype.h:103:1: warning: ‘always_inline’ attribute ignored [-Wattributes]
- ./arch/arm64/include/asm/cputype.h:103:15: error: ‘no_instrument_function’ attribute applies only to functions
- static inline u32 __attribute_const__ read_cpuid_id(void)
- ^
- ./arch/arm64/include/asm/cputype.h:103:39: error: expected ‘,’ or ‘;’ before ‘read_cpuid_id’
- static inline u32 __attribute_const__ read_cpuid_id(void)
- ^
- ./arch/arm64/include/asm/cputype.h:108:15: error: type defaults to ‘int’ in declaration of ‘u64’ [-Werror=implicit-int]
- static inline u64 __attribute_const__ read_cpuid_mpidr(void)
- ^
- ./arch/arm64/include/asm/cputype.h:108:15: warning: variable ‘u64’ declared ‘inline’
- ./arch/arm64/include/asm/cputype.h:108:1: warning: ‘const’ attribute ignored [-Wattributes]
- static inline u64 __attribute_const__ read_cpuid_mpidr(void)
- ^
- ./arch/arm64/include/asm/cputype.h:108:1: warning: ‘always_inline’ attribute ignored [-Wattributes]
- ./arch/arm64/include/asm/cputype.h:108:15: error: ‘no_instrument_function’ attribute applies only to functions
- static inline u64 __attribute_const__ read_cpuid_mpidr(void)
- ^
- ./arch/arm64/include/asm/cputype.h:108:39: error: expected ‘,’ or ‘;’ before ‘read_cpuid_mpidr’
- static inline u64 __attribute_const__ read_cpuid_mpidr(void)
- ^
- ./arch/arm64/include/asm/cputype.h: In function ‘read_cpuid_implementor’:
- ./arch/arm64/include/asm/cputype.h:115:2: error: implicit declaration of function ‘read_cpuid_id’ [-Werror=implicit-function-declaration]
- return MIDR_IMPLEMENTOR(read_cpuid_id());
- ^
- ./arch/arm64/include/asm/cputype.h: At top level:
- ./arch/arm64/include/asm/cputype.h:123:15: error: type defaults to ‘int’ in declaration of ‘u32’ [-Werror=implicit-int]
- static inline u32 __attribute_const__ read_cpuid_cachetype(void)
- ^
- ./arch/arm64/include/asm/cputype.h:123:15: warning: variable ‘u32’ declared ‘inline’
- ./arch/arm64/include/asm/cputype.h:123:1: warning: ‘const’ attribute ignored [-Wattributes]
- static inline u32 __attribute_const__ read_cpuid_cachetype(void)
- ^
- ./arch/arm64/include/asm/cputype.h:123:1: warning: ‘always_inline’ attribute ignored [-Wattributes]
- ./arch/arm64/include/asm/cputype.h:123:15: error: ‘no_instrument_function’ attribute applies only to functions
- static inline u32 __attribute_const__ read_cpuid_cachetype(void)
- ^
- ./arch/arm64/include/asm/cputype.h:123:39: error: expected ‘,’ or ‘;’ before ‘read_cpuid_cachetype’
- static inline u32 __attribute_const__ read_cpuid_cachetype(void)
- ^
- In file included from ./arch/arm64/include/asm/cache.h:19:0,
- from ./include/linux/cache.h:5,
- from ./include/linux/printk.h:8,
- from ./include/linux/kernel.h:13,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./arch/arm64/include/asm/cachetype.h:66:8: error: type defaults to ‘int’ in declaration of ‘u64’ [-Werror=implicit-int]
- extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
- ^
- ./arch/arm64/include/asm/cachetype.h:66:1: warning: ‘const’ attribute ignored [-Wattributes]
- extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
- ^
- ./arch/arm64/include/asm/cachetype.h:66:32: error: expected ‘,’ or ‘;’ before ‘cache_get_ccsidr’
- extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
- ^
- ./arch/arm64/include/asm/cachetype.h: In function ‘icache_get_linesize’:
- ./arch/arm64/include/asm/cachetype.h:71:2: error: implicit declaration of function ‘cache_get_ccsidr’ [-Werror=implicit-function-declaration]
- return CACHE_LINESIZE(cache_get_ccsidr(1L));
- ^
- ./arch/arm64/include/asm/cachetype.h: At top level:
- ./arch/arm64/include/asm/cachetype.h:93:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cache_type_cwg’
- static inline u32 cache_type_cwg(void)
- ^
- In file included from ./include/linux/cache.h:5:0,
- from ./include/linux/printk.h:8,
- from ./include/linux/kernel.h:13,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./arch/arm64/include/asm/cache.h: In function ‘cache_line_size’:
- ./arch/arm64/include/asm/cache.h:39:2: warning: statement with no effect [-Wunused-value]
- u32 cwg = cache_type_cwg();
- ^
- ./arch/arm64/include/asm/cache.h:39:6: error: expected ‘;’ before ‘cwg’
- u32 cwg = cache_type_cwg();
- ^
- ./arch/arm64/include/asm/cache.h:40:9: error: ‘cwg’ undeclared (first use in this function)
- return cwg ? 4 << cwg : L1_CACHE_BYTES;
- ^
- In file included from ./include/linux/kernel.h:13:0,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/linux/printk.h: At top level:
- ./include/linux/printk.h:191:1: error: unknown type name ‘u32’
- u32 log_buf_len_get(void);
- ^
- In file included from ./include/asm-generic/bug.h:13:0,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- ./include/linux/kernel.h:246:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘reciprocal_scale’
- static inline u32 reciprocal_scale(u32 val, u32 ep_ro)
- ^
- ./include/linux/kernel.h:339:76: error: expected declaration specifiers or ‘...’ before ‘u64’
- static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res)
- ^
- ./include/linux/kernel.h:344:76: error: unknown type name ‘s64’
- static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res)
- ^
- ./include/linux/kernel.h:349:76: error: expected declaration specifiers or ‘...’ before ‘u32’
- static inline int __must_check kstrtou32(const char *s, unsigned int base, u32 *res)
- ^
- ./include/linux/kernel.h:354:76: error: unknown type name ‘s32’
- static inline int __must_check kstrtos32(const char *s, unsigned int base, s32 *res)
- ^
- ./include/linux/kernel.h:359:62: error: unknown type name ‘u16’
- int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
- ^
- ./include/linux/kernel.h:360:62: error: unknown type name ‘s16’
- int __must_check kstrtos16(const char *s, unsigned int base, s16 *res);
- ^
- ./include/linux/kernel.h:361:61: error: unknown type name ‘u8’
- int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
- ^
- ./include/linux/kernel.h:362:61: error: unknown type name ‘s8’
- int __must_check kstrtos8(const char *s, unsigned int base, s8 *res);
- ^
- ./include/linux/kernel.h:371:93: error: unknown type name ‘u16’
- int __must_check kstrtou16_from_user(const char __user *s, size_t count, unsigned int base, u16 *res);
- ^
- ./include/linux/kernel.h:372:93: error: unknown type name ‘s16’
- int __must_check kstrtos16_from_user(const char __user *s, size_t count, unsigned int base, s16 *res);
- ^
- ./include/linux/kernel.h:373:92: error: unknown type name ‘u8’
- int __must_check kstrtou8_from_user(const char __user *s, size_t count, unsigned int base, u8 *res);
- ^
- ./include/linux/kernel.h:374:92: error: unknown type name ‘s8’
- int __must_check kstrtos8_from_user(const char __user *s, size_t count, unsigned int base, s8 *res);
- ^
- ./include/linux/kernel.h:377:107: error: expected declaration specifiers or ‘...’ before ‘u64’
- static inline int __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res)
- ^
- ./include/linux/kernel.h:382:107: error: unknown type name ‘s64’
- static inline int __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res)
- ^
- ./include/linux/kernel.h:387:107: error: expected declaration specifiers or ‘...’ before ‘u32’
- static inline int __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int base, u32 *res)
- ^
- ./include/linux/kernel.h:392:107: error: unknown type name ‘s32’
- static inline int __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int base, s32 *res)
- ^
- ./include/linux/kernel.h:514:46: error: unknown type name ‘u8’
- static inline char *hex_byte_pack(char *buf, u8 byte)
- ^
- ./include/linux/kernel.h:525:52: error: unknown type name ‘u8’
- static inline char *hex_byte_pack_upper(char *buf, u8 byte)
- ^
- ./include/linux/kernel.h:533:33: error: unknown type name ‘u8’
- extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
- ^
- ./include/linux/kernel.h:536:30: error: unknown type name ‘u8’
- bool mac_pton(const char *s, u8 *mac);
- ^
- In file included from ./include/linux/spinlock_types.h:13:0,
- from kernel/bounds.c:13:
- ./arch/arm64/include/asm/spinlock_types.h:32:2: error: unknown type name ‘u16’
- u16 owner;
- ^
- ./arch/arm64/include/asm/spinlock_types.h:33:2: error: unknown type name ‘u16’
- u16 next;
- ^
- kernel/bounds.c: In function ‘foo’:
- kernel/bounds.c:21:2: error: implicit declaration of function ‘__ilog2_u32’ [-Werror=implicit-function-declaration]
- DEFINE(NR_CPUS_BITS, ilog2(CONFIG_NR_CPUS));
- ^
- kernel/bounds.c:21:2: error: implicit declaration of function ‘__ilog2_u64’ [-Werror=implicit-function-declaration]
- In file included from ./arch/arm64/include/asm/cache.h:19:0,
- from ./include/linux/cache.h:5,
- from ./include/linux/printk.h:8,
- from ./include/linux/kernel.h:13,
- from ./include/asm-generic/bug.h:13,
- from ./arch/arm64/include/asm/bug.h:62,
- from ./include/linux/bug.h:4,
- from ./include/linux/page-flags.h:9,
- from kernel/bounds.c:9:
- kernel/bounds.c: At top level:
- ./arch/arm64/include/asm/cachetype.h:66:8: warning: ‘u64’ defined but not used [-Wunused-variable]
- extern u64 __attribute_const__ cache_get_ccsidr(u64 csselr);
- ^
- cc1: some warnings being treated as errors
- Kbuild:45: recipe for target 'kernel/bounds.s' failed
- make[1]: *** [kernel/bounds.s] Error 1
- Makefile:1033: recipe for target 'prepare0' failed
- make: *** [prepare0] Error 2
- root@linaro-alip:/home/linaro/kernel-build/kernel-compilation_12923128-fe05-4654-842b-ae6ea3768569/automated/linux/kernel-compilation/output/linux-4.9.4#
Add Comment
Please, Sign In to add comment