Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/dlm.spec'], gid=135printOutput=FalsechrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-26009/root'user='mockbuild'timeout=0logger=env={'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}shell=Falseuid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv6hl --nodeps /builddir/build/SPECS/dlm.spec'] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: armv6hl Building for target armv6hl Wrote: /builddir/build/SRPMS/dlm-4.0.1-5bs02fc23.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/dlm.spec '], gid=135printOutput=FalsechrootPath='/var/lib/mock/fedora-23-armhfp-pidora-round2-root-26009/root'user='mockbuild'timeout=0logger=env={'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}shell=Falseuid=1000private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv6hl --nodeps /builddir/build/SPECS/dlm.spec '] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'CCACHE_UMASK': '002', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: armv6hl Building for target armv6hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6371oh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dlm-4.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/dlm-4.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dlm-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.knsXtu + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.1 + CFLAGS='-O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp' + make make -C libdlm all make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.1/libdlm' cc libdlm.c -O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp -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 -fPIC -D_REENTRANT -c -o libdlm.o libdlm.c: In function 'do_dlm_dispatch_v5': libdlm.c:474: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:492:22: warning: cast increases required alignment of target type [-Wcast-align] newstat = read(fd, (struct dlm_lock_result_v5 *)fullresult, ^ libdlm.c:500: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:534: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:720: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:788: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:1241: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:1265: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 -march=armv6 -mfloat-abi=hard -mfpu=vfp -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 -fPIC -c -o libdlm_lt.o libdlm.c: In function 'do_dlm_dispatch_v5': libdlm.c:474: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:492:22: warning: cast increases required alignment of target type [-Wcast-align] newstat = read(fd, (struct dlm_lock_result_v5 *)fullresult, ^ libdlm.c:500: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:534: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:720: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:788: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:1241: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:1265: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' > libdlm.pc cat libdlm.pc.in | sed -e 's#@PREFIX@#/usr#g' > libdlm_lt.pc make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/libdlm' make -C dlm_controld all make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.1/dlm_controld' cc lib.c -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 -fPIE -DPIE -I../include -I../libdlm -DUSE_SD_NOTIFY -Wl,-z,relro -pie -shared -fPIC -o libdlmcontrol.so.3.1 -Wl,-soname=libdlmcontrol.so.3 lib.c: In function 'dlmc_print_status': lib.c:345:14: warning: variable 'off' set but not used [-Wunused-but-set-variable] int fd, rv, off; ^ lib.c: In function 'dlmc_node_info': lib.c:508: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:545:7: warning: cast increases required alignment of target type [-Wcast-align] rh = (struct dlmc_header *)reply; ^ lib.c: In function 'dlmc_lockspaces': lib.c:590: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:648:7: warning: cast increases required alignment of target type [-Wcast-align] rh = (struct dlmc_header *)reply; ^ ln -sf libdlmcontrol.so.3.1 libdlmcontrol.so ln -sf libdlmcontrol.so.3.1 libdlmcontrol.so.3 cc action.c cpg.c daemon_cpg.c crc.c fence_config.c fence.c main.c plock.c config.c member.c logging.c rbtree.c -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 -fPIE -DPIE -I../include -I../libdlm -DUSE_SD_NOTIFY -Wl,-z,now -Wl,-z,relro -pie -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -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:131: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:50:0, from cpg.c:9: 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:139: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:139: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:150: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:150: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:161: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:161: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:172: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:172: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:172: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:176: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:176: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:176: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:188: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:188: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:188: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:196: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:196: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:196: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:259: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:259: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:416: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:416: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:484: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:484: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:513: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:519: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:519: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:532: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:537: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:537: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:538: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:538: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:541: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:541: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:553: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:661: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:665: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:665: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:687: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:701: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:701: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:701: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:728: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:732: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:732: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:755: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:862: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:50:0, from cpg.c:9: 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:915: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:915: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:930: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:930: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:949:7: warning: cast increases required alignment of target type [-Wcast-align] li = (struct ls_info *)((char *)hd + sizeof(struct dlm_header)); ^ cpg.c:950: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:1011:7: warning: cast increases required alignment of target type [-Wcast-align] li = (struct ls_info *)((char *)hd + sizeof(struct dlm_header)); ^ cpg.c:1012: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:1062:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ cpg.c:1063:7: warning: cast increases required alignment of target type [-Wcast-align] li = (struct ls_info *)(buf + sizeof(*hd)); ^ cpg.c:1064: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:50:0, from cpg.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); \ ^ cpg.c:1091: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:1091: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:1130: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:1130: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:1141: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:1141: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:1159: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:1159: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:1168: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:1181: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:1181: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:1230: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:1263: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:1263: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:1263: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:1359: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:1359: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:1440: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:1440: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:1830: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:1830: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:1833: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:1893: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:1906: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:1906: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:1915: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:1915: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:1935: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:1939: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:1939: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:1951: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:1963: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:1963: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:1966: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:1966: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:300: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:50:0, 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:355: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:355: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:366: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:366: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:389: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:389: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:396: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:396: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:450: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:450: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:450: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:665: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:665: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:802: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:802: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:857: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:857: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:857: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:915: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:915: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:1006: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:1006: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:1135: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:1135: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:1144: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:1144: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:1223: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:1309:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1310: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:1330: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:1436:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1437: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:1608: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:1793:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1794:7: warning: cast increases required alignment of target type [-Wcast-align] pr = (struct protocol *)(buf + sizeof(*hd)); ^ In file included from dlm_daemon.h:50:0, from daemon_cpg.c:9: 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:2007: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:2007: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:2061: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:2061: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:2079: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:2079: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:2248: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:2248: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:2308: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:2308: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:2331: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:2331: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:50:0, from main.c:10: 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:204: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:204: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:216: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:216: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:231: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:231: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:256: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:256:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(fs, &fs_register_list, list) { ^ main.c: In function 'do_reply': main.c:545:6: warning: cast increases required alignment of target type [-Wcast-align] h = (struct dlmc_header *)reply; ^ In file included from dlm_daemon.h:50:0, 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:1098: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:1098:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(ls, &lockspaces, list) ^ In file included from dlm_daemon.h:50:0, 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:700: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:700: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:700: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:987:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ In file included from dlm_daemon.h:50:0, 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:1039: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:1039: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:1056: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:1056: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:1104: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:1104: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:1104: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:1118: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:1118: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:1118: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:1264: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:1264: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:1277: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:1277: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:1439: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:1439: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:1470: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:1470: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:1615: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:1615: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:1615:2: note: in expansion of macro 'list_for_each_entry_safe' list_for_each_entry_safe(sm, sm2, &ls->saved_messages, list) { ^ plock.c:1616: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:1663:7: warning: cast increases required alignment of target type [-Wcast-align] rd = (struct resource_data *)(send_buf + sizeof(struct dlm_header)); ^ plock.c:1678: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:50:0, 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:1680: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:1680: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:1705: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:1705: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:1756:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ In file included from dlm_daemon.h:50:0, 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:1787: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:1787: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:1840: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:1840: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:1840: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:1845: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:1845: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:1845: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:1881:7: warning: cast increases required alignment of target type [-Wcast-align] rd = (struct resource_data *)((char *)hd + sizeof(struct dlm_header)); ^ plock.c:1942: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:50:0, 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:1997: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:1997: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:1997: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:2025: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:2025: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:2025: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:2026: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:2026: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:2026: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:2034: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:2034: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:2034: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:2081: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:2081: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:2099: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:2099: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:2116: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:2116: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:2133: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:2133:3: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(w, &r->pending, list) { ^ plock.c: In function 'write_result': plock.c:691:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(plock_device_fd, in, sizeof(struct dlm_plock_info)); ^ In file included from dlm_daemon.h:50:0, 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:36: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:36:2: note: in expansion of macro 'list_for_each_entry' list_for_each_entry(node, &cluster_nodes, list) { ^ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/dlm_controld' make -C dlm_tool all make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.1/dlm_tool' cc main.c -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 -fPIE -DPIE -I../include -I../libdlm -I../dlm_controld -Wl,-z,now -Wl,-z,relro -pie -L../libdlm -L../dlm_controld -lpthread -ldlm -ldlmcontrol -o dlm_tool main.c: In function 'print_lkb': main.c:674:6: warning: variable 'rv' set but not used [-Wunused-but-set-variable] int rv; ^ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/dlm_tool' + CFLAGS='-O2 -g -march=armv6 -mfloat-abi=hard -mfpu=vfp' + make -C fence make: Entering directory '/builddir/build/BUILD/dlm-4.0.1/fence' cc stonith_helper.c -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 -fPIE -DPIE `xml2-config --cflags` -I../include -Wl,-z,now -Wl,-z,relro -pie `xml2-config --libs` -ldl -o dlm_stonith -L. stonith_helper.c: In function 'get_options': stonith_helper.c:31:43: warning: comparison is always true due to limited range of data type [-Wtype-limits] while ((c = getopt(argc, argv, "n:t:")) != -1) { ^ make: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/fence' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cWlDsT + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm ++ dirname /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm + cd dlm-4.0.1 + rm -rf /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm + make install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm make -C libdlm install make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.1/libdlm' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man3 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib/pkgconfig /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//lib/udev/rules.d /usr/bin/install -c -m 755 libdlm.so.3.0 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib /usr/bin/install -c -m 755 libdlm_lt.so.3.0 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib cp -a libdlm.so /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib cp -a libdlm.so.3 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib cp -a libdlm_lt.so /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib cp -a libdlm_lt.so.3 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib /usr/bin/install -m 644 libdlm.pc /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib/pkgconfig /usr/bin/install -m 644 libdlm_lt.pc /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib/pkgconfig /usr/bin/install -c -m 644 libdlm.h /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/include /usr/bin/install -m 644 man/dlm_cleanup.3 man/dlm_close_lockspace.3 man/dlm_create_lockspace.3 man/dlm_dispatch.3 man/dlm_get_fd.3 man/dlm_lock.3 man/dlm_lock_wait.3 man/dlm_ls_lock.3 man/dlm_ls_lock_wait.3 man/dlm_ls_lockx.3 man/dlm_ls_pthread_init.3 man/dlm_ls_unlock.3 man/dlm_ls_unlock_wait.3 man/dlm_new_lockspace.3 man/dlm_open_lockspace.3 man/dlm_pthread_init.3 man/dlm_release_lockspace.3 man/dlm_unlock.3 man/dlm_unlock_wait.3 man/libdlm.3 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man3/ /usr/bin/install -m 644 51-dlm.rules /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//lib/udev/rules.d make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/libdlm' make -C dlm_controld install make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.1/dlm_controld' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man5 /usr/bin/install -m 755 dlm_controld /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/sbin /usr/bin/install -m 755 libdlmcontrol.so.3.1 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib cp -a libdlmcontrol.so /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib cp -a libdlmcontrol.so.3 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/lib /usr/bin/install -m 644 libdlmcontrol.h /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/include /usr/bin/install -m 644 dlm_controld.8 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man8/ /usr/bin/install -m 644 dlm.conf.5 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man5/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/dlm_controld' make -C dlm_tool install make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.1/dlm_tool' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_tool /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/sbin /usr/bin/install -m 644 dlm_tool.8 /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/dlm_tool' + make -C fence install LIBDIR=/usr/lib DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm make: Entering directory '/builddir/build/BUILD/dlm-4.0.1/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm//usr/sbin make: Leaving directory '/builddir/build/BUILD/dlm-4.0.1/fence' + install -Dm 0644 init/dlm.service /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/lib/systemd/system/dlm.service + install -Dm 0644 init/dlm.sysconfig /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/etc/sysconfig/dlm + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/dlm-4.0.1 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/lib/libdlm.so.3.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/lib/libdlm_lt.so.3.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/lib/libdlmcontrol.so.3.1 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/sbin/dlm_tool extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/sbin/dlm_stonith extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/sbin/dlm_controld /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/libdlmcontrol.so.3.1.debug to /usr/lib/debug/usr/lib/libdlmcontrol.so.3.debug symlinked /usr/lib/debug/usr/lib/libdlm_lt.so.3.0.debug to /usr/lib/debug/usr/lib/libdlm_lt.so.debug symlinked /usr/lib/debug/usr/lib/libdlm_lt.so.3.0.debug to /usr/lib/debug/usr/lib/libdlm_lt.so.3.debug symlinked /usr/lib/debug/usr/lib/libdlm.so.3.0.debug to /usr/lib/debug/usr/lib/libdlm.so.debug symlinked /usr/lib/debug/usr/lib/libdlm.so.3.0.debug to /usr/lib/debug/usr/lib/libdlm.so.3.debug symlinked /usr/lib/debug/usr/lib/libdlmcontrol.so.3.1.debug to /usr/lib/debug/usr/lib/libdlmcontrol.so.debug 743 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: dlm-4.0.1-5bs02fc23.armv6hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bKKrxY + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.1 + DOCDIR=/builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/share/doc/dlm + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/share/doc/dlm + cp -pr README.license /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm/usr/share/doc/dlm + exit 0 Provides: config(dlm) = 4.0.1-5bs02fc23 dlm = 4.0.1-5bs02fc23 dlm(armv6hl-32) = 4.0.1-5bs02fc23 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: libc.so.6 libc.so.6(GLIBC_2.4) libcfg.so.6 libcfg.so.6(COROSYNC_CFG_0.82) libcmap.so.4 libcmap.so.4(COROSYNC_CMAP_1.0) libcpg.so.4 libcpg.so.4(COROSYNC_CPG_1.0) libdl.so.2 libdl.so.2(GLIBC_2.4) libdlm.so.3 libdlmcontrol.so.3 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libquorum.so.5 libquorum.so.5(COROSYNC_QUORUM_1.0) librt.so.1 librt.so.1(GLIBC_2.4) libsystemd.so.0 libsystemd.so.0(LIBSYSTEMD_209) libxml2.so.2 libz.so.1 rtld(GNU_HASH) Conflicts: cman Processing files: dlm-debuginfo-4.0.1-5bs02fc23.armv6hl Provides: dlm-debuginfo = 4.0.1-5bs02fc23 dlm-debuginfo(armv6hl-32) = 4.0.1-5bs02fc23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dlm-lib-4.0.1-5bs02fc23.armv6hl Provides: dlm-lib = 4.0.1-5bs02fc23 dlm-lib(armv6hl-32) = 4.0.1-5bs02fc23 libdlm.so.3 libdlm_lt.so.3 libdlmcontrol.so.3 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: libc.so.6 libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libpthread.so.0 libpthread.so.0(GLIBC_2.4) rtld(GNU_HASH) Conflicts: clusterlib Processing files: dlm-devel-4.0.1-5bs02fc23.armv6hl Provides: dlm-devel = 4.0.1-5bs02fc23 dlm-devel(armv6hl-32) = 4.0.1-5bs02fc23 pkgconfig(libdlm) = 4.0.0 pkgconfig(libdlm_lt) = 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 libdlm_lt.so.3 libdlmcontrol.so.3 Conflicts: clusterlib-devel Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm Wrote: /builddir/build/RPMS/dlm-4.0.1-5bs02fc23.armv6hl.rpm Wrote: /builddir/build/RPMS/dlm-debuginfo-4.0.1-5bs02fc23.armv6hl.rpm Wrote: /builddir/build/RPMS/dlm-lib-4.0.1-5bs02fc23.armv6hl.rpm Wrote: /builddir/build/RPMS/dlm-devel-4.0.1-5bs02fc23.armv6hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.O95L9i + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dlm-4.0.1-5bs02fc23.arm + exit 0 Child return code was: 0 LEAVE do -->