Hay
Date
May 15, 2025, 10:38 a.m.

Environment
arm64

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/ublk'
kublk.c: In function 'cmd_dev_get_features':
kublk.c:1197:24: error: array index in initializer not of integer type
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1205:18: note: in expansion of macro 'const_ilog2'
 1205 |                 [const_ilog2(UBLK_F_CMD_IOCTL_ENCODE)] = "CMD_IOCTL_ENCODE",
      |                  ^~~~~~~~~~~
kublk.c:1197:24: note: (near initialization for 'feat_map')
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1205:18: note: in expansion of macro 'const_ilog2'
 1205 |                 [const_ilog2(UBLK_F_CMD_IOCTL_ENCODE)] = "CMD_IOCTL_ENCODE",
      |                  ^~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/ublk'
kublk.c: In function 'cmd_dev_get_features':
kublk.c:1197:24: error: array index in initializer not of integer type
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1206:18: note: in expansion of macro 'const_ilog2'
 1206 |                 [const_ilog2(UBLK_F_USER_COPY)] = "USER_COPY",
      |                  ^~~~~~~~~~~
kublk.c:1197:24: note: (near initialization for 'feat_map')
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1206:18: note: in expansion of macro 'const_ilog2'
 1206 |                 [const_ilog2(UBLK_F_USER_COPY)] = "USER_COPY",
      |                  ^~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/ublk'
kublk.c: In function 'cmd_dev_get_features':
kublk.c:1197:24: error: array index in initializer not of integer type
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1204:18: note: in expansion of macro 'const_ilog2'
 1204 |                 [const_ilog2(UBLK_F_UNPRIVILEGED_DEV)] = "UNPRIVILEGED_DEV",
      |                  ^~~~~~~~~~~
kublk.c:1197:24: note: (near initialization for 'feat_map')
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1204:18: note: in expansion of macro 'const_ilog2'
 1204 |                 [const_ilog2(UBLK_F_UNPRIVILEGED_DEV)] = "UNPRIVILEGED_DEV",
      |                  ^~~~~~~~~~~


make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/ublk'
kublk.c: In function 'cmd_dev_get_features':
kublk.c:1197:24: error: array index in initializer not of integer type
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1206:18: note: in expansion of macro 'const_ilog2'
 1206 |                 [const_ilog2(UBLK_F_USER_COPY)] = "USER_COPY",
      |                  ^~~~~~~~~~~
kublk.c:1197:24: note: (near initialization for 'feat_map')
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1206:18: note: in expansion of macro 'const_ilog2'
 1206 |                 [const_ilog2(UBLK_F_USER_COPY)] = "USER_COPY",
      |                  ^~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/ublk'
kublk.c: In function 'cmd_dev_get_features':
kublk.c:1197:24: error: array index in initializer not of integer type
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1204:18: note: in expansion of macro 'const_ilog2'
 1204 |                 [const_ilog2(UBLK_F_UNPRIVILEGED_DEV)] = "UNPRIVILEGED_DEV",
      |                  ^~~~~~~~~~~
kublk.c:1197:24: note: (near initialization for 'feat_map')
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1204:18: note: in expansion of macro 'const_ilog2'
 1204 |                 [const_ilog2(UBLK_F_UNPRIVILEGED_DEV)] = "UNPRIVILEGED_DEV",
      |                  ^~~~~~~~~~~

make -C /builds/linux/tools/testing/selftests/../../../tools/arch/arm64/tools/ OUTPUT=/builds/linux/tools/testing/selftests/../../../tools/
make[4]: Entering directory '/builds/linux/tools/testing/selftests/ublk'
kublk.c: In function 'cmd_dev_get_features':
kublk.c:1197:24: error: array index in initializer not of integer type
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1205:18: note: in expansion of macro 'const_ilog2'
 1205 |                 [const_ilog2(UBLK_F_CMD_IOCTL_ENCODE)] = "CMD_IOCTL_ENCODE",
      |                  ^~~~~~~~~~~
kublk.c:1197:24: note: (near initialization for 'feat_map')
 1197 | #define const_ilog2(x) (63 - __builtin_clzll(x))
      |                        ^
kublk.c:1205:18: note: in expansion of macro 'const_ilog2'
 1205 |                 [const_ilog2(UBLK_F_CMD_IOCTL_ENCODE)] = "CMD_IOCTL_ENCODE",
      |                  ^~~~~~~~~~~