Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dlm.spec'], chrootPath='/var/lib/mock/f33-build-127258-40197/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dlm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/dlm-4.0.9-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dlm.spec'], chrootPath='/var/lib/mock/f33-build-127258-40197/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dlm.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yl8TXZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dlm-4.0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/dlm-4.0.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dlm-4.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DtMXWY + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.9 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + make set -e; for d in libdlm dlm_controld dlm_tool fence; do make -C $d all; done make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' cc libdlm.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -Wl,-z,now -D_REENTRANT -c -o libdlm.o libdlm.c: In function 'do_dlm_dispatch_v5': libdlm.c:475:38: warning: cast increases required alignment of target type [-Wcast-align] 475 | struct dlm_lock_result_v5 *result = (struct dlm_lock_result_v5 *)resultbuf; | ^ libdlm.c:493:22: warning: cast increases required alignment of target type [-Wcast-align] 493 | newstat = read(fd, (struct dlm_lock_result_v5 *)fullresult, | ^ libdlm.c:501:13: warning: cast increases required alignment of target type [-Wcast-align] 501 | result = (struct dlm_lock_result_v5 *)fullresult; | ^ libdlm.c: In function 'do_dlm_dispatch_v6': libdlm.c:535:35: warning: cast increases required alignment of target type [-Wcast-align] 535 | struct dlm_lock_result *result = (struct dlm_lock_result *)resultbuf; | ^ libdlm.c: In function 'ls_lock_v5': libdlm.c:721:37: warning: cast increases required alignment of target type [-Wcast-align] 721 | struct dlm_write_request_v5 *req = (struct dlm_write_request_v5 *)parambuf; | ^ libdlm.c: In function 'ls_lock_v6': libdlm.c:789:34: warning: cast increases required alignment of target type [-Wcast-align] 789 | struct dlm_write_request *req = (struct dlm_write_request *)parambuf; | ^ libdlm.c: In function 'create_lockspace_v5': libdlm.c:1242:37: warning: cast increases required alignment of target type [-Wcast-align] 1242 | struct dlm_write_request_v5 *req = (struct dlm_write_request_v5 *)reqbuf; | ^ libdlm.c: In function 'create_lockspace_v6': libdlm.c:1266:34: warning: cast increases required alignment of target type [-Wcast-align] 1266 | struct dlm_write_request *req = (struct dlm_write_request *)reqbuf; | ^ cc libdlm.o -lpthread -shared -o libdlm.so.3.0 -Wl,-soname=libdlm.so.3 ln -sf libdlm.so.3.0 libdlm.so ln -sf libdlm.so.3.0 libdlm.so.3 cc libdlm.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -Wl,-z,now -c -o libdlm_lt.o libdlm.c: In function 'do_dlm_dispatch_v5': libdlm.c:475:38: warning: cast increases required alignment of target type [-Wcast-align] 475 | struct dlm_lock_result_v5 *result = (struct dlm_lock_result_v5 *)resultbuf; | ^ libdlm.c:493:22: warning: cast increases required alignment of target type [-Wcast-align] 493 | newstat = read(fd, (struct dlm_lock_result_v5 *)fullresult, | ^ libdlm.c:501:13: warning: cast increases required alignment of target type [-Wcast-align] 501 | result = (struct dlm_lock_result_v5 *)fullresult; | ^ libdlm.c: In function 'do_dlm_dispatch_v6': libdlm.c:535:35: warning: cast increases required alignment of target type [-Wcast-align] 535 | struct dlm_lock_result *result = (struct dlm_lock_result *)resultbuf; | ^ libdlm.c: In function 'ls_lock_v5': libdlm.c:721:37: warning: cast increases required alignment of target type [-Wcast-align] 721 | struct dlm_write_request_v5 *req = (struct dlm_write_request_v5 *)parambuf; | ^ libdlm.c: In function 'ls_lock_v6': libdlm.c:789:34: warning: cast increases required alignment of target type [-Wcast-align] 789 | struct dlm_write_request *req = (struct dlm_write_request *)parambuf; | ^ libdlm.c: In function 'create_lockspace_v5': libdlm.c:1242:37: warning: cast increases required alignment of target type [-Wcast-align] 1242 | struct dlm_write_request_v5 *req = (struct dlm_write_request_v5 *)reqbuf; | ^ libdlm.c: In function 'create_lockspace_v6': libdlm.c:1266:34: warning: cast increases required alignment of target type [-Wcast-align] 1266 | struct dlm_write_request *req = (struct dlm_write_request *)reqbuf; | ^ cc libdlm_lt.o -shared -o libdlm_lt.so.3.0 -Wl,-soname=libdlm_lt.so.3 ln -sf libdlm_lt.so.3.0 libdlm_lt.so ln -sf libdlm_lt.so.3.0 libdlm_lt.so.3 cat libdlm.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlm.pc cat libdlm.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlm_lt.pc make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' cc lib.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIC -Wl,-z,relro -pie -shared -o libdlmcontrol.so.3.2 -Wl,-soname=libdlmcontrol.so.3 lib.c: In function 'dlmc_node_info': lib.c:554:7: warning: cast increases required alignment of target type [-Wcast-align] 554 | rh = (struct dlmc_header *)reply; | ^ lib.c: In function 'dlmc_lockspace_info': lib.c:591:7: warning: cast increases required alignment of target type [-Wcast-align] 591 | rh = (struct dlmc_header *)reply; | ^ lib.c: In function 'dlmc_lockspaces': lib.c:636:7: warning: cast increases required alignment of target type [-Wcast-align] 636 | rh = (struct dlmc_header *)reply; | ^ lib.c: In function 'dlmc_lockspace_nodes': lib.c:694:7: warning: cast increases required alignment of target type [-Wcast-align] 694 | rh = (struct dlmc_header *)reply; | ^ In file included from /usr/include/string.h:495, from /usr/include/sys/un.h:37, from lib.c:17: In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'do_dump' at lib.c:107:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_node_info' at lib.c:535:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_lockspace_info' at lib.c:573:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_lockspace_nodes' at lib.c:668:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fs_register' at lib.c:732:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fs_unregister' at lib.c:741:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fs_notified' at lib.c:750:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_deadlock_check' at lib.c:788:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fence_ack' at lib.c:807:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'dlmc_run_check' at lib.c:884:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so.3 cc action.c cpg.c daemon_cpg.c helper.c crc.c fence_config.c fence.c main.c plock.c config.c member.c logging.c rbtree.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIE -DPIE -I../include -I../libdlm -DUSE_SD_NOTIFY -Wl,-z,relro -pie -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid -lsystemd -o dlm_controld -L. action.c: In function 'str_ip': action.c:425:32: warning: cast increases required alignment of target type [-Wcast-align] 425 | struct sockaddr_storage *ss = (struct sockaddr_storage *)addr; | ^ action.c:426:28: warning: cast increases required alignment of target type [-Wcast-align] 426 | struct sockaddr_in *sin = (struct sockaddr_in *)addr; | ^ action.c:427:30: warning: cast increases required alignment of target type [-Wcast-align] 427 | struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)addr; | ^ cpg.c: In function 'ids_in': cpg.c:200:8: warning: cast increases required alignment of target type [-Wcast-align] 200 | id = (struct id_info *)((char *)id + li->id_info_size); | ^ In file included from dlm_daemon.h:51, from cpg.c:78: cpg.c: In function 'find_memb': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:208:2: note: in expansion of macro 'list_for_each_entry' 208 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:208:2: note: in expansion of macro 'list_for_each_entry' 208 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'find_ls_handle': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:219:2: note: in expansion of macro 'list_for_each_entry' 219 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:219:2: note: in expansion of macro 'list_for_each_entry' 219 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'find_ls_ci': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:230:2: note: in expansion of macro 'list_for_each_entry' 230 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:230:2: note: in expansion of macro 'list_for_each_entry' 230 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'free_cg': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ cpg.c:241:2: note: in expansion of macro 'list_for_each_entry_safe' 241 | list_for_each_entry_safe(memb, safe, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:241:2: note: in expansion of macro 'list_for_each_entry_safe' 241 | list_for_each_entry_safe(memb, safe, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ cpg.c:241:2: note: in expansion of macro 'list_for_each_entry_safe' 241 | list_for_each_entry_safe(memb, safe, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ cpg.c:245:2: note: in expansion of macro 'list_for_each_entry_safe' 245 | list_for_each_entry_safe(memb, safe, &cg->removed, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:245:2: note: in expansion of macro 'list_for_each_entry_safe' 245 | list_for_each_entry_safe(memb, safe, &cg->removed, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ cpg.c:245:2: note: in expansion of macro 'list_for_each_entry_safe' 245 | list_for_each_entry_safe(memb, safe, &cg->removed, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ cpg.c: In function 'free_ls': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ cpg.c:257:2: note: in expansion of macro 'list_for_each_entry_safe' 257 | list_for_each_entry_safe(cg, cg_safe, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:257:2: note: in expansion of macro 'list_for_each_entry_safe' 257 | list_for_each_entry_safe(cg, cg_safe, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ cpg.c:257:2: note: in expansion of macro 'list_for_each_entry_safe' 257 | list_for_each_entry_safe(cg, cg_safe, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ cpg.c:265:2: note: in expansion of macro 'list_for_each_entry_safe' 265 | list_for_each_entry_safe(node, node_safe, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:265:2: note: in expansion of macro 'list_for_each_entry_safe' 265 | list_for_each_entry_safe(node, node_safe, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ cpg.c:265:2: note: in expansion of macro 'list_for_each_entry_safe' 265 | list_for_each_entry_safe(node, node_safe, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ cpg.c: In function 'get_node_history': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:328:2: note: in expansion of macro 'list_for_each_entry' 328 | list_for_each_entry(node, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:328:2: note: in expansion of macro 'list_for_each_entry' 328 | list_for_each_entry(node, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'check_fencing_done': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:485:2: note: in expansion of macro 'list_for_each_entry' 485 | list_for_each_entry(node, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:485:2: note: in expansion of macro 'list_for_each_entry' 485 | list_for_each_entry(node, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'check_fs_done': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:553:2: note: in expansion of macro 'list_for_each_entry' 553 | list_for_each_entry(node, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:553:2: note: in expansion of macro 'list_for_each_entry' 553 | list_for_each_entry(node, &ls->node_history, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'format_member_ids': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:582:22: note: in expansion of macro 'list_first_entry' 582 | struct change *cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:588:2: note: in expansion of macro 'list_for_each_entry' 588 | list_for_each_entry(memb, &cg->members, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:588:2: note: in expansion of macro 'list_for_each_entry' 588 | list_for_each_entry(memb, &cg->members, list) | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'format_renew_ids': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:601:12: note: in expansion of macro 'list_first_entry' 601 | startcg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:606:2: note: in expansion of macro 'list_for_each_entry' 606 | list_for_each_entry(memb, &startcg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:606:2: note: in expansion of macro 'list_for_each_entry' 606 | list_for_each_entry(memb, &startcg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:607:3: note: in expansion of macro 'list_for_each_entry' 607 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:607:3: note: in expansion of macro 'list_for_each_entry' 607 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:610:4: note: in expansion of macro 'list_for_each_entry' 610 | list_for_each_entry(leftmemb, &cg->removed, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:610:4: note: in expansion of macro 'list_for_each_entry' 610 | list_for_each_entry(leftmemb, &cg->removed, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'start_kernel': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:622:22: note: in expansion of macro 'list_first_entry' 622 | struct change *cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ cpg.c: In function 'wait_messages_done': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:730:22: note: in expansion of macro 'list_first_entry' 730 | struct change *cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:734:2: note: in expansion of macro 'list_for_each_entry' 734 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:734:2: note: in expansion of macro 'list_for_each_entry' 734 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'cleanup_changes': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:756:22: note: in expansion of macro 'list_first_entry' 756 | struct change *cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ cpg.c:770:2: note: in expansion of macro 'list_for_each_entry_safe' 770 | list_for_each_entry_safe(cg, safe, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:770:2: note: in expansion of macro 'list_for_each_entry_safe' 770 | list_for_each_entry_safe(cg, safe, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ cpg.c:770:2: note: in expansion of macro 'list_for_each_entry_safe' 770 | list_for_each_entry_safe(cg, safe, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ cpg.c: In function 'set_plock_data_node': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:797:22: note: in expansion of macro 'list_first_entry' 797 | struct change *cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:801:2: note: in expansion of macro 'list_for_each_entry' 801 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:801:2: note: in expansion of macro 'list_for_each_entry' 801 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'get_id_struct': cpg.c:824:8: warning: cast increases required alignment of target type [-Wcast-align] 824 | id = (struct id_info *)((char *)id + size); | ^ cpg.c: In function 'match_change': cpg.c:931:8: warning: cast increases required alignment of target type [-Wcast-align] 931 | id = (struct id_info *)((char *)id + li->id_info_size); | ^ In file included from dlm_daemon.h:51, from cpg.c:78: cpg.c: In function 'find_change': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:296:13: note: in expansion of macro 'list_entry' 296 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:984:2: note: in expansion of macro 'list_for_each_entry_reverse' 984 | list_for_each_entry_reverse(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:298:13: note: in expansion of macro 'list_entry' 298 | pos = list_entry(pos->member.prev, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:984:2: note: in expansion of macro 'list_for_each_entry_reverse' 984 | list_for_each_entry_reverse(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cpg.c: In function 'is_added': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:999:2: note: in expansion of macro 'list_for_each_entry' 999 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:999:2: note: in expansion of macro 'list_for_each_entry' 999 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'receive_start': cpg.c:1018:7: warning: cast increases required alignment of target type [-Wcast-align] 1018 | li = (struct ls_info *)((char *)hd + sizeof(struct dlm_header)); | ^ cpg.c:1019:8: warning: cast increases required alignment of target type [-Wcast-align] 1019 | ids = (struct id_info *)((char *)li + sizeof(struct ls_info)); | ^ cpg.c: In function 'receive_plocks_done': cpg.c:1080:7: warning: cast increases required alignment of target type [-Wcast-align] 1080 | li = (struct ls_info *)((char *)hd + sizeof(struct dlm_header)); | ^ cpg.c:1081:8: warning: cast increases required alignment of target type [-Wcast-align] 1081 | ids = (struct id_info *)((char *)li + sizeof(struct ls_info)); | ^ cpg.c: In function 'send_info': cpg.c:1131:7: warning: cast increases required alignment of target type [-Wcast-align] 1131 | hd = (struct dlm_header *)buf; | ^ cpg.c:1132:7: warning: cast increases required alignment of target type [-Wcast-align] 1132 | li = (struct ls_info *)(buf + sizeof(*hd)); | ^ cpg.c:1133:7: warning: cast increases required alignment of target type [-Wcast-align] 1133 | id = (struct id_info *)(buf + sizeof(*hd) + sizeof(*li)); | ^ In file included from dlm_daemon.h:51, from cpg.c:78: list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1160:2: note: in expansion of macro 'list_for_each_entry' 1160 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1160:2: note: in expansion of macro 'list_for_each_entry' 1160 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'same_members': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1199:2: note: in expansion of macro 'list_for_each_entry' 1199 | list_for_each_entry(memb, &cg1->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1199:2: note: in expansion of macro 'list_for_each_entry' 1199 | list_for_each_entry(memb, &cg1->members, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'send_nacks': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1210:2: note: in expansion of macro 'list_for_each_entry' 1210 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1210:2: note: in expansion of macro 'list_for_each_entry' 1210 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'nodes_added': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1228:2: note: in expansion of macro 'list_for_each_entry' 1228 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1228:2: note: in expansion of macro 'list_for_each_entry' 1228 | list_for_each_entry(cg, &ls->changes, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'prepare_plocks': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:1237:22: note: in expansion of macro 'list_first_entry' 1237 | struct change *cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1250:3: note: in expansion of macro 'list_for_each_entry' 1250 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1250:3: note: in expansion of macro 'list_for_each_entry' 1250 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'apply_changes': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:1299:7: note: in expansion of macro 'list_first_entry' 1299 | cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ cpg.c: In function 'process_lockspace_changes': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ cpg.c:1332:2: note: in expansion of macro 'list_for_each_entry_safe' 1332 | list_for_each_entry_safe(ls, safe, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1332:2: note: in expansion of macro 'list_for_each_entry_safe' 1332 | list_for_each_entry_safe(ls, safe, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ cpg.c:1332:2: note: in expansion of macro 'list_for_each_entry_safe' 1332 | list_for_each_entry_safe(ls, safe, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ cpg.c: In function 'add_change': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1428:3: note: in expansion of macro 'list_for_each_entry' 1428 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1428:3: note: in expansion of macro 'list_for_each_entry' 1428 | list_for_each_entry(memb, &cg->members, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'confchg_cb': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1509:2: note: in expansion of macro 'list_for_each_entry' 1509 | list_for_each_entry(memb, &cg->removed, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1509:2: note: in expansion of macro 'list_for_each_entry' 1509 | list_for_each_entry(memb, &cg->removed, list) | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'set_lockspace_info': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1899:2: note: in expansion of macro 'list_for_each_entry' 1899 | list_for_each_entry(cg, &ls->changes, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1899:2: note: in expansion of macro 'list_for_each_entry' 1899 | list_for_each_entry(cg, &ls->changes, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:1902:7: note: in expansion of macro 'list_first_entry' 1902 | cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ cpg.c: In function 'set_node_info': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:1962:8: note: in expansion of macro 'list_first_entry' 1962 | cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ cpg.c: In function 'set_lockspaces': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1975:2: note: in expansion of macro 'list_for_each_entry' 1975 | list_for_each_entry(ls, &lockspaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1975:2: note: in expansion of macro 'list_for_each_entry' 1975 | list_for_each_entry(ls, &lockspaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:1984:2: note: in expansion of macro 'list_for_each_entry' 1984 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:1984:2: note: in expansion of macro 'list_for_each_entry' 1984 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'set_lockspace_nodes': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:2004:9: note: in expansion of macro 'list_first_entry' 2004 | cg = list_first_entry(&ls->changes, struct change,list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:2008:3: note: in expansion of macro 'list_for_each_entry' 2008 | list_for_each_entry(n, &ls->node_history, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:2008:3: note: in expansion of macro 'list_for_each_entry' 2008 | list_for_each_entry(n, &ls->node_history, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' 237 | list_entry((ptr)->next, type, member) | ^~~~~~~~~~ cpg.c:2020:8: note: in expansion of macro 'list_first_entry' 2020 | cg = list_first_entry(&ls->changes, struct change, list); | ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:2032:3: note: in expansion of macro 'list_for_each_entry' 2032 | list_for_each_entry(n, &ls->node_history, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:2032:3: note: in expansion of macro 'list_for_each_entry' 2032 | list_for_each_entry(n, &ls->node_history, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ cpg.c:2035:3: note: in expansion of macro 'list_for_each_entry' 2035 | list_for_each_entry(memb, &cg->members, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ cpg.c:2035:3: note: in expansion of macro 'list_for_each_entry' 2035 | list_for_each_entry(memb, &cg->members, list) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/sys/un.h:37, from dlm_daemon.h:16, from cpg.c:78: In function 'strncpy', inlined from 'set_lockspace_info' at cpg.c:1867:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'dlm_send_message': daemon_cpg.c:301:26: warning: cast increases required alignment of target type [-Wcast-align] 301 | struct dlm_header *hd = (struct dlm_header *) buf; | ^ daemon_cpg.c: In function 'dlm_send_message_daemon': daemon_cpg.c:320:26: warning: cast increases required alignment of target type [-Wcast-align] 320 | struct dlm_header *hd = (struct dlm_header *) buf; | ^ In file included from dlm_daemon.h:51, from daemon_cpg.c:9: daemon_cpg.c: In function 'get_node_daemon': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:418:2: note: in expansion of macro 'list_for_each_entry' 418 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:418:2: note: in expansion of macro 'list_for_each_entry' 418 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'nodes_need_fencing': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:429:2: note: in expansion of macro 'list_for_each_entry' 429 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:429:2: note: in expansion of macro 'list_for_each_entry' 429 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'all_daemon_members_fipu': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:452:2: note: in expansion of macro 'list_for_each_entry' 452 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:452:2: note: in expansion of macro 'list_for_each_entry' 452 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:459:2: note: in expansion of macro 'list_for_each_entry' 459 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:459:2: note: in expansion of macro 'list_for_each_entry' 459 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'clear_startup_node': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ daemon_cpg.c:513:2: note: in expansion of macro 'list_for_each_entry_safe' 513 | list_for_each_entry_safe(node, safe, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:513:2: note: in expansion of macro 'list_for_each_entry_safe' 513 | list_for_each_entry_safe(node, safe, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ daemon_cpg.c:513:2: note: in expansion of macro 'list_for_each_entry_safe' 513 | list_for_each_entry_safe(node, safe, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'kick_stateful_merge_members': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:738:2: note: in expansion of macro 'list_for_each_entry' 738 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:738:2: note: in expansion of macro 'list_for_each_entry' 738 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'daemon_fence_work': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:878:2: note: in expansion of macro 'list_for_each_entry' 878 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:878:2: note: in expansion of macro 'list_for_each_entry' 878 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ daemon_cpg.c:937:2: note: in expansion of macro 'list_for_each_entry_safe' 937 | list_for_each_entry_safe(node, safe, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:937:2: note: in expansion of macro 'list_for_each_entry_safe' 937 | list_for_each_entry_safe(node, safe, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ daemon_cpg.c:937:2: note: in expansion of macro 'list_for_each_entry_safe' 937 | list_for_each_entry_safe(node, safe, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:1000:2: note: in expansion of macro 'list_for_each_entry' 1000 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:1000:2: note: in expansion of macro 'list_for_each_entry' 1000 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:1091:2: note: in expansion of macro 'list_for_each_entry' 1091 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:1091:2: note: in expansion of macro 'list_for_each_entry' 1091 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:1220:3: note: in expansion of macro 'list_for_each_entry' 1220 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:1220:3: note: in expansion of macro 'list_for_each_entry' 1220 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:1229:3: note: in expansion of macro 'list_for_each_entry' 1229 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:1229:3: note: in expansion of macro 'list_for_each_entry' 1229 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'receive_fence_clear': daemon_cpg.c:1308:7: warning: cast increases required alignment of target type [-Wcast-align] 1308 | fr = (struct fence_result *)((char *)hd + sizeof(struct dlm_header)); | ^ daemon_cpg.c: In function 'send_fence_clear': daemon_cpg.c:1394:7: warning: cast increases required alignment of target type [-Wcast-align] 1394 | hd = (struct dlm_header *)buf; | ^ daemon_cpg.c:1395:7: warning: cast increases required alignment of target type [-Wcast-align] 1395 | fr = (struct fence_result *)(buf + sizeof(*hd)); | ^ daemon_cpg.c: In function 'receive_fence_result': daemon_cpg.c:1415:7: warning: cast increases required alignment of target type [-Wcast-align] 1415 | fr = (struct fence_result *)((char *)hd + sizeof(struct dlm_header)); | ^ daemon_cpg.c: In function 'send_fence_result': daemon_cpg.c:1521:7: warning: cast increases required alignment of target type [-Wcast-align] 1521 | hd = (struct dlm_header *)buf; | ^ daemon_cpg.c:1522:7: warning: cast increases required alignment of target type [-Wcast-align] 1522 | fr = (struct fence_result *)(buf + sizeof(*hd)); | ^ daemon_cpg.c: In function 'receive_protocol': daemon_cpg.c:1693:6: warning: cast increases required alignment of target type [-Wcast-align] 1693 | p = (struct protocol *)((char *)hd + sizeof(struct dlm_header)); | ^ daemon_cpg.c: In function 'send_protocol': daemon_cpg.c:1878:7: warning: cast increases required alignment of target type [-Wcast-align] 1878 | hd = (struct dlm_header *)buf; | ^ daemon_cpg.c:1879:7: warning: cast increases required alignment of target type [-Wcast-align] 1879 | pr = (struct protocol *)(buf + sizeof(*hd)); | ^ In file included from dlm_daemon.h:51, from daemon_cpg.c:9: daemon_cpg.c: In function 'send_run_request': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:2196:2: note: in expansion of macro 'list_for_each_entry' 2196 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:2196:2: note: in expansion of macro 'list_for_each_entry' 2196 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'confchg_cb_daemon': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:2315:2: note: in expansion of macro 'list_for_each_entry' 2315 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:2315:2: note: in expansion of macro 'list_for_each_entry' 2315 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:2369:2: note: in expansion of macro 'list_for_each_entry' 2369 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:2369:2: note: in expansion of macro 'list_for_each_entry' 2369 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:2387:2: note: in expansion of macro 'list_for_each_entry' 2387 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:2387:2: note: in expansion of macro 'list_for_each_entry' 2387 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'close_cpg_daemon': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:2556:2: note: in expansion of macro 'list_for_each_entry' 2556 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:2556:2: note: in expansion of macro 'list_for_each_entry' 2556 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'send_state_daemon_nodes': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:2616:2: note: in expansion of macro 'list_for_each_entry' 2616 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:2616:2: note: in expansion of macro 'list_for_each_entry' 2616 | list_for_each_entry(node, &daemon_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'send_state_startup_nodes': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ daemon_cpg.c:2639:2: note: in expansion of macro 'list_for_each_entry' 2639 | list_for_each_entry(node, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ daemon_cpg.c:2639:2: note: in expansion of macro 'list_for_each_entry' 2639 | list_for_each_entry(node, &startup_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'receive_run_request': daemon_cpg.c:2158:12: warning: 'run' may be used uninitialized in this function [-Wmaybe-uninitialized] 2158 | run->info.reply_count++; | ~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/string.h:495, from fence_config.c:13: In function 'strncpy', inlined from 'read_config_section' at fence_config.c:183:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:184:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:185:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:186:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:187:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dlm_daemon.h:51, from main.c:10: main.c: In function 'find_run': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:187:2: note: in expansion of macro 'list_for_each_entry' 187 | list_for_each_entry(run, &run_ops, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ main.c:187:2: note: in expansion of macro 'list_for_each_entry' 187 | list_for_each_entry(run, &run_ops, list) { | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'find_ls': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:569:2: note: in expansion of macro 'list_for_each_entry' 569 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ main.c:569:2: note: in expansion of macro 'list_for_each_entry' 569 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'find_ls_id': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:581:2: note: in expansion of macro 'list_for_each_entry' 581 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ main.c:581:2: note: in expansion of macro 'list_for_each_entry' 581 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'fs_register_check': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:596:2: note: in expansion of macro 'list_for_each_entry' 596 | list_for_each_entry(fs, &fs_register_list, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ main.c:596:2: note: in expansion of macro 'list_for_each_entry' 596 | list_for_each_entry(fs, &fs_register_list, list) { | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'fs_register_del': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:621:2: note: in expansion of macro 'list_for_each_entry' 621 | list_for_each_entry(fs, &fs_register_list, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ main.c:621:2: note: in expansion of macro 'list_for_each_entry' 621 | list_for_each_entry(fs, &fs_register_list, list) { | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'copy_run_list': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:814:2: note: in expansion of macro 'list_for_each_entry' 814 | list_for_each_entry(run, &run_ops, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ main.c:814:2: note: in expansion of macro 'list_for_each_entry' 814 | list_for_each_entry(run, &run_ops, list) { | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'do_reply': main.c:963:6: warning: cast increases required alignment of target type [-Wcast-align] 963 | h = (struct dlmc_header *)reply; | ^ In file included from dlm_daemon.h:51, from main.c:10: main.c: In function 'loop': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ main.c:1550:2: note: in expansion of macro 'list_for_each_entry' 1550 | list_for_each_entry(ls, &lockspaces, list) | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ main.c:1550:2: note: in expansion of macro 'list_for_each_entry' 1550 | list_for_each_entry(ls, &lockspaces, list) | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/sys/un.h:37, from dlm_daemon.h:16, from main.c:10: In function 'strncpy', inlined from 'init_header' at main.c:803:3, inlined from 'init_header' at main.c:791:13, inlined from 'do_reply' at main.c:965:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dlm_daemon.h:51, from plock.c:9: plock.c: In function 'rb_search_plock_resource': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ rbtree.h:132:37: note: in expansion of macro 'container_of' 132 | #define rb_entry(ptr, type, member) container_of(ptr, type, member) | ^~~~~~~~~~~~ plock.c:217:7: note: in expansion of macro 'rb_entry' 217 | r = rb_entry(n, struct resource, rb_node); | ^~~~~~~~ plock.c: In function 'rb_insert_plock_resource': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ rbtree.h:132:37: note: in expansion of macro 'container_of' 132 | #define rb_entry(ptr, type, member) container_of(ptr, type, member) | ^~~~~~~~~~~~ plock.c:237:11: note: in expansion of macro 'rb_entry' 237 | entry = rb_entry(parent, struct resource, rb_node); | ^~~~~~~~ plock.c: In function 'search_resource': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:261:2: note: in expansion of macro 'list_for_each_entry' 261 | list_for_each_entry(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:261:2: note: in expansion of macro 'list_for_each_entry' 261 | list_for_each_entry(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~ plock.c: In function 'is_conflict': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:431:2: note: in expansion of macro 'list_for_each_entry' 431 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:431:2: note: in expansion of macro 'list_for_each_entry' 431 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ plock.c: In function 'lock_internal': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:531:2: note: in expansion of macro 'list_for_each_entry_safe' 531 | list_for_each_entry_safe(po, safe, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:531:2: note: in expansion of macro 'list_for_each_entry_safe' 531 | list_for_each_entry_safe(po, safe, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:531:2: note: in expansion of macro 'list_for_each_entry_safe' 531 | list_for_each_entry_safe(po, safe, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'unlock_internal': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:594:2: note: in expansion of macro 'list_for_each_entry_safe' 594 | list_for_each_entry_safe(po, safe, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:594:2: note: in expansion of macro 'list_for_each_entry_safe' 594 | list_for_each_entry_safe(po, safe, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:594:2: note: in expansion of macro 'list_for_each_entry_safe' 594 | list_for_each_entry_safe(po, safe, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'clear_waiters': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:657:2: note: in expansion of macro 'list_for_each_entry_safe' 657 | list_for_each_entry_safe(w, safe, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:657:2: note: in expansion of macro 'list_for_each_entry_safe' 657 | list_for_each_entry_safe(w, safe, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:657:2: note: in expansion of macro 'list_for_each_entry_safe' 657 | list_for_each_entry_safe(w, safe, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'do_waiters': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:705:2: note: in expansion of macro 'list_for_each_entry_safe' 705 | list_for_each_entry_safe(w, safe, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:705:2: note: in expansion of macro 'list_for_each_entry_safe' 705 | list_for_each_entry_safe(w, safe, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:705:2: note: in expansion of macro 'list_for_each_entry_safe' 705 | list_for_each_entry_safe(w, safe, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'send_struct_info': plock.c:992:7: warning: cast increases required alignment of target type [-Wcast-align] 992 | hd = (struct dlm_header *)buf; | ^ In file included from dlm_daemon.h:51, from plock.c:9: plock.c: In function 'send_syncs': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1044:2: note: in expansion of macro 'list_for_each_entry' 1044 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1044:2: note: in expansion of macro 'list_for_each_entry' 1044 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1061:2: note: in expansion of macro 'list_for_each_entry' 1061 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1061:2: note: in expansion of macro 'list_for_each_entry' 1061 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ plock.c: In function 'add_pending_plocks': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:1109:2: note: in expansion of macro 'list_for_each_entry_safe' 1109 | list_for_each_entry_safe(w, safe, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1109:2: note: in expansion of macro 'list_for_each_entry_safe' 1109 | list_for_each_entry_safe(w, safe, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:1109:2: note: in expansion of macro 'list_for_each_entry_safe' 1109 | list_for_each_entry_safe(w, safe, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'send_pending_plocks': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:1123:2: note: in expansion of macro 'list_for_each_entry_safe' 1123 | list_for_each_entry_safe(w, safe, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1123:2: note: in expansion of macro 'list_for_each_entry_safe' 1123 | list_for_each_entry_safe(w, safe, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:1123:2: note: in expansion of macro 'list_for_each_entry_safe' 1123 | list_for_each_entry_safe(w, safe, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'clear_syncing_flag': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1269:2: note: in expansion of macro 'list_for_each_entry' 1269 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1269:2: note: in expansion of macro 'list_for_each_entry' 1269 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1282:2: note: in expansion of macro 'list_for_each_entry' 1282 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1282:2: note: in expansion of macro 'list_for_each_entry' 1282 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ plock.c: In function 'drop_resources': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:296:13: note: in expansion of macro 'list_entry' 296 | for (pos = list_entry((head)->prev, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1444:2: note: in expansion of macro 'list_for_each_entry_reverse' 1444 | list_for_each_entry_reverse(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:298:13: note: in expansion of macro 'list_entry' 298 | pos = list_entry(pos->member.prev, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1444:2: note: in expansion of macro 'list_for_each_entry_reverse' 1444 | list_for_each_entry_reverse(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'drop_resources_all': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1475:2: note: in expansion of macro 'list_for_each_entry' 1475 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1475:2: note: in expansion of macro 'list_for_each_entry' 1475 | list_for_each_entry(ls, &lockspaces, list) { | ^~~~~~~~~~~~~~~~~~~ plock.c: In function 'process_saved_plocks': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:1620:2: note: in expansion of macro 'list_for_each_entry_safe' 1620 | list_for_each_entry_safe(sm, sm2, &ls->saved_messages, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1620:2: note: in expansion of macro 'list_for_each_entry_safe' 1620 | list_for_each_entry_safe(sm, sm2, &ls->saved_messages, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:1620:2: note: in expansion of macro 'list_for_each_entry_safe' 1620 | list_for_each_entry_safe(sm, sm2, &ls->saved_messages, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c:1621:8: warning: cast increases required alignment of target type [-Wcast-align] 1621 | hd = (struct dlm_header *)sm->buf; | ^ plock.c: In function 'pack_send_buf': plock.c:1668:7: warning: cast increases required alignment of target type [-Wcast-align] 1668 | rd = (struct resource_data *)(send_buf + sizeof(struct dlm_header)); | ^ plock.c:1683:7: warning: cast increases required alignment of target type [-Wcast-align] 1683 | pp = (struct plock_data *)(send_buf + sizeof(struct dlm_header) + sizeof(struct resource_data)); | ^ In file included from dlm_daemon.h:51, from plock.c:9: list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1685:2: note: in expansion of macro 'list_for_each_entry' 1685 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1685:2: note: in expansion of macro 'list_for_each_entry' 1685 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1710:2: note: in expansion of macro 'list_for_each_entry' 1710 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1710:2: note: in expansion of macro 'list_for_each_entry' 1710 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ plock.c: In function 'send_plocks_data': plock.c:1761:7: warning: cast increases required alignment of target type [-Wcast-align] 1761 | hd = (struct dlm_header *)buf; | ^ In file included from dlm_daemon.h:51, from plock.c:9: plock.c: In function 'send_all_plocks_data': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1792:2: note: in expansion of macro 'list_for_each_entry' 1792 | list_for_each_entry(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:1792:2: note: in expansion of macro 'list_for_each_entry' 1792 | list_for_each_entry(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~ plock.c: In function 'free_r_lists': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:1845:2: note: in expansion of macro 'list_for_each_entry_safe' 1845 | list_for_each_entry_safe(po, po2, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1845:2: note: in expansion of macro 'list_for_each_entry_safe' 1845 | list_for_each_entry_safe(po, po2, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:1845:2: note: in expansion of macro 'list_for_each_entry_safe' 1845 | list_for_each_entry_safe(po, po2, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:1850:2: note: in expansion of macro 'list_for_each_entry_safe' 1850 | list_for_each_entry_safe(w, w2, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:1850:2: note: in expansion of macro 'list_for_each_entry_safe' 1850 | list_for_each_entry_safe(w, w2, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:1850:2: note: in expansion of macro 'list_for_each_entry_safe' 1850 | list_for_each_entry_safe(w, w2, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'receive_plocks_data': plock.c:1886:7: warning: cast increases required alignment of target type [-Wcast-align] 1886 | rd = (struct resource_data *)((char *)hd + sizeof(struct dlm_header)); | ^ plock.c:1947:7: warning: cast increases required alignment of target type [-Wcast-align] 1947 | pp = (struct plock_data *)((char *)rd + sizeof(struct resource_data)); | ^ In file included from dlm_daemon.h:51, from plock.c:9: plock.c: In function 'clear_plocks_data': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:2002:2: note: in expansion of macro 'list_for_each_entry_safe' 2002 | list_for_each_entry_safe(r, r2, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2002:2: note: in expansion of macro 'list_for_each_entry_safe' 2002 | list_for_each_entry_safe(r, r2, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:2002:2: note: in expansion of macro 'list_for_each_entry_safe' 2002 | list_for_each_entry_safe(r, r2, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'purge_plocks': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:2030:2: note: in expansion of macro 'list_for_each_entry_safe' 2030 | list_for_each_entry_safe(r, r2, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2030:2: note: in expansion of macro 'list_for_each_entry_safe' 2030 | list_for_each_entry_safe(r, r2, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:2030:2: note: in expansion of macro 'list_for_each_entry_safe' 2030 | list_for_each_entry_safe(r, r2, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:2031:3: note: in expansion of macro 'list_for_each_entry_safe' 2031 | list_for_each_entry_safe(po, po2, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2031:3: note: in expansion of macro 'list_for_each_entry_safe' 2031 | list_for_each_entry_safe(po, po2, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:2031:3: note: in expansion of macro 'list_for_each_entry_safe' 2031 | list_for_each_entry_safe(po, po2, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' 330 | for (pos = list_entry((head)->next, typeof(*pos), member), \ | ^~~~~~~~~~ plock.c:2039:3: note: in expansion of macro 'list_for_each_entry_safe' 2039 | list_for_each_entry_safe(w, w2, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' 331 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2039:3: note: in expansion of macro 'list_for_each_entry_safe' 2039 | list_for_each_entry_safe(w, w2, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 333 | pos = n, n = list_entry(n->member.next, typeof(*n), member)) | ^~~~~~~~~~ plock.c:2039:3: note: in expansion of macro 'list_for_each_entry_safe' 2039 | list_for_each_entry_safe(w, w2, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~~~~~~ plock.c: In function 'copy_plock_state': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2086:2: note: in expansion of macro 'list_for_each_entry' 2086 | list_for_each_entry(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:2086:2: note: in expansion of macro 'list_for_each_entry' 2086 | list_for_each_entry(r, &ls->plock_resources, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2104:3: note: in expansion of macro 'list_for_each_entry' 2104 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:2104:3: note: in expansion of macro 'list_for_each_entry' 2104 | list_for_each_entry(po, &r->locks, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2121:3: note: in expansion of macro 'list_for_each_entry' 2121 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:2121:3: note: in expansion of macro 'list_for_each_entry' 2121 | list_for_each_entry(w, &r->waiters, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ plock.c:2138:3: note: in expansion of macro 'list_for_each_entry' 2138 | list_for_each_entry(w, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ plock.c:2138:3: note: in expansion of macro 'list_for_each_entry' 2138 | list_for_each_entry(w, &r->pending, list) { | ^~~~~~~~~~~~~~~~~~~ config.c: In function 'set_opt_file': config.c:244:26: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] 244 | o->file_int = val ? 1 : 0; | ~~~~~~~~^~~ In file included from dlm_daemon.h:51, from member.c:9: member.c: In function 'get_cluster_node': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' 285 | for (pos = list_entry((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~ member.c:36:2: note: in expansion of macro 'list_for_each_entry' 36 | list_for_each_entry(node, &cluster_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] 16 | (type *)( (char *)__mptr - offsetof(type,member) );}) | ^ list.h:226:2: note: in expansion of macro 'container_of' 226 | container_of(ptr, type, member) | ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' 287 | pos = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ member.c:36:2: note: in expansion of macro 'list_for_each_entry' 36 | list_for_each_entry(node, &cluster_nodes, list) { | ^~~~~~~~~~~~~~~~~~~ cat libdlmcontrol.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlmcontrol.pc make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' cc main.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIE -DPIE -I../include -I../libdlm -I../dlm_controld -Wl,-z,relro -pie -L../libdlm -L../dlm_controld -lpthread -ldlm -ldlmcontrol -o dlm_tool In file included from /usr/include/string.h:495, from main.c:15: In function 'strncpy', inlined from 'decode_arguments' at main.c:438:4, inlined from 'main' at main.c:1525:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' cc stonith_helper.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIE -DPIE `xml2-config --cflags` -I../include -Wl,-z,relro -pie `xml2-config --libs` -ldl -o dlm_stonith -L. stonith_helper.c: In function 'get_options': stonith_helper.c:31:43: warning: comparison is always true due to limited range of data type [-Wtype-limits] 31 | while ((c = getopt(argc, argv, "n:t:")) != -1) { | ^~ stonith_helper.c:34:14: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 34 | nodeid = atoi(optarg); | ^~~~ stonith_helper.c:34:14: warning: nested extern declaration of 'atoi' [-Wnested-externs] stonith_helper.c:37:17: warning: implicit declaration of function 'strtoull'; did you mean 'strcoll'? [-Wimplicit-function-declaration] 37 | fail_time = strtoull(optarg, NULL, 0); | ^~~~~~~~ | strcoll stonith_helper.c:37:17: warning: nested extern declaration of 'strtoull' [-Wnested-externs] make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C fence make: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' make: Nothing to be done for 'all'. make: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LZYwtY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 + cd dlm-4.0.9 + rm -rf /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 + make install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 set -e; for d in libdlm dlm_controld dlm_tool fence; do make -C $d install; done make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man3 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64/pkgconfig /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib/udev/rules.d /usr/bin/install -c -m 755 libdlm.so.3.0 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 /usr/bin/install -c -m 755 libdlm_lt.so.3.0 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 cp -a libdlm.so /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 cp -a libdlm.so.3 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 cp -a libdlm_lt.so /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 cp -a libdlm_lt.so.3 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 /usr/bin/install -m 644 libdlm.pc /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64/pkgconfig /usr/bin/install -m 644 libdlm_lt.pc /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libdlm.h /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/include /usr/bin/install -m 644 man/dlm_cleanup.3 man/dlm_close_lockspace.3 man/dlm_create_lockspace.3 man/dlm_dispatch.3 man/dlm_get_fd.3 man/dlm_lock.3 man/dlm_lock_wait.3 man/dlm_ls_lock.3 man/dlm_ls_lock_wait.3 man/dlm_ls_lockx.3 man/dlm_ls_pthread_init.3 man/dlm_ls_unlock.3 man/dlm_ls_unlock_wait.3 man/dlm_new_lockspace.3 man/dlm_open_lockspace.3 man/dlm_pthread_init.3 man/dlm_release_lockspace.3 man/dlm_unlock.3 man/dlm_unlock_wait.3 man/libdlm.3 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man3/ /usr/bin/install -m 644 51-dlm.rules /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib/udev/rules.d make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man5 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64/pkgconfig /usr/bin/install -m 755 dlm_controld /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -m 755 libdlmcontrol.so.3.2 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 cp -a libdlmcontrol.so /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 cp -a libdlmcontrol.so.3 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64 /usr/bin/install -m 644 libdlmcontrol.pc /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/lib64/pkgconfig /usr/bin/install -m 644 libdlmcontrol.h /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/include /usr/bin/install -m 644 dlm_controld.8 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8/ /usr/bin/install -m 644 dlm.conf.5 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man5/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_tool /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -m 644 dlm_tool.8 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + make -C fence install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 make: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + install -Dm 0644 init/dlm.service /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/lib/systemd/system/dlm.service + install -Dm 0644 init/dlm.sysconfig /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/etc/sysconfig/dlm + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.0.9-2.fc33 --unique-debug-suffix -4.0.9-2.fc33.riscv64 --unique-debug-src-base dlm-4.0.9-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dlm-4.0.9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/lib64/libdlm.so.3.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/lib64/libdlm_lt.so.3.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/lib64/libdlmcontrol.so.3.2 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/lib64/libdlm.so.3.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/lib64/libdlmcontrol.so.3.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/sbin/dlm_controld extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/lib64/libdlm_lt.so.3.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/sbin/dlm_controld explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/sbin/dlm_stonith explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/sbin/dlm_tool extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/sbin/dlm_stonith extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/sbin/dlm_tool original debug info size: 1064kB, size after compression: 1016kB /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 827 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dlm-4.0.9-2.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.y2l8wX + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.9 + DOCDIR=/builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/share/doc/dlm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/share/doc/dlm + cp -pr README.license /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64/usr/share/doc/dlm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dlm) = 4.0.9-2.fc33 dlm = 4.0.9-2.fc33 dlm(riscv-64) = 4.0.9-2.fc33 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcfg.so.7()(64bit) libcfg.so.7(COROSYNC_CFG_0.82)(64bit) libcmap.so.4()(64bit) libcmap.so.4(COROSYNC_CMAP_1.0)(64bit) libcpg.so.4()(64bit) libcpg.so.4(COROSYNC_CPG_1.0)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libdlm.so.3()(64bit) libdlmcontrol.so.3()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libquorum.so.5()(64bit) libquorum.so.5(COROSYNC_QUORUM_1.0)(64bit) librt.so.1()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libxml2.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Conflicts: cman Processing files: dlm-debugsource-4.0.9-2.fc33.riscv64 Provides: dlm-debugsource = 4.0.9-2.fc33 dlm-debugsource(riscv-64) = 4.0.9-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dlm-lib-4.0.9-2.fc33.riscv64 Provides: dlm-lib = 4.0.9-2.fc33 dlm-lib(riscv-64) = 4.0.9-2.fc33 libdlm.so.3()(64bit) libdlm_lt.so.3()(64bit) libdlmcontrol.so.3()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Conflicts: clusterlib Processing files: dlm-devel-4.0.9-2.fc33.riscv64 Provides: dlm-devel = 4.0.9-2.fc33 dlm-devel(riscv-64) = 4.0.9-2.fc33 pkgconfig(libdlm) = 4.0.0 pkgconfig(libdlm_lt) = 4.0.0 pkgconfig(libdlmcontrol) = 4.0.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libdlm.so.3()(64bit) libdlm_lt.so.3()(64bit) libdlmcontrol.so.3()(64bit) Conflicts: clusterlib-devel Processing files: dlm-debuginfo-4.0.9-2.fc33.riscv64 Provides: debuginfo(build-id) = 4db16caaf810adaf92403a0b74a2f10f5506eddc debuginfo(build-id) = 69c7c83dbd5df0e54c2be5c4ec14e82a896a0958 debuginfo(build-id) = 7d1401d3597c41cf6e36825f148609d60954bf8a dlm-debuginfo = 4.0.9-2.fc33 dlm-debuginfo(riscv-64) = 4.0.9-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dlm-debugsource(riscv-64) = 4.0.9-2.fc33 Processing files: dlm-lib-debuginfo-4.0.9-2.fc33.riscv64 Provides: debuginfo(build-id) = 6dc4fc7e549233a427bdd26237cece67abf8fe4c debuginfo(build-id) = b525a32124053e4ba493b8e5c141ac814eca929e debuginfo(build-id) = bbbba91ec4d34982afdec69c2187a2f71d212240 dlm-lib-debuginfo = 4.0.9-2.fc33 dlm-lib-debuginfo(riscv-64) = 4.0.9-2.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dlm-debugsource(riscv-64) = 4.0.9-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 Wrote: /builddir/build/RPMS/dlm-devel-4.0.9-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dlm-lib-4.0.9-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dlm-4.0.9-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dlm-lib-debuginfo-4.0.9-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dlm-debugsource-4.0.9-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dlm-debuginfo-4.0.9-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PxCwXY + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dlm-4.0.9-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0