Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/dlm.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-39013-18955/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/dlm-4.1.0-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/dlm.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-39013-18955/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4RaQCp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dlm-4.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/dlm-4.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dlm-4.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tVWcP5 + umask 022 + cd /builddir/build/BUILD + cd dlm-4.1.0 + CFLAGS='-O2 -g' + 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.1.0/libdlm' cc libdlm.c -O2 -g -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] 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] newstat = read(fd, (struct dlm_lock_result_v5 *)fullresult, ^ libdlm.c:501:13: warning: cast increases required alignment of target type [-Wcast-align] 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] 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] 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] 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] 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] 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 -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] 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] newstat = read(fd, (struct dlm_lock_result_v5 *)fullresult, ^ libdlm.c:501:13: warning: cast increases required alignment of target type [-Wcast-align] 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] 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] 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] 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] 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] 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.1.0/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.1.0/dlm_controld' cc lib.c -O2 -g -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:565:7: warning: cast increases required alignment of target type [-Wcast-align] rh = (struct dlmc_header *)reply; ^ lib.c: In function 'dlmc_lockspace_info': lib.c:602:7: warning: cast increases required alignment of target type [-Wcast-align] rh = (struct dlmc_header *)reply; ^ lib.c: In function 'dlmc_lockspaces': lib.c:647:7: warning: cast increases required alignment of target type [-Wcast-align] rh = (struct dlmc_header *)reply; ^ lib.c: In function 'dlmc_lockspace_nodes': lib.c:705:7: warning: cast increases required alignment of target type [-Wcast-align] rh = (struct dlmc_header *)reply; ^ 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 node_config.c -O2 -g -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] struct sockaddr_storage *ss = (struct sockaddr_storage *)addr; ^ action.c:426:28: warning: cast increases required alignment of target type [-Wcast-align] struct sockaddr_in *sin = (struct sockaddr_in *)addr; ^ action.c:427:30: warning: cast increases required alignment of target type [-Wcast-align] 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] id = (struct id_info *)((char *)id + li->id_info_size); ^ In file included from dlm_daemon.h:53, from cpg.c:78: cpg.c: In function 'find_memb': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:208:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:208:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:219:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:219:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:230:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:230:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ cpg.c:241:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(memb, safe, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:241:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(memb, safe, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' list_for_each_entry_safe(memb, safe, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ cpg.c:245:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(memb, safe, &cg->removed, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:245:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(memb, safe, &cg->removed, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ cpg.c:257:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:257:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ cpg.c:265:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:265:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:328:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &ls->node_history, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:328:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:488:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &ls->node_history, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:488:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:556:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &ls->node_history, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:556:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:585:22: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:591:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:591:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:604:12: note: in expansion of macro 'list_first_entry' startcg = list_first_entry(&ls->changes, struct change, list); ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:609:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &startcg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:609:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &startcg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:610:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:610:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:613:4: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(leftmemb, &cg->removed, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:613:4: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:625:22: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:733:22: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:737:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:737:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:759:22: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ cpg.c:773:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(cg, safe, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:773:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(cg, safe, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ cpg.c:773:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:800:22: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:804:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:804:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'get_id_struct': cpg.c:827:8: warning: cast increases required alignment of target type [-Wcast-align] id = (struct id_info *)((char *)id + size); ^ cpg.c: In function 'match_change': cpg.c:934:8: warning: cast increases required alignment of target type [-Wcast-align] id = (struct id_info *)((char *)id + li->id_info_size); ^ In file included from dlm_daemon.h:53, from cpg.c:78: cpg.c: In function 'find_change': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:296:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->prev, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:987:2: note: in expansion of macro 'list_for_each_entry_reverse' list_for_each_entry_reverse(cg, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:298:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.prev, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:987:2: note: in expansion of macro 'list_for_each_entry_reverse' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1002:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1002:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~ cpg.c: In function 'receive_start': cpg.c:1021:7: warning: cast increases required alignment of target type [-Wcast-align] li = (struct ls_info *)((char *)hd + sizeof(struct dlm_header)); ^ cpg.c:1022:8: warning: cast increases required alignment of target type [-Wcast-align] ids = (struct id_info *)((char *)li + sizeof(struct ls_info)); ^ cpg.c: In function 'receive_plocks_done': cpg.c:1083:7: warning: cast increases required alignment of target type [-Wcast-align] li = (struct ls_info *)((char *)hd + sizeof(struct dlm_header)); ^ cpg.c:1084:8: warning: cast increases required alignment of target type [-Wcast-align] ids = (struct id_info *)((char *)li + sizeof(struct ls_info)); ^ cpg.c: In function 'send_info': cpg.c:1134:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ cpg.c:1135:7: warning: cast increases required alignment of target type [-Wcast-align] li = (struct ls_info *)(buf + sizeof(*hd)); ^ cpg.c:1136:7: warning: cast increases required alignment of target type [-Wcast-align] id = (struct id_info *)(buf + sizeof(*hd) + sizeof(*li)); ^ In file included from dlm_daemon.h:53, from cpg.c:78: list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1163:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1163:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1202:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg1->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1202:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1213:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1213:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1231:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1231:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:1240:22: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1253:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1253:3: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:1302:7: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ cpg.c:1335:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(ls, safe, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1335:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(ls, safe, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' pos = n, n = list_entry(n->member.next, typeof(*n), member)) ^~~~~~~~~~ cpg.c:1335:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1431:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1431:3: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1512:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->removed, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1512:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1903:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1903:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(cg, &ls->changes, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:1906:7: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:1966:8: note: in expansion of macro 'list_first_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1979:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1979:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:1988:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:1988:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:2008:9: note: in expansion of macro 'list_first_entry' cg = list_first_entry(&ls->changes, struct change,list); ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:2012:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(n, &ls->node_history, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:2012:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(n, &ls->node_history, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:237:2: note: in expansion of macro 'list_entry' list_entry((ptr)->next, type, member) ^~~~~~~~~~ cpg.c:2024:8: note: in expansion of macro 'list_first_entry' cg = list_first_entry(&ls->changes, struct change, list); ^~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:2036:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(n, &ls->node_history, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:2036:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(n, &ls->node_history, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ cpg.c:2039:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ cpg.c:2039:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(memb, &cg->members, list) ^~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'dlm_send_message': daemon_cpg.c:301:26: warning: cast increases required alignment of target type [-Wcast-align] 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] struct dlm_header *hd = (struct dlm_header *) buf; ^ In file included from dlm_daemon.h:53, 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:418:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:418:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:429:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:429:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:452:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:452:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:459:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:459:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ daemon_cpg.c:513:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(node, safe, &startup_nodes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:513:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(node, safe, &startup_nodes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:738:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:738:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:878:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:878:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ daemon_cpg.c:937:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(node, safe, &startup_nodes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:937:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(node, safe, &startup_nodes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' list_for_each_entry_safe(node, safe, &startup_nodes, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:1000:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:1000:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:1091:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:1091:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:1220:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:1220:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:1229:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:1229:3: note: in expansion of macro 'list_for_each_entry' 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] 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] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1395:7: warning: cast increases required alignment of target type [-Wcast-align] 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] 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] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1522:7: warning: cast increases required alignment of target type [-Wcast-align] 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] 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] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1879:7: warning: cast increases required alignment of target type [-Wcast-align] pr = (struct protocol *)(buf + sizeof(*hd)); ^ In file included from dlm_daemon.h:53, 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:2196:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:2196:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:2315:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:2315:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:2369:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:2369:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:2387:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:2387:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:2556:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:2556:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:2616:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &daemon_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:2616:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ daemon_cpg.c:2639:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &startup_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ daemon_cpg.c:2639:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &startup_nodes, list) { ^~~~~~~~~~~~~~~~~~~ In file included from dlm_daemon.h:53, from main.c:10: main.c: In function 'find_run': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:187:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(run, &run_ops, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ main.c:187:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:569:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ main.c:569:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:581:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ main.c:581:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:596:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(fs, &fs_register_list, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ main.c:596:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:621:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(fs, &fs_register_list, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ main.c:621:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:860:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(run, &run_ops, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ main.c:860:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(run, &run_ops, list) { ^~~~~~~~~~~~~~~~~~~ main.c: In function 'do_reply': main.c:1009:6: warning: cast increases required alignment of target type [-Wcast-align] h = (struct dlmc_header *)reply; ^ In file included from dlm_daemon.h:53, from main.c:10: main.c: In function 'loop': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ main.c:1596:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ main.c:1596:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) ^~~~~~~~~~~~~~~~~~~ In file included from dlm_daemon.h:53, 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ rbtree.h:132:37: note: in expansion of macro 'container_of' #define rb_entry(ptr, type, member) container_of(ptr, type, member) ^~~~~~~~~~~~ plock.c:217:7: note: in expansion of macro 'rb_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ rbtree.h:132:37: note: in expansion of macro 'container_of' #define rb_entry(ptr, type, member) container_of(ptr, type, member) ^~~~~~~~~~~~ plock.c:237:11: note: in expansion of macro 'rb_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:261:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &ls->plock_resources, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:261:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:431:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:431:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:531:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, safe, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:531:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, safe, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:594:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, safe, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:594:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, safe, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:657:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:657:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:705:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:705:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] hd = (struct dlm_header *)buf; ^ In file included from dlm_daemon.h:53, from plock.c:9: plock.c: In function 'send_syncs': list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1044:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1044:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1061:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1061:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:1109:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->pending, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1109:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->pending, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:1123:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->pending, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1123:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, safe, &r->pending, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1269:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1269:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1282:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1282:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:296:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->prev, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1444:2: note: in expansion of macro 'list_for_each_entry_reverse' list_for_each_entry_reverse(r, &ls->plock_resources, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:298:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.prev, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1444:2: note: in expansion of macro 'list_for_each_entry_reverse' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1475:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1475:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:1620:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1620:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] 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] rd = (struct resource_data *)(send_buf + sizeof(struct dlm_header)); ^ plock.c:1683:7: warning: cast increases required alignment of target type [-Wcast-align] pp = (struct plock_data *)(send_buf + sizeof(struct dlm_header) + sizeof(struct resource_data)); ^ In file included from dlm_daemon.h:53, from plock.c:9: list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1685:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1685:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1710:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1710:2: note: in expansion of macro 'list_for_each_entry' 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] hd = (struct dlm_header *)buf; ^ In file included from dlm_daemon.h:53, 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1792:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &ls->plock_resources, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:1792:2: note: in expansion of macro 'list_for_each_entry' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:1845:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, po2, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1845:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, po2, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' list_for_each_entry_safe(po, po2, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:1850:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, w2, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:1850:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, w2, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] rd = (struct resource_data *)((char *)hd + sizeof(struct dlm_header)); ^ plock.c:1947:7: warning: cast increases required alignment of target type [-Wcast-align] pp = (struct plock_data *)((char *)rd + sizeof(struct resource_data)); ^ In file included from dlm_daemon.h:53, 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:2002:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2002:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:2030:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2030:2: note: in expansion of macro 'list_for_each_entry_safe' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:2031:3: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, po2, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2031:3: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(po, po2, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' list_for_each_entry_safe(po, po2, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:330:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member), \ ^~~~~~~~~~ plock.c:2039:3: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, w2, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:331:7: note: in expansion of macro 'list_entry' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2039:3: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(w, w2, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:333:20: note: in expansion of macro 'list_entry' 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' 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2086:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &ls->plock_resources, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:2086:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(r, &ls->plock_resources, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2104:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:2104:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(po, &r->locks, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2121:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:2121:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->waiters, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ plock.c:2138:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->pending, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ plock.c:2138:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->pending, list) { ^~~~~~~~~~~~~~~~~~~ In file included from dlm_daemon.h:53, 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] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:285:13: note: in expansion of macro 'list_entry' for (pos = list_entry((head)->next, typeof(*pos), member); \ ^~~~~~~~~~ member.c:38:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &cluster_nodes, list) { ^~~~~~~~~~~~~~~~~~~ list.h:16:2: warning: cast increases required alignment of target type [-Wcast-align] (type *)( (char *)__mptr - offsetof(type,member) );}) ^ list.h:226:2: note: in expansion of macro 'container_of' container_of(ptr, type, member) ^~~~~~~~~~~~ list.h:287:13: note: in expansion of macro 'list_entry' pos = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~ member.c:38:2: note: in expansion of macro 'list_for_each_entry' 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.1.0/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.1.0/dlm_tool' cc main.c -O2 -g -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 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.1.0/fence' cc stonith_helper.c -O2 -g -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:34:14: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 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] 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.1.0/fence' + CFLAGS='-O2 -g' + make -C fence make: Entering directory '/builddir/build/BUILD/dlm-4.1.0/fence' make: Nothing to be done for 'all'. make: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/fence' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.P88cNM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 + cd dlm-4.1.0 + rm -rf /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 + make install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 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.1.0/libdlm' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man3 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64/pkgconfig /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib/udev/rules.d /usr/bin/install -c -m 755 libdlm.so.3.0 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 /usr/bin/install -c -m 755 libdlm_lt.so.3.0 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 cp -a libdlm.so /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 cp -a libdlm.so.3 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 cp -a libdlm_lt.so /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 cp -a libdlm_lt.so.3 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 /usr/bin/install -m 644 libdlm.pc /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64/pkgconfig /usr/bin/install -m 644 libdlm_lt.pc /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libdlm.h /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//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.1.0-1.an8.loongarch64//usr/share/man/man3/ /usr/bin/install -m 644 51-dlm.rules /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib/udev/rules.d make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.1.0/dlm_controld' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man5 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64/pkgconfig /usr/bin/install -m 755 dlm_controld /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -m 755 libdlmcontrol.so.3.2 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 cp -a libdlmcontrol.so /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 cp -a libdlmcontrol.so.3 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64 /usr/bin/install -m 644 libdlmcontrol.pc /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/lib64/pkgconfig /usr/bin/install -m 644 libdlmcontrol.h /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/include /usr/bin/install -m 644 dlm_controld.8 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8/ /usr/bin/install -m 644 dlm.conf.5 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man5/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.1.0/dlm_tool' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_tool /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -m 644 dlm_tool.8 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.1.0/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/fence' + make -C fence install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 make: Entering directory '/builddir/build/BUILD/dlm-4.1.0/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/fence' + install -Dm 0644 init/dlm.service /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/lib/systemd/system/dlm.service + install -Dm 0644 init/dlm.sysconfig /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/etc/sysconfig/dlm + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.1.0-1.an8 --unique-debug-suffix -4.1.0-1.an8.loongarch64 --unique-debug-src-base dlm-4.1.0-1.an8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dlm-4.1.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/lib64/libdlm.so.3.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/lib64/libdlmcontrol.so.3.2 extracting debug info from /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/lib64/libdlm_lt.so.3.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/sbin/dlm_controld extracting debug info from /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/sbin/dlm_stonith extracting debug info from /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/sbin/dlm_tool /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 846 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dlm-4.1.0-1.an8.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.X5JuOt + umask 022 + cd /builddir/build/BUILD + cd dlm-4.1.0 + DOCDIR=/builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/share/doc/dlm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/share/doc/dlm + cp -pr README.license /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64/usr/share/doc/dlm + exit 0 Provides: config(dlm) = 4.1.0-1.an8 dlm = 4.1.0-1.an8 dlm(loongarch-64) = 4.1.0-1.an8 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.so.1()(64bit) ld.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.0)(64bit) libpthread.so.0(GLIBC_2.2)(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.1.0-1.an8.loongarch64 Provides: dlm-debugsource = 4.1.0-1.an8 dlm-debugsource(loongarch-64) = 4.1.0-1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dlm-lib-4.1.0-1.an8.loongarch64 Provides: dlm-lib = 4.1.0-1.an8 dlm-lib(loongarch-64) = 4.1.0-1.an8 libdlm.so.3()(64bit) libdlm_lt.so.3()(64bit) libdlmcontrol.so.3()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld.so.1()(64bit) ld.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.0)(64bit) libpthread.so.0(GLIBC_2.2)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) rtld(GNU_HASH) Conflicts: clusterlib Processing files: dlm-devel-4.1.0-1.an8.loongarch64 Provides: dlm-devel = 4.1.0-1.an8 dlm-devel(loongarch-64) = 4.1.0-1.an8 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.1.0-1.an8.loongarch64 Provides: debuginfo(build-id) = 061c3ea6b27785cd3dd8be323578bc853d23e26b debuginfo(build-id) = 0d5c3fc48357eee0f6f55825be9504bfe54aa628 debuginfo(build-id) = 40a213415974bf98cfa31168c81c7c1fbe118483 dlm-debuginfo = 4.1.0-1.an8 dlm-debuginfo(loongarch-64) = 4.1.0-1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dlm-debugsource(loongarch-64) = 4.1.0-1.an8 Processing files: dlm-lib-debuginfo-4.1.0-1.an8.loongarch64 Provides: debuginfo(build-id) = 3c6cd0721b1f40057a488acb09136bbd00954d5d debuginfo(build-id) = a70a06459487026396f5f12eeee63960185a09a3 debuginfo(build-id) = b17ba9ba50c07f6578e3287e7344308b9d06e0c2 dlm-lib-debuginfo = 4.1.0-1.an8 dlm-lib-debuginfo(loongarch-64) = 4.1.0-1.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dlm-debugsource(loongarch-64) = 4.1.0-1.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 Wrote: /builddir/build/RPMS/dlm-4.1.0-1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/dlm-debugsource-4.1.0-1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/dlm-lib-4.1.0-1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/dlm-devel-4.1.0-1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/dlm-debuginfo-4.1.0-1.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/dlm-lib-debuginfo-4.1.0-1.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rJbhTa + umask 022 + cd /builddir/build/BUILD + cd dlm-4.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dlm-4.1.0-1.an8.loongarch64 + exit 0 Child return code was: 0