+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/dlm.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kD2jcP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dlm-4.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/dlm-4.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dlm-4.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-dlm_controld-libsystemd-broke-itself.patch):' Patch #0 (0001-dlm_controld-libsystemd-broke-itself.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .0001-dlm_controld-libsystemd-broke-itself.patch --fuzz=0 patching file dlm_controld/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1xWSoy + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.6 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + make for d in libdlm dlm_controld dlm_tool fence; do make -C $d all; done make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/libdlm' cc libdlm.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 'open_control_device': libdlm.c:385:7: error: called object 'minor' is not a function or function pointer minor(st.st_rdev) == minor) { ^~~~~ libdlm.c:372:13: note: declared here int i, rv, minor, found = 0; ^~~~~ libdlm.c: In function 'find_udev_device': libdlm.c:429:36: error: called object 'minor' is not a function or function pointer if (stat(udev_path, &st) == 0 && minor(st.st_rdev) == minor) ^~~~~ libdlm.c:411:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ libdlm.c:451:8: error: called object 'minor' is not a function or function pointer if (minor(st.st_rdev) != minor) ^~~~~ libdlm.c:411:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ 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; ^ libdlm.c: In function 'dlm_release_lockspace': libdlm.c:1413:20: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] release_lockspace(minor(st.st_rdev), flags); ^~~~~ mknod libdlm.c:1413:20: warning: nested extern declaration of 'minor' [-Wnested-externs] make[1]: *** [Makefile:89: libdlm.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/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_node_info': lib.c:549: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:586:7: warning: cast increases required alignment of target type [-Wcast-align] rh = (struct dlmc_header *)reply; ^ lib.c: In function 'dlmc_lockspaces': lib.c:631: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:689: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; ^ action.c: In function 'find_udev_device': action.c:941:31: error: called object 'minor' is not a function or function pointer if (stat(path, &st) == 0 && minor(st.st_rdev) == minor) ^~~~~ action.c:935:56: note: declared here static int find_udev_device(const char *path, uint32_t minor) ^~~~~ 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:805: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:805: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:864: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:864: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:864: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:927: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:927: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:1018: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:1018: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:1147: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:1147: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:1156: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:1156: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:1235: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:1321:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1322: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:1342: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:1448:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1449: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:1620: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:1805:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1806: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:2038: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:2038: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:2092: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:2092: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:2110: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:2110: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:2279: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:2279: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:2339: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:2339: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:2362: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:2362: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:1104: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:1104: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]: *** [Makefile:73: dlm_controld] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/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; ^~ /usr/bin/ld: cannot find -ldlm collect2: error: ld returned 1 exit status make[1]: *** [Makefile:42: dlm_tool] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/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[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/fence' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + make -C fence make: Entering directory '/builddir/build/BUILD/dlm-4.0.6/fence' make: Nothing to be done for 'all'. make: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/fence' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Jpyzbj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64 + cd dlm-4.0.6 + rm -rf /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64 + make install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64 for d in libdlm dlm_controld dlm_tool fence; do make -C $d install; done make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/libdlm' cc libdlm.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 -fPIC -D_REENTRANT -c -o libdlm.o libdlm.c: In function 'open_control_device': libdlm.c:385:7: error: called object 'minor' is not a function or function pointer minor(st.st_rdev) == minor) { ^~~~~ libdlm.c:372:13: note: declared here int i, rv, minor, found = 0; ^~~~~ libdlm.c: In function 'find_udev_device': libdlm.c:429:36: error: called object 'minor' is not a function or function pointer if (stat(udev_path, &st) == 0 && minor(st.st_rdev) == minor) ^~~~~ libdlm.c:411:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ libdlm.c:451:8: error: called object 'minor' is not a function or function pointer if (minor(st.st_rdev) != minor) ^~~~~ libdlm.c:411:56: note: declared here static int find_udev_device(const char *lockspace, int minor, char *udev_path) ^~~~~ 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; ^ libdlm.c: In function 'dlm_release_lockspace': libdlm.c:1413:20: warning: implicit declaration of function 'minor'; did you mean 'mknod'? [-Wimplicit-function-declaration] release_lockspace(minor(st.st_rdev), flags); ^~~~~ mknod libdlm.c:1413:20: warning: nested extern declaration of 'minor' [-Wnested-externs] make[1]: *** [Makefile:89: libdlm.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/dlm_controld' 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; ^ action.c: In function 'find_udev_device': action.c:941:31: error: called object 'minor' is not a function or function pointer if (stat(path, &st) == 0 && minor(st.st_rdev) == minor) ^~~~~ action.c:935:56: note: declared here static int find_udev_device(const char *path, uint32_t minor) ^~~~~ 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:805: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:805: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:864: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:864: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:864: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:927: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:927: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:1018: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:1018: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:1147: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:1147: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:1156: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:1156: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:1235: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:1321:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1322: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:1342: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:1448:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1449: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:1620: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:1805:7: warning: cast increases required alignment of target type [-Wcast-align] hd = (struct dlm_header *)buf; ^ daemon_cpg.c:1806: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:2038: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:2038: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:2092: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:2092: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:2110: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:2110: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:2279: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:2279: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:2339: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:2339: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:2362: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:2362: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:1104: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:1104: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]: *** [Makefile:73: dlm_controld] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/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; ^~ /usr/bin/ld: cannot find -ldlm collect2: error: ld returned 1 exit status make[1]: *** [Makefile:42: dlm_tool] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.6/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/fence' + make -C fence install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64 make: Entering directory '/builddir/build/BUILD/dlm-4.0.6/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/dlm-4.0.6/fence' + install -Dm 0644 init/dlm.service /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/lib/systemd/system/dlm.service + install -Dm 0644 init/dlm.sysconfig /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/etc/sysconfig/dlm + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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-mangle-shebangs Processing files: dlm-4.0.6-5.fc28.riscv64 error: File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/sbin/dlm_controld error: File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/sbin/dlm_tool error: File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/share/man/man5/dlm* error: File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/share/man/man3/*dlm* Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2DSlt0 + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.6 + DOCDIR=/builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/share/doc/dlm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/share/doc/dlm + cp -pr README.license /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/share/doc/dlm + exit 0 RPM build errors: File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/sbin/dlm_controld File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/sbin/dlm_tool File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/share/man/man5/dlm* File not found: /builddir/build/BUILDROOT/dlm-4.0.6-5.fc28.riscv64/usr/share/man/man3/*dlm* ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff