../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1423:9: note: in expansion of macro 'list_for_each_entry' 1423 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1423:9: note: in expansion of macro 'list_for_each_entry' 1423 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1425:25: note: in expansion of macro 'list_for_each_entry' 1425 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1425:25: note: in expansion of macro 'list_for_each_entry' 1425 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'check_capability': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1453:25: note: in expansion of macro 'list_entry' 1453 | list_entry(rs->sets.next, struct raid_set, list); | ^~~~~~~~~~ format/ataraid/isw.c: In function 'match_hd_array': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1478:9: note: in expansion of macro 'list_for_each_entry' 1478 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1478:9: note: in expansion of macro 'list_for_each_entry' 1478 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'is_hd_array_available': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1491:9: note: in expansion of macro 'list_for_each_entry' 1491 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1491:9: note: in expansion of macro 'list_for_each_entry' 1491 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1492:17: note: in expansion of macro 'list_for_each_entry' 1492 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1492:17: note: in expansion of macro 'list_for_each_entry' 1492 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_config_disks': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1530:9: note: in expansion of macro 'list_for_each_entry' 1530 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1530:9: note: in expansion of macro 'list_for_each_entry' 1530 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_cal_array_size': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1666:9: note: in expansion of macro 'list_for_each_entry' 1666 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1666:9: note: in expansion of macro 'list_for_each_entry' 1666 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'display_new_volume': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1797:9: note: in expansion of macro 'list_for_each_entry' 1797 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1797:9: note: in expansion of macro 'list_for_each_entry' 1797 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1828:16: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1828 | disk = isw->disk; | ^~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function '_find_group': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1872:9: note: in expansion of macro 'list_for_each_entry' 1872 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1872:9: note: in expansion of macro 'list_for_each_entry' 1872 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1876:17: note: in expansion of macro 'list_for_each_entry' 1876 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1876:17: note: in expansion of macro 'list_for_each_entry' 1876 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1877:25: note: in expansion of macro 'list_for_each_entry' 1877 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1877:25: note: in expansion of macro 'list_for_each_entry' 1877 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_second_volume': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1912:14: note: in expansion of macro 'list_entry' 1912 | rd = list_entry(rs_group->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:1925:44: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1925 | total_size = _cal_array_size(isw_v1->disk, rs, dev1); | ~~~~~~^~~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function 'update_raidset': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:1995:9: note: in expansion of macro 'list_for_each_entry' 1995 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:1995:9: note: in expansion of macro 'list_for_each_entry' 1995 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2027:22: note: in expansion of macro 'list_entry' 2027 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function '_isw_log': format/ataraid/isw.c:2165:28: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2165 | for (d = 0, disk = isw->disk; d < isw->num_disks; d++, disk++) { | ^~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/isw.c:28: format/ataraid/isw.c: In function 'isw_erase_metadata': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2312:9: note: in expansion of macro 'list_for_each_entry' 2312 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2312:9: note: in expansion of macro 'list_for_each_entry' 2312 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_write_all': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2335:9: note: in expansion of macro 'list_for_each_entry' 2335 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2335:9: note: in expansion of macro 'list_for_each_entry' 2335 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_delete_all': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2395:20: note: in expansion of macro 'list_entry' 2395 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2399:20: note: in expansion of macro 'list_entry' 2399 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2415:9: note: in expansion of macro 'list_for_each_entry' 2415 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2415:9: note: in expansion of macro 'list_for_each_entry' 2415 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_delete': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2451:9: note: in expansion of macro 'list_for_each_entry' 2451 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2451:9: note: in expansion of macro 'list_for_each_entry' 2451 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2457:20: note: in expansion of macro 'list_entry' 2457 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2466:20: note: in expansion of macro 'list_entry' 2466 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ format/ataraid/isw.c: In function 'update_metadata': ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2630:31: note: in expansion of macro 'list_entry' 2630 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:2634:33: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2634 | struct isw_disk *disk = isw->disk, *new_disk = NULL; | ^~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/isw.c:28: ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2645:17: note: in expansion of macro 'list_for_each_entry' 2645 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2645:17: note: in expansion of macro 'list_for_each_entry' 2645 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2679:9: note: in expansion of macro 'list_for_each_entry' 2679 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2679:9: note: in expansion of macro 'list_for_each_entry' 2679 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2692:17: note: in expansion of macro 'list_for_each_entry' 2692 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2692:17: note: in expansion of macro 'list_for_each_entry' 2692 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2796:9: note: in expansion of macro 'list_for_each_entry' 2796 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2796:9: note: in expansion of macro 'list_for_each_entry' 2796 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:67:22: note: in expansion of macro 'list_entry' 67 | for (entry = list_entry((head)->next, typeof(*entry), member); \ | ^~~~~~~~~~ format/ataraid/isw.c:2842:9: note: in expansion of macro 'list_for_each_entry' 2842 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:10: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:69:22: note: in expansion of macro 'list_entry' 69 | entry = list_entry(entry->member.next, typeof(*entry), member)) | ^~~~~~~~~~ format/ataraid/isw.c:2842:9: note: in expansion of macro 'list_for_each_entry' 2842 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1850:9: warning: 'strncpy' output truncated before terminating nul copying 24 bytes from a string of the same length [-Wstringop-truncation] 1850 | strncpy((char *) isw->sig, MPB_SIGNATURE, MPB_SIGNATURE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_remove_dev': format/ataraid/isw.c:2370:17: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2370 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2371 | MPB_VERSION_RAID1, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:2375:17: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2375 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2376 | MPB_VERSION_RAID0, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_config_dev': format/ataraid/isw.c:1715:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1715 | strncpy((char *) dev2->volume, rs->name, MAX_RAID_SERIAL_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'update_metadata', inlined from 'isw_create' at format/ataraid/isw.c:2122:9: format/ataraid/isw.c:2749:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2749 | strncpy((char *) new_disk->serial, dev_info_serial_to_isw(di->serial), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2750 | MAX_RAID_SERIAL_LEN); | ~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-10/output-1/host/bin/microblazeel-buildroot-linux-musl-gcc -o libdmraid-events-isw.so -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.o \ -shared -Wl,--discard-all -Wl,--no-undefined -Wl,-soname,libdmraid-events-isw.so \ libdmraid.so -ldevmapper-event -ldevmapper -lpthread /home/autobuild/autobuild/instance-10/output-1/host/lib/gcc/microblazeel-buildroot-linux-musl/11.3.0/../../../../microblazeel-buildroot-linux-musl/bin/ld: cannot find libdmraid.so: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:83: libdmraid-events-isw.so] Error 1 shuffle=0 make[2]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid/lib' make[1]: *** [make.tmpl:120: lib] Error 2 shuffle=0 make[1]: Leaving directory '/home/autobuild/autobuild/instance-10/output-1/build/dmraid-1.0.0.rc16-3/1.0.0.rc16-3/dmraid' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-10/output-1/build/dmraid-1.0.0.rc16-3/.stamp_built] Error 2 shuffle=0 make: Leaving directory '/home/autobuild/autobuild/instance-10/buildroot'