DEBUG: Executing python function autotools_aclocals
DEBUG: SITE files ['endian-little', 'bit-64', 'riscv-common', 'common-linux', 'common-glibc', 'riscv64-linux', 'riscv64-linux', 'common']
DEBUG: Python function autotools_aclocals finished
DEBUG: Executing shell function do_compile
NOTE: make -j 10 -l 64
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/shared'
flex -s -odrbdmeta_scanner.c drbdmeta_scanner.fl
./drbd_buildtag.sh drbd_buildtag.h
./drbd_buildtag.sh drbd_buildtag.c
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/shared'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/v9'
flex -s -odrbdadm_scanner.c drbdadm_scanner.fl
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_postparse.o drbdadm_postparse.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_dump.o drbdadm_dump.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o registry.o registry.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o config_flags.o config_flags.c
drbdadm_adjust.c:409:15: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value]
409 | (!run_o || abs(v1-v2)/(float)minimum > 0.02))
| ^
drbdadm_adjust.c:409:15: note: remove the call to 'abs' since unsigned values cannot be negative
409 | (!run_o || abs(v1-v2)/(float)minimum > 0.02))
| ^~~
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
../../drbd-headers/linux/genl_magic_struct.h:201:10: warning: no case matching constant switch condition '0'
201 | switch (0) {
| ^
../../drbd-headers/linux/genl_magic_struct.h:219:10: warning: no case matching constant switch condition '0'
219 | switch (0) {
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:88:1: warning: no case matching constant switch condition '0'
88 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:98:1: warning: no case matching constant switch condition '0'
98 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __u32_field(6, DRBD_GENLA_F_MANDATORY, ctx_peer_node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | __str_field_def(5, 0, ctx_conn_name, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:107:1: warning: no case matching constant switch condition '0'
107 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 |
112 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | /*__u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 |
116 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | /*__u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing_policy, DRBD_FENCING_DEF)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 |
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, al_extents, DRBD_AL_EXTENTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 |
122 | __flg_field_def(16, DRBD_GENLA_F_MANDATORY, disk_barrier, DRBD_DISK_BARRIER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:135:1: warning: no case matching constant switch condition '0'
135 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, DRBD_CPU_MASK_SIZE)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | __flg_field_def(3, DRBD_GENLA_F_MANDATORY, auto_promote, DRBD_AUTO_PROMOTE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | __u32_field(4, DRBD_F_REQUIRED | DRBD_F_INVARIANT, node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, peer_ack_window, DRBD_PEER_ACK_WINDOW_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, twopc_timeout, DRBD_TWOPC_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, twopc_retry_timeout, DRBD_TWOPC_RETRY_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 | __u32_field_def(8, 0 /* OPTIONAL */, peer_ack_delay, DRBD_PEER_ACK_DELAY_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144 | __u32_field_def(9, 0 /* OPTIONAL */, auto_promote_timeout, DRBD_AUTO_PROMOTE_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __u32_field_def(10, 0 /* OPTIONAL */, nr_requests, DRBD_NR_REQUESTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | __s32_field_def(11, 0 /* OPTIONAL */, quorum, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __u32_field_def(12, 0 /* OPTIONAL */, on_no_quorum, DRBD_ON_NO_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __s32_field_def(13, 0 /* OPTIONAL */, quorum_min_redundancy, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __u32_field_def(14, 0 /* OPTIONAL */, on_susp_primary_outdated, DRBD_ON_SUSP_PRI_OUTD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:152:1: warning: no case matching constant switch condition '0'
152 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | __u32_friscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o libnla.o ../shared/libnla.c
ield_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | __u32_field_def(15, DRBD_GENLA_F_MANDATORY, max_epoch_size, DRBD_MAX_EPOCH_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:197:1: warning: no case matching constant switch condition '0'
197 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:201:1: warning: no case matching constant switch condition '0'
201 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant switch condition '0'
209 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:214:1: warning: no case matching constant switch condition '0'
214 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216 | __flg_field(2, DRBD_GENLA_F_MANDATORY, force_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0'
219 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:223:1: warning: no case matching constant switch condition '0'
223 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant switch condition '0'
227 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless_detach, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:232:1: warning: no case matching constant switch condition '0'
232 | GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | __u32_field_def(1, DRBD_F_INVARIANT, max_bio_size, DRBD_MAX_BIO_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | __u32_field_def(3, 0 /* OPTIONAL */, block_size, DRBD_BLOCK_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:238:1: warning: no case matching constant switch condition '0'
238 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
240 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
241 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | __flg_field(5, 0, res_susp_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | __flg_field(6, 0, res_fail_io)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0'
247 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | __flg_field(2, 0, is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(3, 0, dev_has_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | __str_field(4, 0, backing_dev_path, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:254:1: warning: no case matching constant switch condition '0'
254 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:259:1: warning: no case matching constant switch condition '0'
259 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265 | __flg_field(6, 0, peer_is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0'
268 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:272:1: warning: no case matching constant switch condition '0'
272 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
282 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:289:1: warning: no case matching constant switch condition '0'
289 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(2, 0, ap_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u64_field(3, 0, rs_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:295:1: warning: no case matching constant switch condition '0'
295 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | /* you need the peer_repl_state from peer_device_info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | * to properly interpret these stats for "progress"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306 | * of syncer/verify */
| ~~~~~~~~~~~~~~~~~~~~~
307 | __u64_field(10,0, peer_dev_rs_total) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(11,0, peer_dev_ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(12,0, peer_dev_ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u64_field(13,0, peer_dev_ov_position) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:327:1: warning: no case matching constant switch condition '0'
327 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:331:1: warning: no case matching constant switch condition '0'
331 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:336:1: warning: no case matching constant switch condition '0'
336 | GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
337 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, sync_from_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
338 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:341:1: warning: no case matching constant switch condition '0'
341 | GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
342 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, forget_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:345:1: warning: no case matching constant switch condition '0'
345 | GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 | __u32_field_def(1, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, c_plan_ahead, DRBD_C_PLAN_AHEAD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | __u32_field_def(3, DRBD_GENLA_F_MANDATORY, c_delay_target, DRBD_C_DELAY_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | __u32_field_def(4, DRBD_GENLA_F_MANDATORY, c_fill_target, DRBD_C_FILL_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | __flg_field_def(7, 0 /* OPTIONAL */, bitmap, DRBD_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
353 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:355:1: warning: no case matching constant switch condition '0'
355 | GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
356 | __bin_field(1, DRBD_GENLA_F_MANDATORY, my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357 | __bin_field(2, DRBD_GENLA_F_MANDATORY, peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:360:1: warning: no case matching constant switch condition '0'
360 | GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
361 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, tentative, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, discard_my_data, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant switch condition '0'
365 | GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
366 | __flg_field(1, 0, path_established)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:369:1: warning: no case matching constant switch condition '0'
369 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 | __str_field(1, DRBD_GENLA_F_MANDATORY, new_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:373:1: warning: no case matching constant switch condition '0'
373 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 | __str_field(1, DRBD_GENLA_F_MANDATORY, res_new_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from config_flags.c:14:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:377:1: warning: no case matching constant switch condition '0'
377 | GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, p_reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
drbdadm_main.c:358:101: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
358 | static struct adm_cmd peer_role_cmd = {"peer-role", adm_drbdsetup, ACF1_DISCONNECT .show_in_usage = 0 };
| ^
drbdadm_main.c:358:68: note: previous initialization is here
358 | static struct adm_cmd peer_role_cmd = {"peer-role", adm_drbdsetup, ACF1_DISCONNECT .show_in_usage = 0 };
| ^~~~~~~~~~~~~~~
drbdadm_main.c:231:19: note: expanded from macro 'ACF1_DISCONNECT'
231 | .show_in_usage = 1, \
| ^
drbdadm_main.c:360:116: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
360 | static struct adm_cmd dstate_cmd = {"dstate", adm_setup_and_meta, &forceable_ctx, ACF1_MINOR_ONLY .disk_required = 0 };
| ^
drbdadm_main.c:360:83: note: previous initialization is here
360 | static struct adm_cmd dstate_cmd = {"dstate", adm_setup_and_meta, &forceable_ctx, ACF1_MINOR_ONLY .disk_required = 0 };
| ^~~~~~~~~~~~~~~
drbdadm_main.c:206:19: note: expanded from macro 'ACF1_MINOR_ONLY'
206 | .disk_required = 1, \
| ^
drbdadm_parser.c:1274:24: warning: cast to smaller integer type 'enum pr_flags' from 'void *' [-Wvoid-pointer-to-enum-cast]
1274 | enum pr_flags flags = (enum pr_flags)ctx;
| ^~~~~~~~~~~~~~~~~~
drbdadm_main.c:396:101: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
396 | /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, };
| ^
drbdadm_main.c:396:68: note: previous initialization is here
396 | /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, };
| ^~~~~~~~~~~~~~~
drbdadm_main.c:200:19: note: expanded from macro 'ACF1_MINOR_ONLY'
200 | .show_in_usage = 1, \
| ^
drbdadm_main.c:396:121: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
396 | /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, };
| ^
drbdadm_main.c:396:68: note: previous initialization is here
396 | /* */ struct adm_cmd del_minor_cmd = {"del-minor", adm_drbdsetup, ACF1_MINOR_ONLY .show_in_usage = 4, .disk_required = 0, };
| ^~~~~~~~~~~~~~~
drbdadm_main.c:206:19: note: expanded from macro 'ACF1_MINOR_ONLY'
206 | .disk_required = 1, \
| ^
drbdadm_main.c:414:105: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
414 | static struct adm_cmd suspend_io_cmd = {"suspend-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 };
| ^
drbdadm_main.c:414:70: note: previous initialization is here
414 | static struct adm_cmd suspend_io_cmd = {"suspend-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 };
| ^~~~~~~~~~~~~
drbdadm_main.c:274:22: note: expanded from macro 'ACF4_ADVANCED'
274 | .backend_res_name = 1, \
| ^
drbdadm_main.c:415:103: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
415 | static struct adm_cmd resume_io_cmd = {"resume-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 };
| ^
drbdadm_main.c:415:68: note: previous initialization is here
415 | static struct adm_cmd resume_io_cmd = {"resume-io", adm_drbdsetup, ACF4_ADVANCED .backend_res_name = 0 };
| ^~~~~~~~~~~~~
drbdadm_main.c:274:22: note: expanded from macro 'ACF4_ADVANCED'
274 | .backend_res_name = 1, \
| ^
drbdadm_main.c:417:152: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
417 | static struct adm_cmd new_current_uuid_cmd = {"new-current-uuid", adm_drbdsetup, &new_current_uuid_cmd_ctx, ACF4_ADVANCED_NEED_VOL .backend_res_name = 0};
| ^
drbdadm_main.c:417:109: note: previous initialization is here
417 | static struct adm_cmd new_current_uuid_cmd = {"new-current-uuid", adm_drbdsetup, &new_current_uuid_cmd_ctx, ACF4_ADVANCED_NEED_VOL .backend_res_name = 0};
| ^~~~~~~~~~~~~~~~~~~~~~
drbdadm_main.c:282:22: note: expanded from macro 'ACF4_ADVANCED_NEED_VOL'
282 | .backend_res_name = 1, \
| ^
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_nla.o drbd_nla.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
../../drbd-headers/linux/genl_magic_struct.h:201:10: warning: no case matching constant switch condition '0'
201 | switch (0) {
| ^
../../drbd-headers/linux/genl_magic_struct.h:219:10: warning: no case matching constant switch condition '0'
219 | switch (0) {
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:88:1: warning: no case matching constant switch condition '0'
88 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:98:1: warning: no case matching constant switch condition '0'
98 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __u32_field(6, DRBD_GENLA_F_MANDATORY, ctx_peer_node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | __str_field_def(5, 0, ctx_conn_name, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:107:1: warning: no case matching constant switch condition '0'
107 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 |
112 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | /*__u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 |
116 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBDriscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_main.o ../shared/shared_main.c
_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | /*__u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing_policy, DRBD_FENCING_DEF)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 |
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, al_extents, DRBD_AL_EXTENTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 |
122 | __flg_field_def(16, DRBD_GENLA_F_MANDATORY, disk_barrier, DRBD_DISK_BARRIER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:135:1: warning: no case matching constant switch condition '0'
135 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, DRBD_CPU_MASK_SIZE)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | __flg_field_def(3, DRBD_GENLA_F_MANDATORY, auto_promote, DRBD_AUTO_PROMOTE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | __u32_field(4, DRBD_F_REQUIRED | DRBD_F_INVARIANT, node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, peer_ack_window, DRBD_PEER_ACK_WINDOW_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, twopc_timeout, DRBD_TWOPC_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, twopc_retry_timeout, DRBD_TWOPC_RETRY_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 | __u32_field_def(8, 0 /* OPTIONAL */, peer_ack_delay, DRBD_PEER_ACK_DELAY_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144 | __u32_field_def(9, 0 /* OPTIONAL */, auto_promote_timeout, DRBD_AUTO_PROMOTE_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __u32_field_def(10, 0 /* OPTIONAL */, nr_requests, DRBD_NR_REQUESTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | __s32_field_def(11, 0 /* OPTIONAL */, quorum, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __u32_field_def(12, 0 /* OPTIONAL */, on_no_quorum, DRBD_ON_NO_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __s32_field_def(13, 0 /* OPTIONAL */, quorum_min_redundancy, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __u32_field_def(14, 0 /* OPTIONAL */, on_susp_primary_outdated, DRBD_ON_SUSP_PRI_OUTD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:152:1: warning: no case matching constant switch condition '0'
152 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | __u32_field_def(15, DRBD_GENLA_F_MANDATORY, max_epoch_size, DRBD_MAX_EPOCH_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:197:1: warning: no case matching constant switch condition '0'
197 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:201:1: warning: no case matching constant switch condition '0'
201 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant switch condition '0'
209 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:214:1: warning: no case matching constant switch condition '0'
214 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216 | __flg_field(2, DRBD_GENLA_F_MANDATORY, force_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0'
219 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:223:1: warning: no case matching constant switch condition '0'
223 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant switch condition '0'
227 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless_detach, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:232:1: warning: no case matching constant switch condition '0'
232 | GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | __u32_field_def(1, DRBD_F_INVARIANT, max_bio_size, DRBD_MAX_BIO_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | __u32_field_def(3, 0 /* OPTIONAL */, block_size, DRBD_BLOCK_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:238:1: warning: no case matching constant switch condition '0'
238 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
240 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
241 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | __flg_field(5, 0, res_susp_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | __flg_field(6, 0, res_fail_io)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0'
247 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | __flg_field(2, 0, is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(3, 0, dev_has_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | __str_field(4, 0, backing_dev_path, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:254:1: warning: no case matching constant switch condition '0'
254 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:259:1: warning: no case matching constant switch condition '0'
259 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265 | __flg_field(6, 0, peer_is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0'
268 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:272:1: warning: no case matching constant switch condition '0'
272 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
282 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:289:1: warning: no case matching constant switch condition '0'
289 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(2, 0, ap_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u64_field(3, 0, rs_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:295:1: warning: no case matching constant switch condition '0'
295 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | /* you need the peer_repl_state from peer_device_info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | * to properly interpret these stats for "progress"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306 | * of syncer/verify */
| ~~~~~~~~~~~~~~~~~~~~~
307 | __u64_field(10,0, peer_dev_rs_total) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(11,0, peer_dev_ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(12,0, peer_dev_ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u64_field(13,0, peer_dev_ov_position) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:327:1: warning: no case matching constant switch condition '0'
327 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:331:1: warning: no case matching constant switch condition '0'
331 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | __u32_field(2, DRBD_GENriscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c
LA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:336:1: warning: no case matching constant switch condition '0'
336 | GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
337 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, sync_from_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
338 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:341:1: warning: no case matching constant switch condition '0'
341 | GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
342 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, forget_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:345:1: warning: no case matching constant switch condition '0'
345 | GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 | __u32_field_def(1, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, c_plan_ahead, DRBD_C_PLAN_AHEAD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | __u32_field_def(3, DRBD_GENLA_F_MANDATORY, c_delay_target, DRBD_C_DELAY_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | __u32_field_def(4, DRBD_GENLA_F_MANDATORY, c_fill_target, DRBD_C_FILL_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | __flg_field_def(7, 0 /* OPTIONAL */, bitmap, DRBD_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
353 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:355:1: warning: no case matching constant switch condition '0'
355 | GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
356 | __bin_field(1, DRBD_GENLA_F_MANDATORY, my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357 | __bin_field(2, DRBD_GENLA_F_MANDATORY, peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:360:1: warning: no case matching constant switch condition '0'
360 | GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
361 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, tentative, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, discard_my_data, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant switch condition '0'
365 | GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
366 | __flg_field(1, 0, priscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o libgenl.o ../shared/libgenl.c
ath_established)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:369:1: warning: no case matching constant switch condition '0'
369 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 | __str_field(1, DRBD_GENLA_F_MANDATORY, new_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:373:1: warning: no case matching constant switch condition '0'
373 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 | __str_field(1, DRBD_GENLA_F_MANDATORY, res_new_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:377:1: warning: no case matching constant switch condition '0'
377 | GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, p_reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
1 warning generated.
34 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdadm_linux.o drbdadm_linux.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdtool_common_linux.o drbdtool_common_linux.c
../shared/shared_main.c:66:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
66 | .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF,
| ^~~~~~~~~~~~~~~~~~~~
../shared/shared_main.h:41:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF'
41 | #define CMD_TIMEOUT_LONG_DEF 600
| ^~~
../shared/shared_main.c:65:24: note: previous initialization is here
65 | .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF,
| ^~~~~~~~~~~~~~~~~~~~~~
../shared/shared_main.h:40:32: note: expanded from macro 'CMD_TIMEOUT_MEDIUM_DEF'
40 | #define CMD_TIMEOUT_MEDIUM_DEF 121
| ^~~
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o path_linux.o ../shared/path_linux.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o shared_linux.o ../shared/shared_linux.c
34 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta.o ../shared/drbdmeta.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_scanner.o ../shared/drbdmeta_scanner.c
1 warning generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbd_strings.o ../../drbd-headers/drbd_strings.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdmeta_linux.o ../shared/drbdmeta_linux.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup.o drbdsetup.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_events2.o drbdsetup_events2.c
../shared/drbdmeta.c:856:29: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
856 | {"get-gi", 0, meta_get_gi, 1, 1, 0},
| ^
../shared/drbdmeta.c:856:32: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
856 | {"get-gi", 0, meta_get_gi, 1, 1, 0},
| ^
../shared/drbdmeta.c:857:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
857 | {"show-gi", 0, meta_show_gi, 1, 1, 0},
| ^
../shared/drbdmeta.c:857:34: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
857 | {"show-gi", 0, meta_show_gi, 1, 1, 0},
| ^
../shared/drbdmeta.c:858:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
858 | {"dump-md", 0, meta_dump_md, 1, 0, 0},
| ^
../shared/drbdmeta.c:861:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
861 | meta_dump_superblock, 1, 0, 0},
| ^
../shared/drbdmeta.c:862:54: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
862 | {"hexdump-superblock", 0, meta_hex_dump_superblock, 1, 0, 0},
| ^
../shared/drbdmeta.c:863:42: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
863 | {"restore-md", "file", meta_restore_md, 1, 0, 1},
| ^
../shared/drbdmeta.c:863:48: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
863 | {"restore-md", "file", meta_restore_md, 1, 0, 1},
| ^
../shared/drbdmeta.c:864:49: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
864 | {"verify-dump", "file", meta_verify_dump_file, 1, 0, 0},
| ^
../shared/drbdmeta.c:865:33: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
865 | {"apply-al", 0, meta_apply_al, 1, 0, 1},
| ^
../shared/drbdmeta.c:865:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
865 | {"apply-al", 0, meta_apply_al, 1, 0, 1},
| ^
../shared/drbdmeta.c:866:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
866 | {"wipe-md", 0, meta_wipe_md, 1, 0, 1},
| ^
../shared/drbdmeta.c:866:37: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
866 | {"wipe-md", 0, meta_wipe_md, 1, 0, 1},
| ^
../shared/drbdmeta.c:867:31: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
867 | {"outdate", 0, meta_outdate, 1, 0, 1},
| ^
../shared/drbdmeta.c:867:37: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
867 | {"outdate", 0, meta_outdate, 1, 0, 1},
| ^
../shared/drbdmeta.c:868:37: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
868 | {"invalidate", 0, meta_invalidate, 1, 0, 1},
| ^
../shared/drbdmeta.c:868:43: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
868 | {"invalidate", 0, meta_invalidate, 1, 0, 1},
| ^
../shared/drbdmeta.c:869:29: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
869 | {"dstate", 0, meta_dstate, 1, 0, 0},
| ^
../shared/drbdmeta.c:871:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
871 | {"write-dev-uuid", "VAL", meta_write_dev_uuid, 0, 0, 1},
| ^
../shared/drbdmeta.c:873:47: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
873 | {"set-gi", ":::VAL:VAL:...", meta_set_gi, 0, 1, 1},
| ^
../shared/drbdmeta.c:873:50: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
873 | {"set-gi", ":::VAL:VAL:...", meta_set_gi, 0, 1, 1},
| ^
../shared/drbdmeta.c:874:47: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
874 | {"check-resize", 0, meta_chk_offline_resize, 1, 0, 1},
| ^
../shared/drbdmeta.c:874:53: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
874 | {"check-resize", 0, meta_chk_offline_resize, 1, 0, 1},
| ^
../shared/drbdmeta.c:880:19: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
880 | meta_create_md, 1, 0, 1},
| ^
../shared/drbdmeta.c:880:25: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
880 | meta_create_md, 1, 0, 1},
| ^
../shared/drbdmeta.c:881:39: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
881 | {"forget-peer", 0, meta_forget_peer, 1, 1, 1},
| ^
../shared/drbdmeta.c:881:42: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
881 | {"forget-peer", 0, meta_forget_peer, 1, 1, 1},
| ^
../shared/drbdmeta.c:881:45: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
881 | {"forget-peer", 0, meta_forget_peer, 1, 1, 1},
| ^
../shared/drbdmeta.c:882:49: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
882 | {"repair-md", "[--tentative]", meta_repair_md, 1, 0, 1},
| ^
../shared/drbdmeta.c:882:55: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
882 | {"repair-md", "[--tentative]", meta_repair_md, 1, 0, 1},
| ^
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_linux.o drbdsetup_linux.c
../shared/drbdmeta.c:2661:22: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
2661 | cfg->update_lk_bdev = 1;
| ^ ~
../shared/drbdmeta.c:2726:22: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
2726 | cfg->update_lk_bdev = 1;
| ^ ~
../shared/drbdmeta.c:3189:4: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
3183 | printf(",\n {"
| ~~~~~~~~~~~~~~~~~
3184 | " \"bitmap_uuid\": \"0x"X64(016)"\", "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3185 | " \"bitmap_dagtag\": "U64", "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3186 | " \"flags\": \"0x"X32(08)"\", "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3187 | " \"bitmap_index\": "D32", "
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3188 | " \"reserved_u32\": [ \"0x"X32(08)"\", \"0x"X32(08)"\" ] }"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3189 | + (i==0),
| ^~~~~~~~~
3190 | md.peers[i].bitmap_uuid,
| ~~~~~~~~~~~~~~~~~~~~~~~~
3191 | md.peers[i].bitmap_dagtag,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
3192 | md.peers[i].flags,
| ~~~~~~~~~~~~~~~~~~
3193 | md.peers[i].bitmap_index,
| ~~~~~~~~~~~~~~~~~~~~~~~~~
3194 | be32_to_cpu(md_on_disk->peers[i].reserved_u32[0].be),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3195 | be32_to_cpu(md_on_disk->peers[i].reserved_u32[1].be)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3196 | );
| ~
TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot/usr/include/bits/stdio2.h:90:42: note: expanded from macro 'printf'
90 | __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
| ^~~~~~~~~~~
../shared/drbdmeta.c:3189:4: note: use array indexing to silence this warning
3183 | printf(",\n {"
|
| &
3184 | " \"bitmap_uuid\": \"0x"X64(016)"\", "
3185 | " \"bitmap_dagtag\": "U64", "
3186 | " \"flags\": \"0x"X32(08)"\", "
3187 | " \"bitmap_index\": "D32", "
3188 | " \"reserved_u32\": [ \"0x"X32(08)"\", \"0x"X32(08)"\" ] }"
3189 | + (i==0),
| ^
| [
TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot/usr/include/bits/stdio2.h:90:42: note: expanded from macro 'printf'
90 | __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
| ^
../shared/drbdmeta.c:3242:41: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
3242 | printf(",\n \"%u\": \"0x%02x\"" + skip_comma,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot/usr/include/bits/stdio2.h:90:42: note: expanded from macro 'printf'
90 | __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
| ^~~~~~~~~~~
../shared/drbdmeta.c:3242:41: note: use array indexing to silence this warning
3242 | printf(",\n \"%u\": \"0x%02x\"" + skip_comma,
| ^
| & [
TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot/usr/include/bits/stdio2.h:90:42: note: expanded from macro 'printf'
90 | __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
| ^
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -c -o drbdsetup_main.o drbdsetup_main.c
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
../../drbd-headers/linux/genl_magic_struct.h:201:10: warning: no case matching constant switch condition '0'
201 | switch (0) {
| ^
../../drbd-headers/linux/genl_magic_struct.h:219:10: warning: no case matching constant switch condition '0'
219 | switch (0) {
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:88:1: warning: no case matching constant switch condition '0'
88 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:98:1: warning: no case matching constant switch condition '0'
98 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __u32_field(6, DRBD_GENLA_F_MANDATORY, ctx_peer_node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | __str_field_def(5, 0, ctx_conn_name, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:107:1: warning: no case matching constant switch condition '0'
107 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 |
112 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | /*__u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 |
116 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | /*__u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing_policy, DRBD_FENCING_DEF)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 |
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, al_extents, DRBD_AL_EXTENTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 |
122 | __flg_field_def(16, DRBD_GENLA_F_MANDATORY, disk_barrier, DRBD_DISK_BARRIER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:135:1: warning: no case matching constant switch condition '0'
135 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, DRBD_CPU_MASK_SIZE)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | __flg_field_def(3, DRBD_GENLA_F_MANDATORY, auto_promote, DRBD_AUTO_PROMOTE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | __u32_field(4, DRBD_F_REQUIRED | DRBD_F_INVARIANT, node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, peer_ack_window, DRBD_PEER_ACK_WINDOW_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, twopc_timeout, DRBD_TWOPC_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, twopc_retry_timeout, DRBD_TWOPC_RETRY_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 | __u32_field_def(8, 0 /* OPTIONAL */, peer_ack_delay, DRBD_PEER_ACK_DELAY_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144 | __u32_field_def(9, 0 /* OPTIONAL */, auto_promote_timeout, DRBD_AUTO_PROMOTE_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __u32_field_def(10, 0 /* OPTIONAL */, nr_requests, DRBD_NR_REQUESTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | __s32_field_def(11, 0 /* OPTIONAL */, quorum, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __u32_field_def(12, 0 /* OPTIONAL */, on_no_quorum, DRBD_ON_NO_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __s32_field_def(13, 0 /* OPTIONAL */, quorum_min_redundancy, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __u32_field_def(14, 0 /* OPTIONAL */, on_susp_primary_outdated, DRBD_ON_SUSP_PRI_OUTD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:152:1: warning: no case matching constant switch condition '0'
152 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | __u32_field_def(15, DRBD_GENLA_F_MANDATORY, max_epoch_size, DRBD_MAX_EPOCH_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:197:1: warning: no case matching constant switch condition '0'
197 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:201:1: warning: no case matching constant switch condition '0'
201 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant switch condition '0'
209 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:214:1: warning: no case matching constant switch condition '0'
214 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216 | __flg_field(2, DRBD_GENLA_F_MANDATORY, force_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0'
219 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:223:1: warning: no case matching constant switch condition '0'
223 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant switch condition '0'
227 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless_detach, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:232:1: warning: no case matching constant switch condition '0'
232 | GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | __u32_field_def(1, DRBD_F_INVARIANT, max_bio_size, DRBD_MAX_BIO_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | __u32_field_def(3, 0 /* OPTIONAL */, block_size, DRBD_BLOCK_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:238:1: warning: no case matching constant switch condition '0'
238 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
240 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
241 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | __flg_field(5, 0, res_susp_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | __flg_field(6, 0, res_fail_io)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0'
247 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | __flg_field(2, 0, is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(3, 0, dev_has_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | __str_field(4, 0, backing_dev_path, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:254:1: warning: no case matching constant switch condition '0'
254 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:259:1: warning: no case matching constant switch condition '0'
259 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265 | __flg_field(6, 0, peer_is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0'
268 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:272:1: warning: no case matching constant switch condition '0'
272 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
282 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:289:1: warning: no case matching constant switch condition '0'
289 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(2, 0, ap_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u64_field(3, 0, rs_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:295:1: warning: no case matching constant switch condition '0'
295 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | /* you need the peer_repl_state from peer_device_info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | * to properly interpret these stats for "progress"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306 | * of syncer/verify */
| ~~~~~~~~~~~~~~~~~~~~~
307 | __u64_field(10,0, peer_dev_rs_total) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(11,0, peer_dev_ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(12,0, peer_dev_ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u64_field(13,0, peer_dev_ov_position) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:327:1: warning: no case matching constant switch condition '0'
327 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:331:1: warning: no case matching constant switch condition '0'
331 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:336:1: warning: no case matching constant switch condition '0'
336 | GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
337 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, sync_from_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
338 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:341:1: warning: no case matching constant switch condition '0'
341 | GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
342 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, forget_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:345:1: warning: no case matching constant switch condition '0'
345 | GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 | __u32_field_def(1, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, c_plan_ahead, DRBD_C_PLAN_AHEAD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | __u32_field_def(3, DRBD_GENLA_F_MANDATORY, c_delay_target, DRBD_C_DELAY_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | __u32_field_def(4, DRBD_GENLA_F_MANDATORY, c_fill_target, DRBD_C_FILL_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | __flg_field_def(7, 0 /* OPTIONAL */, bitmap, DRBD_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
353 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:355:1: warning: no case matching constant switch condition '0'
355 | GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
356 | __bin_field(1, DRBD_GENLA_F_MANDATORY, my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357 | __bin_field(2, DRBD_GENLA_F_MANDATORY, peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:360:1: warning: no case matching constant switch condition '0'
360 | GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
361 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, tentative, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, discard_my_data, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant switch condition '0'
365 | GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
366 | __flg_field(1, 0, path_established)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:369:1: warning: no case matching constant switch condition '0'
369 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 | __str_field(1, DRBD_GENLA_F_MANDATORY, new_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:373:1: warning: no case matching constant switch condition '0'
373 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 | __str_field(1, DRBD_GENLA_F_MANDATORY, res_new_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_events2.c:33:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:377:1: warning: no case matching constant switch condition '0'
377 | GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, p_reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
../../drbd-headers/linux/genl_magic_struct.h:201:10: warning: no case matching constant switch condition '0'
201 | switch (0) {
| ^
../../drbd-headers/linux/genl_magic_struct.h:219:10: warning: no case matching constant switch condition '0'
219 | switch (0) {
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:88:1: warning: no case matching constant switch condition '0'
88 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:98:1: warning: no case matching constant switch condition '0'
98 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __u32_field(6, DRBD_GENLA_F_MANDATORY, ctx_peer_node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_add../shared/drbdmeta.cr, :1249938:)24
: | warning: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]
104 | __4993s | t r _ fcifegl-d>_udpedfa(t5e,_ l0k,_ bcdtexv_ c=o n1n;_
n a| m ^ ~e
, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:107:1: warning: no case matching constant switch condition '0'
107 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 |
112 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | /*__u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 |
116 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | /*__u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing_policy, DRBD_FENCING_DEF)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 |
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, al_extents, DRBD_AL_EXTENTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 |
122 | __flg_field_def(16, DRBD_GENLA_F_MANDATORY, disk_barrier, DRBD_DISK_BARRIER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:135:1: warning: no case matching constant switch condition '0'
135 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, DRBD_CPU_MASK_SIZE)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | __flg_field_def(3, DRBD_GENLA_F_MANDATORY, auto_promote, DRBD_AUTO_PROMOTE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | __u32_field(4, DRBD_F_REQUIRED | DRBD_F_INVARIANT, node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, peer_ack_window, DRBD_PEER_ACK_WINDOW_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, twopc_timeout, DRBD_TWOPC_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, twopc_retry_timeout, DRBD_TWOPC_RETRY_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 | __u32_field_def(8, 0 /* OPTIONAL */, peer_ack_delay, DRBD_PEER_ACK_DELAY_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144 | __u32_field_def(9, 0 /* OPTIONAL */, auto_promote_timeout, DRBD_AUTO_PROMOTE_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __u32_field_def(10, 0 /* OPTIONAL */, nr_requests, DRBD_NR_REQUESTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | __s32_field_def(11, 0 /* OPTIONAL */, quorum, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __u32_field_def(12, 0 /* OPTIONAL */, on_no_quorum, DRBD_ON_NO_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __s32_field_def(13, 0 /* OPTIONAL */, quorum_min_redundancy, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __u32_field_def(14, 0 /* OPTIONAL */, on_susp_primary_outdated, DRBD_ON_SUSP_PRI_OUTD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:152:1: warning: no case matching constant switch condition '0'
152 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | __u32_field_def(15, DRBD_GENLA_F_MANDATORY, max_epoch_size, DRBD_MAX_EPOCH_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:197:1: warning: no case matching constant switch condition '0'
197 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:201:1: warning: no case matching constant switch condition '0'
201 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant switch condition '0'
209 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:214:1: warning: no case matching constant switch condition '0'
214 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216 | __flg_field(2, DRBD_GENLA_F_MANDATORY, force_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0'
219 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:223:1: warning: no case matching constant switch condition '0'
223 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant switch condition '0'
227 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless_detach, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:232:1: warning: no case matching constant switch condition '0'
232 | GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | __u32_field_def(1, DRBD_F_INVARIANT, max_bio_size, DRBD_MAX_BIO_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | __u32_field_def(3, 0 /* OPTIONAL */, block_size, DRBD_BLOCK_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:238:1: warning: no case matching constant switch condition '0'
238 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
240 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
241 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | __flg_field(5, 0, res_susp_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | __flg_field(6, 0, res_fail_io)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0'
247 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | __flg_field(2, 0, is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(3, 0, dev_has_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | __str_field(4, 0, backing_dev_path, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:254:1: warning: no case matching constant switch condition '0'
254 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:259:1: warning: no case matching constant switch condition '0'
259 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265 | __flg_field(6, 0, peer_is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0'
268 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:272:1: warning: no case matching constant switch condition '0'
272 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
282 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:289:1: warning: no case matching constant switch condition '0'
289 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(2, 0, ap_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u64_field(3, 0, rs_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:295:1: warning: no case matching constant switch condition '0'
295 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | /* you need the peer_repl_state from peer_device_info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | * to properly interpret these stats for "progress"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306 | * of syncer/verify */
| ~~~~~~~~~~~~~~~~~~~~~
307 | __u64_field(10,0, peer_dev_rs_total) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(11,0, peer_dev_ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(12,0, peer_dev_ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u64_field(13,0, peer_dev_ov_position) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:327:1: warning: no case matching constant switch condition '0'
327 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:331:1: warning: no case matching constant switch condition '0'
331 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:336:1: warning: no case matching constant switch condition '0'
336 | GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
337 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, sync_from_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
338 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:341:1: warning: no case matching constant switch condition '0'
341 | GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
342 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, forget_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:345:1: warning: no case matching constant switch condition '0'
345 | GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 | __u32_field_def(1, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, c_plan_ahead, DRBD_C_PLAN_AHEAD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | __u32_field_def(3, DRBD_GENLA_F_MANDATORY, c_delay_target, DRBD_C_DELAY_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | __u32_field_def(4, DRBD_GENLA_F_MANDATORY, c_fill_target, DRBD_C_FILL_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | __flg_field_def(7, 0 /* OPTIONAL */, bitmap, DRBD_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
353 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:355:1: warning: no case matching constant switch condition '0'
355 | GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
356 | __bin_field(1, DRBD_GENLA_F_MANDATORY, my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357 | __bin_field(2, DRBD_GENLA_F_MANDATORY, peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:360:1: warning: no case matching constant switch condition '0'
360 | GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
361 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, tentative, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, discard_my_data, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant switch condition '0'
365 | GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
366 | __flg_field(1, 0, path_established)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:369:1: warning: no case matching constant switch condition '0'
369 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 | __str_field(1, DRBD_GENLA_F_MANDATORY, new_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:373:1: warning: no case matching constant switch condition '0'
373 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 | __str_field(1, DRBD_GENLA_F_MANDATORY, res_new_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_linux.c:1:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:377:1: warning: no case matching constant switch condition '0'
377 | GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, p_reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
../../drbd-headers/linux/genl_magic_struct.h:201:10: warning: no case matching constant switch condition '0'
201 | switch (0) {
| ^
../../drbd-headers/linux/genl_magic_struct.h:219:10: warning: no case matching constant switch condition '0'
219 | switch (0) {
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:88:1: warning: no case matching constant switch condition '0'
88 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:98:1: warning: no case matching constant switch condition '0'
98 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __u32_field(6, DRBD_GENLA_F_MANDATORY, ctx_peer_node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | __str_field_def(5, 0, ctx_conn_name, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:107:1: warning: no case matching constant switch condition '0'
107 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 |
112 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | /*__u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 |
116 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | /*__u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing_policy, DRBD_FENCING_DEF)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 |
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, al_extents, DRBD_AL_EXTENTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 |
122 | __flg_field_def(16, DRBD_GENLA_F_MANDATORY, disk_barrier, DRBD_DISK_BARRIER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:135:1: warning: no case matching constant switch condition '0'
135 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, DRBD_CPU_MASK_SIZE)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | __flg_field_def(3, DRBD_GENLA_F_MANDATORY, auto_promote, DRBD_AUTO_PROMOTE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | __u32_field(4, DRBD_F_REQUIRED | DRBD_F_INVARIANT, node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, peer_ack_window, DRBD_PEER_ACK_WINDOW_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, twopc_timeout, DRBD_TWOPC_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, twopc_retry_timeout, DRBD_TWOPC_RETRY_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 | __u32_field_def(8, 0 /* OPTIONAL */, peer_ack_delay, DRBD_PEER_ACK_DELAY_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144 | __u32_field_def(9, 0 /* OPTIONAL */, auto_promote_timeout, DRBD_AUTO_PROMOTE_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __u32_field_def(10, 0 /* OPTIONAL */, nr_requests, DRBD_NR_REQUESTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | __s32_field_def(11, 0 /* OPTIONAL */, quorum, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __u32_field_def(12, 0 /* OPTIONAL */, on_no_quorum, DRBD_ON_NO_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __s32_field_def(13, 0 /* OPTIONAL */, quorum_min_redundancy, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __u32_field_def(14, 0 /* OPTIONAL */, on_susp_primary_outdated, DRBD_ON_SUSP_PRI_OUTD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:152:1: warning: no case matching constant switch condition '0'
152 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | __u32_field_def(15, DRBD_GENLA_F_MANDATORY, max_epoch_size, DRBD_MAX_EPOCH_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:197:1: warning: no case matching constant switch condition '0'
197 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:201:1: warning: no case matching constant switch condition '0'
201 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant switch condition '0'
209 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:214:1: warning: no case matching constant switch condition '0'
214 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216 | __flg_field(2, DRBD_GENLA_F_MANDATORY, force_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0'
219 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:223:1: warning: no case matching constant switch condition '0'
223 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant switch condition '0'
227 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless_detach, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:232:1: warning: no case matching constant switch condition '0'
232 | GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | __u32_field_def(1, DRBD_F_INVARIANT, max_bio_size, DRBD_MAX_BIO_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | __u32_field_def(3, 0 /* OPTIONAL */, block_size, DRBD_BLOCK_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:238:1: warning: no case matching constant switch condition '0'
238 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
240 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
241 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | __flg_field(5, 0, res_susp_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | __flg_field(6, 0, res_fail_io)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0'
247 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | __flg_field(2, 0, is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(3, 0, dev_has_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | __str_field(4, 0, backing_dev_path, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:254:1: warning: no case matching constant switch condition '0'
254 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:259:1: warning: no case matching constant switch condition '0'
259 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265 | __flg_field(6, 0, peer_is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0'
268 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:272:1: warning: no case matching constant switch condition '0'
272 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
282 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:289:1: warning: no case matching constant switch condition '0'
289 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(2, 0, ap_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u64_field(3, 0, rs_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:295:1: warning: no case matching constant switch condition '0'
295 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | /* you need the peer_repl_state from peer_device_info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | * to properly interpret these stats for "progress"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306 | * of syncer/verify */
| ~~~~~~~~~~~~~~~~~~~~~
307 | __u64_field(10,0, peer_dev_rs_total) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(11,0, peer_dev_ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(12,0, peer_dev_ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u64_field(13,0, peer_dev_ov_position) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:327:1: warning: no case matching constant switch condition '0'
327 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:331:1: warning: no case matching constant switch condition '0'
331 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:336:1: warning: no case matching constant switch condition '0'
336 | GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
337 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, sync_from_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
338 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:341:1: warning: no case matching constant switch condition '0'
341 | GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
342 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, forget_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:345:1: warning: no case matching constant switch condition '0'
345 | GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 | __u32_field_def(1, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, c_plan_ahead, DRBD_C_PLAN_AHEAD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | __u32_field_def(3, DRBD_GENLA_F_MANDATORY, c_delay_target, DRBD_C_DELAY_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | __u32_field_def(4, DRBD_GENLA_F_MANDATORY, c_fill_target, DRBD_C_FILL_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | __flg_field_def(7, 0 /* OPTIONAL */, bitmap, DRBD_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
353 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:355:1: warning: no case matching constant switch condition '0'
355 | GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
356 | __bin_field(1, DRBD_GENLA_F_MANDATORY, my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357 | __bin_field(2, DRBD_GENLA_F_MANDATORY, peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:360:1: warning: no case matching constant switch condition '0'
360 | GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
361 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, tentative, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, discard_my_data, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant switch condition '0'
365 | GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
366 | __flg_field(1, 0, path_established)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:369:1: warning: no case matching constant switch condition '0'
369 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 | __str_field(1, DRBD_GENLA_F_MANDATORY, new_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:373:1: warning: no case matching constant switch condition '0'
373 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 | __str_field(1, DRBD_GENLA_F_MANDATORY, res_new_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup.c:57:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:377:1: warning: no case matching constant switch condition '0'
377 | GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, p_reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
drbdsetup_events2.c1:528:6: warning: variable 'device_count' set but not used [-Wunused-but-set-variable]
528 | int device_count = 0;
| ^
warning generated.
drbdsetup_events2.cIn file included from drbdsetup_main.c:29:
In file included from :./drbdsetup.h:10018::
11In file included from :../../drbd-headers/linux/drbd_genl_api.h :warning: 40:
absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]../../drbd-headers/linux/genl_magic_struct.h
:201:10: warning: no case matching constant switch condition '0'
1001 | (int)((abs (201t | m -s>wtimt_cghm t(o0f)f ){
/ | 6 ^0
) % 60));
| ^
drbdsetup_events2.c:1001:11: note: use function 'labs' instead
1001 | (int)((abs(tm->tm_gmtoff) / 60) % 60));
| ^~~
| labs
TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot/usr/include/bits/stdio2.h:61:31: note: expanded from macro 'snprintf'
61 | __glibc_objsize (str), __VA_ARGS__)
| ^
../../drbd-headers/linux/genl_magic_struct.h:219:10: warning: no case matching constant switch condition '0'
219 | switch (0) {
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:88:1: warning: no case matching constant switch condition '0'
88 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:98:1: warning: no case matching constant switch condition '0'
98 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __u32_field(6, DRBD_GENLA_F_MANDATORY, ctx_peer_node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
103 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104 | __str_field_def(5, 0, ctx_conn_name, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:107:1: warning: no case matching constant switch condition '0'
107 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
109 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 |
112 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 | /*__u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 |
116 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 | /*__u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing_policy, DRBD_FENCING_DEF)*/
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118 |
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
120 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, al_extents, DRBD_AL_EXTENTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
121 |
122 | __flg_field_def(16, DRBD_GENLA_F_MANDATORY, disk_barrier, DRBD_DISK_BARRIER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:135:1: warning: no case matching constant switch condition '0'
135 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
136 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, DRBD_CPU_MASK_SIZE)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 | __flg_field_def(3, DRBD_GENLA_F_MANDATORY, auto_promote, DRBD_AUTO_PROMOTE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139 | __u32_field(4, DRBD_F_REQUIRED | DRBD_F_INVARIANT, node_id)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, peer_ack_window, DRBD_PEER_ACK_WINDOW_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, twopc_timeout, DRBD_TWOPC_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, twopc_retry_timeout, DRBD_TWOPC_RETRY_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143 | __u32_field_def(8, 0 /* OPTIONAL */, peer_ack_delay, DRBD_PEER_ACK_DELAY_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144 | __u32_field_def(9, 0 /* OPTIONAL */, auto_promote_timeout, DRBD_AUTO_PROMOTE_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __u32_field_def(10, 0 /* OPTIONAL */, nr_requests, DRBD_NR_REQUESTS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | __s32_field_def(11, 0 /* OPTIONAL */, quorum, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __u32_field_def(12, 0 /* OPTIONAL */, on_no_quorum, DRBD_ON_NO_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __s32_field_def(13, 0 /* OPTIONAL */, quorum_min_redundancy, DRBD_QUORUM_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __u32_field_def(14, 0 /* OPTIONAL */, on_susp_primary_outdated, DRBD_ON_SUSP_PRI_OUTD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:152:1: warning: no case matching constant switch condition '0'
152 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
161 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
162 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
163 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
165 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
166 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | __u32_field_def(15, DRBD_GENLA_F_MANDATORY, max_epoch_size, DRBD_MAX_EPOCH_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:197:1: warning: no case matching constant switch condition '0'
197 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:201:1: warning: no case matching constant switch condition '0'
201 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:209:1: warning: no case matching constant switch condition '0'
209 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:214:1: warning: no case matching constant switch condition '0'
214 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
215 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
216 | __flg_field(2, DRBD_GENLA_F_MANDATORY, force_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
217 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:219:1: warning: no case matching constant switch condition '0'
219 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
220 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:223:1: warning: no case matching constant switch condition '0'
223 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
225 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:227:1: warning: no case matching constant switch condition '0'
227 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless_detach, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
230 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:232:1: warning: no case matching constant switch condition '0'
232 | GENL_struct(DRBD_NLA_DEVICE_CONF, 14, device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | __u32_field_def(1, DRBD_F_INVARIANT, max_bio_size, DRBD_MAX_BIO_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | __flg_field_def(2, 0 /* OPTIONAL */, intentional_diskless, DRBD_DISK_DISKLESS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | __u32_field_def(3, 0 /* OPTIONAL */, block_size, DRBD_BLOCK_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:238:1: warning: no case matching constant switch condition '0'
238 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
240 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
241 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | __flg_field(5, 0, res_susp_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | __flg_field(6, 0, res_fail_io)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:247:1: warning: no case matching constant switch condition '0'
247 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | __flg_field(2, 0, is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(3, 0, dev_has_quorum)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | __str_field(4, 0, backing_dev_path, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:254:1: warning: no case matching constant switch condition '0'
254 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:259:1: warning: no case matching constant switch condition '0'
259 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
265 | __flg_field(6, 0, peer_is_intentional_diskless)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:268:1: warning: no case matching constant switch condition '0'
268 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
269 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:272:1: warning: no case matching constant switch condition '0'
272 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
273 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
274 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
281 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
282 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:289:1: warning: no case matching constant switch condition '0'
289 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(2, 0, ap_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u64_field(3, 0, rs_in_flight) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:295:1: warning: no case matching constant switch condition '0'
295 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | /* you need the peer_repl_state from peer_device_info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | * to properly interpret these stats for "progress"
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
306 | * of syncer/verify */
| ~~~~~~~~~~~~~~~~~~~~~
307 | __u64_field(10,0, peer_dev_rs_total) /* secto34rs * warning/
s| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ generated
.
308 | __u64_field(11,0, peer_dev_ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(12,0, peer_dev_ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u64_field(13,0, peer_dev_ov_position) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:327:1: warning: no case matching constant switch condition '0'
327 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
329 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:331:1: warning: no case matching constant switch condition '0'
331 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
332 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:336:1: warning: no case matching constant switch condition '0'
336 | GENL_struct(DRBD_NLA_INVALIDATE_PARMS, 25, invalidate_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
337 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, sync_from_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
338 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
339 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:341:1: warning: no case matching constant switch condition '0'
341 | GENL_struct(DRBD_NLA_FORGET_PEER_PARMS, 26, forget_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
342 | __s32_field_def(1, DRBD_GENLA_F_MANDATORY, forget_peer_node_id, DRBD_SYNC_FROM_NID_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:345:1: warning: no case matching constant switch condition '0'
345 | GENL_struct(DRBD_NLA_PEER_DEVICE_OPTS, 27, peer_device_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
346 | __u32_field_def(1, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
347 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, c_plan_ahead, DRBD_C_PLAN_AHEAD_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348 | __u32_field_def(3, DRBD_GENLA_F_MANDATORY, c_delay_target, DRBD_C_DELAY_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
349 | __u32_field_def(4, DRBD_GENLA_F_MANDATORY, c_fill_target, DRBD_C_FILL_TARGET_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
350 | __u32_field_def(5, DRBD_GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
351 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
352 | __flg_field_def(7, 0 /* OPTIONAL */, bitmap, DRBD_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
353 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:355:1: warning: no case matching constant switch condition '0'
355 | GENL_struct(DRBD_NLA_PATH_PARMS, 28, path_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
356 | __bin_field(1, DRBD_GENLA_F_MANDATORY, my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
357 | __bin_field(2, DRBD_GENLA_F_MANDATORY, peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
358 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:360:1: warning: no case matching constant switch condition '0'
360 | GENL_struct(DRBD_NLA_CONNECT_PARMS, 29, connect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
361 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, tentative, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
362 | __flg_field_def(2, DRBD_GENLA_F_MANDATORY, discard_my_data, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:365:1: warning: no case matching constant switch condition '0'
365 | GENL_struct(DRBD_NLA_PATH_INFO, 30, drbd_path_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
366 | __flg_field(1, 0, path_established)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
367 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:369:1: warning: no case matching constant switch condition '0'
369 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_PARMS, 31, rename_resource_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
370 | __str_field(1, DRBD_GENLA_F_MANDATORY, new_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:373:1: warning: no case matching constant switch condition '0'
373 | GENL_struct(DRBD_NLA_RENAME_RESOURCE_INFO, 32, rename_resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
374 | __str_field(1, DRBD_GENLA_F_MANDATORY, res_new_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
375 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
In file included from drbdsetup_main.c:29:
In file included from ./drbdsetup.h:8:
In file included from ../../drbd-headers/linux/drbd_genl_api.h:40:
In file included from ../../drbd-headers/linux/genl_magic_struct.h:245:
../../drbd-headers/linux/drbd_genl.h:377:1: warning: no case matching constant switch condition '0'
377 | GENL_struct(DRBD_NLA_INVAL_PEER_PARAMS, 33, invalidate_peer_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
378 | __flg_field_def(1, DRBD_GENLA_F_MANDATORY, p_reset_bitmap, DRBD_INVALIDATE_RESET_BITMAP_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
379 | )
| ~
../../drbd-headers/linux/genl_magic_struct.h:229:10: note: expanded from macro 'GENL_struct'
229 | switch (0) { \
| ^
34 warnings generated.
drbdsetup.c:2594:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int]
2594 | x1 = ",upper" + first;
| ~~~~~~~~~^~~~~~~
drbdsetup.c:2594:18: note: use array indexing to silence this warning
2594 | x1 = ",upper" + first;
| ^
| & [ ]
drbdsetup.c:2598:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int]
2598 | x2 = ",lower" + first;
| ~~~~~~~~~^~~~~~~
drbdsetup.c:2598:18: note: use array indexing to silence this warning
2598 | x2 = ",lower" + first;
| ^
| & [ ]
drbdsetup.c:4293:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
4293 | const char *indent = "\t\t" + !more_than_one_choice;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
drbdsetup.c:4293:32: note: use array indexing to silence this warning
4293 | const char *indent = "\t\t" + !more_than_one_choice;
| ^
| & [ ]
7 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -o drbdadm drbdadm_scanner.o drbdadm_parser.o drbdadm_postparse.o drbdadm_main.o drbdadm_adjust.o drbdadm_dump.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libnla.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libgenl.o drbdadm_linux.o drbdtool_common_linux.o path_linux.o shared_linux.o -lpthread -lrt -lkeyutils
36 warnings generated.
36 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -o drbdmeta drbdmeta.o drbdmeta_scanner.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o drbdmeta_linux.o drbdtool_common_linux.o path_linux.o shared_linux.o -lpthread -lrt -lkeyutils
37 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I../../drbd-headers -I.. -I. -I../shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -o drbdsetup libnla.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o drbdsetup_events2.o libgenl.o drbdtool_common_linux.o drbdsetup_linux.o path_linux.o shared_linux.o drbdsetup_main.o -lpthread -lrt -lkeyutils
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/v9'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/scripts'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/scripts'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/v83'
flex -s -odrbdadm_scanner.c drbdadm_scanner.fl
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_minor_table.o drbdadm_minor_table.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_main.o ../shared/shared_main.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c
drbdadm_adjust.c:286:15: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value]
286 | (!run_o || abs(v1-v2)/(float)minimum > 0.02))
| ^
drbdadm_adjust.c:286:15: note: remove the call to 'abs' since unsigned values cannot be negative
286 | (!run_o || abs(v1-v2)/(float)minimum > 0.02))
| ^~~
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o path_linux.o ../shared/path_linux.c
../shared/shared_main.c:66:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
66 | .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF,
| ^~~~~~~~~~~~~~~~~~~~
../shared/shared_main.h:41:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF'
41 | #define CMD_TIMEOUT_LONG_DEF 600
| ^~~
../shared/shared_main.c:65:24: note: previous initialization is here
65 | .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF,
| ^~~~~~~~~~~~~~~~~~~~~~
../shared/shared_main.h:40:32: note: expanded from macro 'CMD_TIMEOUT_MEDIUM_DEF'
40 | #define CMD_TIMEOUT_MEDIUM_DEF 121
| ^~~
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_linux.o ../shared/shared_linux.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdsetup.o drbdsetup.c
drbdadm_parser.c:1140:24: warning: cast to smaller integer type 'enum pr_flags' from 'void *' [-Wvoid-pointer-to-enum-cast]
1140 | enum pr_flags flags = (enum pr_flags)ctx;
| ^~~~~~~~~~~~~~~~~~
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbd_strings.o drbd_strings.c
1 warning generated.
1 warning generated.
In file included from drbdsetup.c:59:
./unaligned.h:11:2: warning: "Assuming that your architecture can not do unaligned memory accesses." [-W#warnings]
11 | #warning "Assuming that your architecture can not do unaligned memory accesses."
| ^
./unaligned.h:12:2: warning: "Enabling extra code for unaligned memory accesses." [-W#warnings]
12 | #warning "Enabling extra code for unaligned memory accesses."
| ^
drbdsetup.c:784:14: warning: implicit conversion from 'int' to 'short' changes value from 41020 to -24516 [-Wconstant-conversion]
784 | add_tag(tl,T_mind_af,&bit,sizeof(bit));
| ~~~~~~~ ^~~~~~~~~
drbdsetup.c:891:14: warning: implicit conversion from 'int' to 'short' changes value from 41022 to -24514 [-Wconstant-conversion]
891 | add_tag(tl, T_auto_sndbuf_size, &bit, sizeof(bit));
| ~~~~~~~ ^~~~~~~~~~~~~~~~~~
1 warning generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -o drbdadm-83 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o drbdadm_minor_table.o shared_tool.o shared_main.o shared_parser.o path_linux.o shared_linux.o
4 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -o drbdsetup-83 drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o shared_tool.o path_linux.o shared_linux.o
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/v83'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/v84'
flex -s -odrbdadm_scanner.c drbdadm_scanner.fl
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_scanner.o drbdadm_scanner.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_parser.o drbdadm_parser.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_main.o drbdadm_main.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_adjust.o drbdadm_adjust.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdtool_common.o drbdtool_common.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdadm_usage_cnt.o drbdadm_usage_cnt.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbd_buildtag.o ../shared/drbd_buildtag.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o registry.o registry.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o config_flags.o config_flags.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o libgenl.o ../shared/libgenl.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbd_nla.o drbd_nla.c
drbdadm_adjust.c:328:15: warning: taking the absolute value of unsigned type 'unsigned long long' has no effect [-Wabsolute-value]
328 | (!run_o || abs(v1-v2)/(float)minimum > 0.02))
| ^
drbdadm_adjust.c:328:15: note: remove the call to 'abs' since unsigned values cannot be negative
328 | (!run_o || abs(v1-v2)/(float)minimum > 0.02))
| ^~~
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_tool.o ../shared/shared_tool.c
drbdadm_parser.c:1495:24: warning: cast to smaller integer type 'enum pr_flags' from 'void *' [-Wvoid-pointer-to-enum-cast]
1495 | enum pr_flags flags = (enum pr_flags)ctx;
| ^~~~~~~~~~~~~~~~~~
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch condition '0'
187 | switch (0) {
| ^
./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch condition '0'
205 | switch (0) {
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0'
87 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0'
97 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition '0'
104 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 |
109 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | /* we could change the max_bio_bvecs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | * but it won't propagate through the stack */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 |
115 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing, DRBD_FENCING_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 |
118 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:139:1: warning: no case matching constant switch condition '0'
139 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:144:1: warning: no case matching constant switch condition '0'
144 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
151 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
152 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(14, DRBD_GENLA_F_MANDATORY, max_buffers, DRBD_MAX_BUFFERS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:184:1: warning: no case matching constant switch condition '0'
184 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185 | __flg_field(1, DRBD_GENLA_F_MANDATORY, assume_uptodate)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:188:1: warning: no case matching constant switch condition '0'
188 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
189 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
190 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:196:1: warning: no case matching constant switch condition '0'
196 | GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | /* the reason of the broadcast,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | * if this is an event triggered broadcast. */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | __u32_field(1, DRBD_GENLA_F_MANDATORY, sib_reason)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | __u32_field(2, DRBD_F_REQUIRED, current_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | __u64_field(3, DRBD_GENLA_F_MANDATORY, capacity)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(4, DRBD_GENLA_F_MANDATORY, ed_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 |
204 | /* These are for broadcast from after state change work.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | * prev_state and new_state are from the moment the state change took
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | * place, new_state is not neccessarily the same as current_state,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | * there may have been more state changes since. Which will be
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208 | * broadcasted soon, in their respective after state change work. */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
209 | __u32_field(5, DRBD_GENLA_F_MANDATORY, prev_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u32_field(6, DRBD_GENLA_F_MANDATORY, new_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 |
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:236:1: warning: no case matching constant switch condition '0'
236 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
238 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:241:1: warning: no case matching constant switch condition '0'
241 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:245:1: warning: no case matching constant switch condition '0'
245 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:249:1: warning: no case matching constant switch condition '0'
249 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:253:1: warning: no case matching constant switch condition '0'
253 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
254 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:257:1: warning: no case matching constant switch condition '0'
257 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
258 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
259 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | /* __flg_field(5, 0, res_weak) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:265:1: warning: no case matching constant switch condition '0'
265 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
267 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:269:1: warning: no case matching constant switch condition '0'
269 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
272 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:274:1: warning: no case matching constant switch condition '0'
274 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:282:1: warning: no case matching constant switch condition '0'
282 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from config_flags.c:19:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:286:1: warning: no case matching constant switch condition '0'
286 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
288 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
289 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
294 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
295 | _riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_main.o ../shared/shared_main.c
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch condition '0'
187 | switch (0) {
| ^
./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch condition '0'
205 | switch (0) {
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0'
87 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0'
97 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition '0'
104 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 |
109 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | /* we could change the max_bio_bvecs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | * but it won't propagate through the stack */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)
_| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fl g114_ | f
ield (9115, | 0_,_ ud3e2v__flioewled_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
r | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_
bloc k116e | d )__
u3 2_| fi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~el
d_def(7, DRBD _G296E | NL A___Ff_lMgA_NfDieAlTdO(R1Y0,, 0f, ednecv_ianlg_,s uDsRpBeDn_dFeEdNC)I N G/_*DE Fa)c
t i| v ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~i
ty 117l | o
g s118u | s p_e_nud3e2_df i*e/ld
_ d| ef ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(
8, DR BD297_ | G E_N_LAu_6F4__MfAiNDeAlTdO(R1Y,1 ,r e0s,y ndce_vr_aextpoes,e d_DdRaBtaD__uuRiEd)S
Y N| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~C
_ R298A | T_E__u6D4E_Ffi)e
ld (| 12 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,
0, de v119_c | u r_re_nst3_u2u_idf)i
e| l ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d_ 299d | e f_(_u932,_ fiDelRdB(D1_3G, E0N,L Ade_vF__diMsAk_NfDlAaTgOs)R
Y ,| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r e300s | y n_c__bianf_tfeierl,d (1D4R, B0D,_ MhiIsNtOoRry__NuUuiMdBs,E RH_ISDTEOFRY)_
UU I| DS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* sizeo./linux/genl_magic_struct.hf(:_215_u:6104:) )note:
expanded from macro 'GENL_struct'|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | )215
| | s~
witch (0./linux/genl_magic_struct.h): 215{: 10 : note: expanded from macro 'GENL_struct'
\
215| | ^ s
witch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:139:1: warning: no case matching constant switch condition '0'
139 | GENL_struct(DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:144:1: warning: no case matching constant switch condition '0'
144 | GENL_struct(DIn file included from RBconfig_flags.cD:_19N:
LIn file included from A./linux/drbd_genl_api.h_:N53:
EIn file included from T./linux/genl_magic_struct.h_:C231O:
N./linux/drbd_genl.h:F303,: 15:, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
151 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: no case matching constant switch condition '0'
152 | __u32 _f303i | eld_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEGF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_EPNILN_Gst_rTuIcMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __u32_field_def(11, DRBD_GENLA_tF_MA(NDDRABTDO_RNYL,A _sCnOdNbNuEfC_TsIiONz_eS,T ADTRIBSDT_ISCNSD,B U2F1_,S IZEc_DEoFn)n
e c| t ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~i
on_st a157ti | s ti_c_su,
3 2| _^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~f
ield _def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __u32_field_def(13, DRBD_G304E | N L__Af_lFg__MfiAeNlDd(A1T,O 0R,Y ,c onkno__cocnoguenstte,d)
D R| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~B
D_ K305 | O)_
C | O~U
NT_D./linux/genl_magic_struct.hE:F215:)10
: | note: expanded from macro 'GENL_struct' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159215 | | s_wi_tuch3 2(0_)f {i e l d _ d e\f
(| 1 ^4
, DRBD_GENLA_F_MANDATORY, max_buffers, DRBD_MAX_BUFFERS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | sIn file included from wconfig_flags.ci:t19c:
hIn file included from ./linux/drbd_genl_api.h(:053:
)In file included from ./linux/genl_magic_struct.h:{231 :
./linux/drbd_genl.h :307 : 1 : warning: \no case matching constant switch condition '0'
| ^
307 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(2, 0, peer_dev_senIn file included from t) drbd_nla.c/:* 3s:
eIn file included from cto./linux/drbd_genl_api.hrs :*53/
:
In file included from | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./linux/genl_magic_struct.h
:231 :
310./linux/drbd_genl.h | :_184_:u132:_ fwarning: ieno case matching constant switch condition '0'l
d(3, 0, peer_ de184v_ | pGeEndNiLng_)s t /r*u ncutm(beDrR oBfD _reNqLueAs_tSsE T*/_
R | O ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~L
E _311P | A R__MuS32,_ fi6e,ld (s4e, t0_,r opleee_r_pdaerv_munsa,ck
ed )| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
* number o185f | re_q_ufelstgs_ f*/i
e l| d ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(1 ,312 | D_R_BuD6_4_fGieElNdL(5,A 0,_ Fpe_eMr_AdNevD_AoTuOt_RoYf,_s yancs)s /u*m see_ctuoprts o*d/a
t e| ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313 | 186_ | _)u
6 4| _fi~el
d(6, 0./linux/genl_magic_struct.h, :p215e:e10r:_d evnote: _expanded from macro 'GENL_struct'r
esync_ f215ai | l esdw)i t/c*h s e(c0)t o{r s * /
\|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ^
314 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
316 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (In file included from 0) drbd_nla.c{: 3 :
\In file included from
./linux/drbd_genl_api.h| ^:
53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:188:1: warning: no case matching constant switch condition '0'
188 | GENL_struct(DRBD_NIn file included from LAconfig_flags.c_:19R:
EIn file included from S./linux/drbd_genl_api.hI:53Z:
EIn file included from ./linux/genl_magic_struct.h_:P231A:
./linux/drbd_genl.hR:M318S:1,: 7warning: ,no case matching constant switch condition '0' r
esize_p a318r | mGs,E
N L| _^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s
tr u189c | t (_D_uR6B4D__fiNeLlAd_(N1,O TDIRFBID_CGAETNILOA_NF__HMEAANDDEART,O RY2,3 ,r edsribzde__nsioztei)f
i ca| tio ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~n
_hea d190er | ,
_ | _^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~f
lg _319f | i el_d_(2u,3 2D_RfBDi_eGlEdN(LA1_,F_ MDARNBDDA_TOGREYN,L Ar_eFsi_zeM_AfNorDcAeT)O
R Y| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,
nh191_ | t _y_pfel)
g | _ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~f
i e320l | )d
( 3| ,~
DRBD./linux/genl_magic_struct.h:215_:10G: note: Eexpanded from macro 'GENL_struct'N
LA _215 | F _sMwAitNcDhAT O(R0Y,) n{o _ r e sy n c )\
| | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^
192 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_ALIn file included from _Sconfig_flags.cT:RI19PE:
In file included from ./linux/drbd_genl_api.hS:53:
_In file included from ./linux/genl_magic_struct.hD:231E:
F./linux/drbd_genl.h):
322: 1| : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: no case matching constant switch condition '0'
193 | 322 | _G_ENuL3_2st_rfuicet(lDRdB_Dd_NLeA_fH(E5L,PE R0, /2*4 O,P TdIrObdN_hAelLpe r*_/in,f oa,l
_ s| t^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~r
ip e_323s | iz e_,_ sDtRrB_Df_ieAlLd_(S1T,R IDPRE_BSIZED_D_EGFEN)L
A _| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~F
_M A194N | D)A
| T~O
RY,./linux/genl_magic_struct.h :215h:e10:l note: pexpanded from macro 'GENL_struct'
er_ n215a | smweit,ch (30)2 ){
\
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:196:1: warning: no case matching constant switch condition '0'
196 | GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | /* the reason of the broadcast,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | * if this is an event triggered broadcast. */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | __u32_field(1, DRBD_GENLA_F_MANDATORY, sib_reason)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | __u32_field(2, DRBD_F_REQUIRED, current_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | __u64_field(3, DRBD_GENLA_F_MANDATORY, capacity)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(4, DRBD_GENLA_F_MANDATORY, ed_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 |
204 | /* These are for broadcast from after state change work.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | * prev_state and new_state are from the moment the state change took
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | * place, new_state is not neccessarily the same as current_state,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | * there may have been more state changes since. Which will be
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208 | * broadcasted soon, in their respective after state change work. */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
209 | __u32_field(5, DRBD_GENLA_F_MANDATORY, prev_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u32_field(6, DRBD_GENLA_F_MANDATORY, new_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 |
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:236:1: warning: no case matching constant switch condition '0'
236 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
238 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:241:1: warning: no case matching constant switch condition '0'
241 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:245:1: warning: no case matching constant switch condition '0'
245 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:249:1: warning: no case matching constant switch condition '0'
249 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:253:1: warning: no case matching constant switch condition '0'
253 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
254 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:257:1: warning: no case matching constant switch condition '0'
257 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
258 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
259 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | /* __flg_field(5, 0, res_weak) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:265:1: warning: no case matching constant switch condition '0'
265 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
267 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:269:1: warning: no case matching constant switch condition '0'
269 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
272 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:274:1: warning: no case matching constant switch condition '0'
274 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:282:1: warning: no case matching constant switch condition '0'
282 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:286:1: warning: no case matching constant switch condition '0'
286 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
288 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
289 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
294 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
295 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:303:1: warning: no case matching constant switch condition '0'
303 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:307:1: warning: no case matching constant switch condition '0'
307 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
311 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
312 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
314 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
316 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:318:1: warning: no case matching constant switch condition '0'
318 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
320 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbd_nla.c:3:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:322:1: warning: no case matching constant switch condition '0'
322 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
323 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
324 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
325 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
324 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
325 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
25 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_parser.o ../shared/shared_parser.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o libnla.o ../shared/libnla.c
1 warning generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o path_linux.o ../shared/path_linux.c
../shared/shared_main.c:66:24: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
66 | .cmd_timeout_medium = CMD_TIMEOUT_LONG_DEF,
| ^~~~~~~~~~~~~~~~~~~~
../shared/shared_main.h:41:30: note: expanded from macro 'CMD_TIMEOUT_LONG_DEF'
41 | #define CMD_TIMEOUT_LONG_DEF 600
| ^~~
../shared/shared_main.c:65:24: note: previous initialization is here
65 | .cmd_timeout_medium = CMD_TIMEOUT_MEDIUM_DEF,
| ^~~~~~~~~~~~~~~~~~~~~~
../shared/shared_main.h:40:32: note: expanded from macro 'CMD_TIMEOUT_MEDIUM_DEF'
40 | #define CMD_TIMEOUT_MEDIUM_DEF 121
| ^~~
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o shared_linux.o ../shared/shared_linux.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdsetup.o drbdsetup.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbd_strings.o drbd_strings.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o wrap_printf.o ../shared/wrap_printf.c
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -c -o drbdsetup_colors.o drbdsetup_colors.c
1 warning generated.
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
./linux/genl_magic_struct.h:187:10: warning: no case matching constant switch condition '0'
187 | switch (0) {
| ^
./linux/genl_magic_struct.h:205:10: warning: no case matching constant switch condition '0'
205 | switch (0) {
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:87:1: warning: no case matching constant switch condition '0'
87 | GENL_struct(DRBD_NLA_CFG_REPLY, 1, drbd_cfg_reply,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88 | /* "arbitrary" size strings, nla_policy.len = 0 */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 | __str_field(1, DRBD_GENLA_F_MANDATORY, info_text, 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:97:1: warning: no case matching constant switch condition '0'
97 | GENL_struct(DRBD_NLA_CFG_CONTEXT, 2, drbd_cfg_context,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
98 | __u32_field(1, DRBD_GENLA_F_MANDATORY, ctx_volume)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99 | __str_field(2, DRBD_GENLA_F_MANDATORY, ctx_resource_name, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
100 | __bin_field(3, DRBD_GENLA_F_MANDATORY, ctx_my_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101 | __bin_field(4, DRBD_GENLA_F_MANDATORY, ctx_peer_addr, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
102 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:104:1: warning: no case matching constant switch condition '0'
104 | GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
105 | __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106 | __str_field(2, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev, 128)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
107 | __s32_field(3, DRBD_F_REQUIRED | DRBD_F_INVARIANT, meta_dev_idx)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108 |
109 | /* use the resize command to try and change the disk_size */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
110 | __u64_field(4, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, disk_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111 | /* we could change the max_bio_bvecs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | * but it won't propagate through the stack */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
113 | __u32_field(5, DRBD_GENLA_F_MANDATORY | DRBD_F_INVARIANT, max_bio_bvecs)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114 |
115 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, on_io_error, DRBD_ON_IO_ERROR_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, fencing, DRBD_FENCING_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117 |
118 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, resync_rate, DRBD_RESYNC_RATE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
119 | __s32_field_def(9, DRBD_GENLA_F_MANDATORY, resync_after, DRBD_MINOR_NUMBER_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:139:1: warning: no case matching constant switch condition '0'
139 | GEN25L_st warningrusct generated(.
DRBD_NLA_RESOURCE_OPTS, 4, res_opts,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
140 | __str_field_def(1, DRBD_GENLA_F_MANDATORY, cpu_mask, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | __u32_field_def(2, DRBD_GENLA_F_MANDATORY, on_no_data, DRBD_ON_NO_DATA_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:144:1: warning: no case matching constant switch condition '0'
144 | GENL_struct(DRBD_NLA_NET_CONF, 5, net_conf,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
145 | __str_field_def(1, DRBD_GENLA_F_MANDATORY | DRBD_F_SENSITIVE,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146 | shared_secret, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
147 | __str_field_def(2, DRBD_GENLA_F_MANDATORY, cram_hmac_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148 | __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149 | __str_field_def(4, DRBD_GENLA_F_MANDATORY, verify_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | __str_field_def(5, DRBD_GENLA_F_MANDATORY, csums_alg, SHARED_SECRET_MAX)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
151 | __u32_field_def(6, DRBD_GENLA_F_MANDATORY, wire_protocol, DRBD_PROTOCOL_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
152 | __u32_field_def(7, DRBD_GENLA_F_MANDATORY, connect_int, DRBD_CONNECT_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
153 | __u32_field_def(8, DRBD_GENLA_F_MANDATORY, timeout, DRBD_TIMEOUT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154 | __u32_field_def(9, DRBD_GENLA_F_MANDATORY, ping_int, DRBD_PING_INT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
155 | __u32_field_def(10, DRBD_GENLA_F_MANDATORY, ping_timeo, DRBD_PING_TIMEO_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
156 | __u32_field_def(11, DRBD_GENLA_F_MANDATORY, sndbuf_size, DRBD_SNDBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
157 | __u32_field_def(12, DRBD_GENLA_F_MANDATORY, rcvbuf_size, DRBD_RCVBUF_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
158 | __u32_field_def(13, DRBD_GENLA_F_MANDATORY, ko_count, DRBD_KO_COUNT_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
159 | __u32_field_def(14, DRBD_GENLA_F_MANDATORY, max_buffers, DRBD_MAX_BUFFERS_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:184:1: warning: no case matching constant switch condition '0'
184 | GENL_struct(DRBD_NLA_SET_ROLE_PARMS, 6, set_role_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185 | __flg_field(1, DRBD_GENLA_F_MANDATORY, assume_uptodate)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:188:1: warning: no case matching constant switch condition '0'
188 | GENL_struct(DRBD_NLA_RESIZE_PARMS, 7, resize_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
189 | __u64_field(1, DRBD_GENLA_F_MANDATORY, resize_size)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
190 | __flg_field(2, DRBD_GENLA_F_MANDATORY, resize_force)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
191 | __flg_field(3, DRBD_GENLA_F_MANDATORY, no_resync)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192 | __u32_field_def(4, 0 /* OPTIONAL */, al_stripes, DRBD_AL_STRIPES_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
193 | __u32_field_def(5, 0 /* OPTIONAL */, al_stripe_size, DRBD_AL_STRIPE_SIZE_DEF)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:196:1: warning: no case matching constant switch condition '0'
196 | GENL_struct(DRBD_NLA_STATE_INFO, 8, state_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | /* the reason of the broadcast,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | * if this is an event triggered broadcast. */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | __u32_field(1, DRBD_GENLA_F_MANDATORY, sib_reason)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
200 | __u32_field(2, DRBD_F_REQUIRED, current_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
201 | __u64_field(3, DRBD_GENLA_F_MANDATORY, capacity)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | __u64_field(4, DRBD_GENLA_F_MANDATORY, ed_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 |
204 | /* These are for broadcast from after state change work.
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | * prev_state and new_state are from the moment the state change took
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
206 | * place, new_state is not neccessarily the same as current_state,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
207 | * there may have been more state changes since. Which will be
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
208 | * broadcasted soon, in their respective after state change work. */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
209 | __u32_field(5, DRBD_GENLA_F_MANDATORY, prev_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210 | __u32_field(6, DRBD_GENLA_F_MANDATORY, new_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
211 |
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:236:1: warning: no case matching constant switch condition '0'
236 | GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
237 | __u64_field(1, DRBD_GENLA_F_MANDATORY, ov_start_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
238 | __u64_field(2, DRBD_GENLA_F_MANDATORY, ov_stop_sector)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
239 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:241:1: warning: no case matching constant switch condition '0'
241 | GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
242 | __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
243 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:245:1: warning: no case matching constant switch condition '0'
245 | GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | __u32_field(1, DRBD_F_REQUIRED, timeout_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:249:1: warning: no case matching constant switch condition '0'
249 | GENL_struct(DRBD_NLA_DISCONNECT_PARMS, 12, disconnect_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_disconnect)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
251 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:253:1: warning: no case matching constant switch condition '0'
253 | GENL_struct(DRBD_NLA_DETACH_PARMS, 13, detach_parms,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
254 | __flg_field(1, DRBD_GENLA_F_MANDATORY, force_detach)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:257:1: warning: no case matching constant switch condition '0'
257 | GENL_struct(DRBD_NLA_RESOURCE_INFO, 15, resource_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
258 | __u32_field(1, 0, res_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
259 | __flg_field(2, 0, res_susp)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
260 | __flg_field(3, 0, res_susp_nod)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
261 | __flg_field(4, 0, res_susp_fen)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 | /* __flg_field(5, 0, res_weak) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:265:1: warning: no case matching constant switch condition '0'
265 | GENL_struct(DRBD_NLA_DEVICE_INFO, 16, device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
266 | __u32_field(1, 0, dev_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
267 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:269:1: warning: no case matching constant switch condition '0'
269 | GENL_struct(DRBD_NLA_CONNECTION_INFO, 17, connection_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270 | __u32_field(1, 0, conn_connection_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271 | __u32_field(2, 0, conn_role)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
272 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:274:1: warning: no case matching constant switch condition '0'
274 | GENL_struct(DRBD_NLA_PEER_DEVICE_INFO, 18, peer_device_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
275 | __u32_field(1, 0, peer_repl_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
276 | __u32_field(2, 0, peer_disk_state)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
277 | __u32_field(3, 0, peer_resync_susp_user)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
278 | __u32_field(4, 0, peer_resync_susp_peer)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279 | __u32_field(5, 0, peer_resync_susp_dependency)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
280 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:282:1: warning: no case matching constant switch condition '0'
282 | GENL_struct(DRBD_NLA_RESOURCE_STATISTICS, 19, resource_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283 | __u32_field(1, 0, res_stat_write_ordering)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
284 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:286:1: warning: no case matching constant switch condition '0'
286 | GENL_struct(DRBD_NLA_DEVICE_STATISTICS, 20, device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
287 | __u64_field(1, 0, dev_size) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
288 | __u64_field(2, 0, dev_read) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
289 | __u64_field(3, 0, dev_write) /* (sectors) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290 | __u64_field(4, 0, dev_al_writes) /* activity log writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
291 | __u64_field(5, 0, dev_bm_writes) /* bitmap writes (count) */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
292 | __u32_field(6, 0, dev_upper_pending) /* application requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293 | __u32_field(7, 0, dev_lower_pending) /* backing device requests in progress */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
294 | __flg_field(8, 0, dev_upper_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
295 | __flg_field(9, 0, dev_lower_blocked)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
296 | __flg_field(10, 0, dev_al_suspended) /* activity log suspended */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
297 | __u64_field(11, 0, dev_exposed_data_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
298 | __u64_field(12, 0, dev_current_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299 | __u32_field(13, 0, dev_disk_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
300 | __bin_field(14, 0, history_uuids, HISTORY_UUIDS * sizeof(__u64))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:303:1: warning: no case matching constant switch condition '0'
303 | GENL_struct(DRBD_NLA_CONNECTION_STATISTICS, 21, connection_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | __flg_field(1, 0, conn_congested)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
305 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:307:1: warning: no case matching constant switch condition '0'
307 | GENL_struct(DRBD_NLA_PEER_DEVICE_STATISTICS, 22, peer_device_statistics,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
308 | __u64_field(1, 0, peer_dev_received) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
309 | __u64_field(2, 0, peer_dev_sent) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
310 | __u32_field(3, 0, peer_dev_pending) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
311 | __u32_field(4, 0, peer_dev_unacked) /* number of requests */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
312 | __u64_field(5, 0, peer_dev_out_of_sync) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313 | __u64_field(6, 0, peer_dev_resync_failed) /* sectors */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
314 | __u64_field(7, 0, peer_dev_bitmap_uuid)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
315 | __u32_field(9, 0, peer_dev_flags)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
316 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:318:1: warning: no case matching constant switch condition '0'
318 | GENL_struct(DRBD_NLA_NOTIFICATION_HEADER, 23, drbd_notification_header,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319 | __u32_field(1, DRBD_GENLA_F_MANDATORY, nh_type)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
320 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
In file included from drbdsetup.c:73:
In file included from ./linux/drbd_genl_api.h:53:
In file included from ./linux/genl_magic_struct.h:231:
./linux/drbd_genl.h:322:1: warning: no case matching constant switch condition '0'
322 | GENL_struct(DRBD_NLA_HELPER, 24, drbd_helper_info,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
323 | __str_field(1, DRBD_GENLA_F_MANDATORY, helper_name, 32)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
324 | __u32_field(2, DRBD_GENLA_F_MANDATORY, helper_status)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
325 | )
| ~
./linux/genl_magic_struct.h:215:10: note: expanded from macro 'GENL_struct'
215 | switch (0) { \
| ^
drbdsetup.c:2321:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
2321 | strcat(buffer, ",user" + (*buffer == 0));
| ~~~~~~~~^~~~~~~~~~~~~~~~
drbdsetup.c:2321:26: note: use array indexing to silence this warning
2321 | strcat(buffer, ",user" + (*buffer == 0));
| ^
| & [ ]
drbdsetup.c:2323:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
2323 | strcat(buffer, ",no-data" + (*buffer == 0));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
drbdsetup.c:2323:29: note: use array indexing to silence this warning
2323 | strcat(buffer, ",no-data" + (*buffer == 0));
| ^
| & [ ]
drbdsetup.c:2325:29: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
2325 | strcat(buffer, ",fencing" + (*buffer == 0));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
drbdsetup.c:2325:29: note: use array indexing to silence this warning
2325 | strcat(buffer, ",fencing" + (*buffer == 0));
| ^
| & [ ]
drbdsetup.c:2404:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int]
2404 | x1 = ",upper" + first;
| ~~~~~~~~~^~~~~~~
drbdsetup.c:2404:18: note: use array indexing to silence this warning
2404 | x1 = ",upper" + first;
| ^
| & [ ]
drbdsetup.c:2408:18: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int]
2408 | x2 = ",lower" + first;
| ~~~~~~~~~^~~~~~~
drbdsetup.c:2408:18: note: use array indexing to silence this warning
2408 | x2 = ",lower" + first;
| ^
| & [ ]
drbdsetup.c:2513:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
2513 | strcat(buffer, ",user" + (*buffer == 0));
| ~~~~~~~~^~~~~~~~~~~~~~~~
drbdsetup.c:2513:26: note: use array indexing to silence this warning
2513 | strcat(buffer, ",user" + (*buffer == 0));
| ^
| & [ ]
drbdsetup.c:2515:26: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
2515 | strcat(buffer, ",peer" + (*buffer == 0));
| ~~~~~~~~^~~~~~~~~~~~~~~~
drbdsetup.c:2515:26: note: use array indexing to silence this warning
2515 | strcat(buffer, ",peer" + (*buffer == 0));
| ^
| & [ ]
drbdsetup.c:2517:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
2517 | strcat(buffer, ",dependency" + (*buffer == 0));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
drbdsetup.c:2517:32: note: use array indexing to silence this warning
2517 | strcat(buffer, ",dependency" + (*buffer == 0));
| ^
| & [ ]
drbdsetup.c:2940:17: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
2940 | (int)((abs(tm->tm_gmtoff) / 60) % 60));
| ^
drbdsetup.c:2940:17: note: use function 'labs' instead
2940 | (int)((abs(tm->tm_gmtoff) / 60) % 60));
| ^~~
| labs
TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot/usr/include/bits/stdio2.h:90:42: note: expanded from macro 'printf'
90 | __printf_chk (__USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
| ^
drbdsetup.c:3341:32: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
3341 | const char *indent = "\t\t" + !more_than_one_choice;
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
drbdsetup.c:3341:32: note: use array indexing to silence this warning
3341 | const char *indent = "\t\t" + !more_than_one_choice;
| ^
| & [ ]
drbdsetup.c:3412:39: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int]
3412 | wrap_printf(4, "%s", "|resource" + first);
| ~~~~~~~~~~~~^~~~~~~
drbdsetup.c:3412:39: note: use array indexing to silence this warning
3412 | wrap_printf(4, "%s", "|resource" + first);
| ^
| & [ ]
drbdsetup.c:3416:36: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int]
3416 | wrap_printf(4, "%s", "|minor" + first);
| ~~~~~~~~~^~~~~~~
drbdsetup.c:3416:36: note: use array indexing to silence this warning
3416 | wrap_printf(4, "%s", "|minor" + first);
| ^
| & [ ]
drbdsetup.c:3420:34: warning: adding 'bool' to a string does not append to the string [-Wstring-plus-int]
3420 | wrap_printf(4, "%s", "|all" + first);
| ~~~~~~~^~~~~~~
drbdsetup.c:3420:34: note: use array indexing to silence this warning
3420 | wrap_printf(4, "%s", "|all" + first);
| ^
| & [ ]
1 warning generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -o drbdadm-84 drbdadm_scanner.o drbdadm_parser.o drbdadm_main.o drbdadm_adjust.o drbdtool_common.o drbdadm_usage_cnt.o drbd_buildtag.o registry.o config_flags.o libgenl.o drbd_nla.o shared_tool.o shared_main.o shared_parser.o libnla.o path_linux.o shared_linux.o
38 warnings generated.
riscv64-yoe-linux-clang -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wall -I. -I../shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git=/usr/src/debug/drbd-utils/9.27.0 -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -o drbdsetup-84 libgenl.o registry.o drbdsetup.o drbdtool_common.o drbd_buildtag.o drbd_strings.o config_flags.o drbd_nla.o wrap_printf.o drbdsetup_colors.o shared_tool.o libnla.o path_linux.o shared_linux.o
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/v84'
make[1]: Entering directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/drbdmon'
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o drbdmon_main.o drbdmon_main.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o DrbdMon.o DrbdMon.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o DrbdMonConsts.o DrbdMonConsts.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o MessageLog.o MessageLog.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o IntervalTimer.o IntervalTimer.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o SubProcessNotification.o SubProcessNotification.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o MessageLogNotification.o MessageLogNotification.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o objects/DrbdResource.o objects/DrbdResource.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o objects/DrbdRole.o objects/DrbdRole.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o objects/DrbdVolume.o objects/DrbdVolume.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o objects/DrbdConnection.o objects/DrbdConnection.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o objects/VolumesContainer.o objects/VolumesContainer.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o objects/StateFlags.o objects/StateFlags.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o subprocess/EventsSourceSpawner.o subprocess/EventsSourceSpawner.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o objects/ResourceDirectory.o objects/ResourceDirectory.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o Args.o Args.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o ConfigOption.o ConfigOption.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o terminal/CharacterTable.o terminal/CharacterTable.cpp
riscv64-yoe-linux-clang++ -target riscv64-yoe-linux -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/recipe-sysroot -std=c++11 -I. -I../shared -Icppdsaext/src -Wall -Werror -pedantic-errors -fPIC -O2 -Wsign-compare -Wpointer-arith -Wswitch-default -Wswitch-enum -Wtype-limits -Wmissing-declarations -Wshadow -Wno-defaulted-function-deleted -Wno-unused-private-field -c -o terminal/ColorTable.o terminal/ColorTable.cpp
In file included from DrbdMon.cpp:26:
In file included from ./terminal/DisplayController.h:13:
./terminal/DisplayCommonImpl.h:34:18: error: 'display_selection_mode_label' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
34 | virtual void display_selection_mode_label(const bool is_enabled) const;
| ^
./terminal/DisplayCommon.h:46:18: note: overridden virtual function is here
46 | virtual void display_selection_mode_label(const bool is_enabled) const = 0;
| ^
In file included from DrbdMon.cpp:26:
In file included from ./terminal/DisplayController.h:13:
./terminal/DisplayCommonImpl.h:36:31: error: 'get_problem_mode' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
36 | virtual problem_mode_type get_problem_mode() const noexcept;
| ^
./terminal/DisplayCommon.h:48:31: note: overridden virtual function is here
48 | virtual problem_mode_type get_problem_mode() const noexcept = 0;
| ^
In file included from DrbdMon.cpp:26:
In file included from ./terminal/DisplayController.h:13:
./terminal/DisplayCommonImpl.h:37:18: error: 'toggle_problem_mode' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
37 | virtual void toggle_problem_mode() noexcept;
| ^
./terminal/DisplayCommon.h:49:18: note: overridden virtual function is here
49 | virtual void toggle_problem_mode() noexcept = 0;
| ^
In file included from DrbdMon.cpp:26:
In file included from ./terminal/DisplayController.h:13:
./terminal/DisplayCommonImpl.h:38:47: error: 'command_line_key_pressed' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
38 | virtual DisplayCommon::command_state_type command_line_key_pressed(const uint32_t key) const;
| ^
./terminal/DisplayCommon.h:50:32: note: overridden virtual function is here
50 | virtual command_state_type command_line_key_pressed(const uint32_t key) const = 0;
| ^
In file included from DrbdMon.cpp:26:
In file included from ./terminal/DisplayController.h:13:
./terminal/DisplayCommonImpl.h:39:18: error: 'activate_command_line' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
39 | virtual void activate_command_line() const;
| ^
./terminal/DisplayCommon.h:51:18: note: overridden virtual function is here
51 | virtual void activate_command_line() const = 0;
| ^
drbdmon_main.cpp:48:25: error: unused variable 'EXIT_ERR_CONFIG_FILE' [-Werror,-Wunused-const-variable]
48 | static const int EXIT_ERR_CONFIG_FILE = 2;
| ^~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [<builtin>: drbdmon_main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
5 errors generated.
make[1]: *** [<builtin>: DrbdMon.o] Error 1
make[1]: Leaving directory 'TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/git/user/drbdmon'
make: *** [Makefile:90: tools] Error 2
ERROR: oe_runmake failed
WARNING: TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/temp/run.do_compile.1702717:183 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/temp/run.do_compile.1702717, line 183
#2: die, TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/temp/run.do_compile.1702717, line 167
#3: oe_runmake, TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/temp/run.do_compile.1702717, line 162
#4: autotools_do_compile, TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/temp/run.do_compile.1702717, line 157
#5: do_compile, TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/temp/run.do_compile.1702717, line 152
#6: main, TOPDIR/build/tmp/work/riscv64-yoe-linux/drbd-utils/9.27.0/temp/run.do_compile.1702717, line 196