I: pbuilder: network access will be disabled during build I: Current time: Tue Aug 24 15:47:41 -12 2021 I: pbuilder-time-stamp: 1629863261 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [dmraid_1.0.0.rc16-8.dsc] I: copying [./dmraid_1.0.0.rc16.orig.tar.gz] I: copying [./dmraid_1.0.0.rc16-8.diff.gz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/tmp/dpkg-verify-sig.rldZiETq/trustedkeys.kbx': General error gpgv: Signature made Sat Mar 11 22:33:04 2017 -12 gpgv: using RSA key 7D887DC8BA7BBBA7B835E3BADCE310E7864CC8BF gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./dmraid_1.0.0.rc16-8.dsc dpkg-source: info: extracting dmraid in dmraid-1.0.0.rc16 dpkg-source: info: unpacking dmraid_1.0.0.rc16.orig.tar.gz dpkg-source: info: applying dmraid_1.0.0.rc16-8.diff.gz dpkg-source: info: upstream files that have been modified: dmraid-1.0.0.rc16/1.0.0.rc16/autoconf/config.guess dmraid-1.0.0.rc16/1.0.0.rc16/autoconf/config.sub I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/8262/tmp/hooks/D02_print_environment starting I: set BUILDDIR='/build' BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' BUILDUSERNAME='pbuilder1' BUILD_ARCH='armhf' DEBIAN_FRONTEND='noninteractive' DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=3' DISTRIBUTION='' HOME='/root' HOST_ARCH='armhf' IFS=' ' INVOCATION_ID='03fecabe99ac4cb79b16239fb23c7dfa' LANG='C' LANGUAGE='en_US:en' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' PBCURRENTCOMMANDLINEOPERATION='build' PBUILDER_OPERATION='build' PBUILDER_PKGDATADIR='/usr/share/pbuilder' PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' PBUILDER_SYSCONFDIR='/etc' PPID='8262' PS1='# ' PS2='> ' PS4='+ ' PWD='/' SHELL='/bin/bash' SHLVL='2' SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.7oLKTi2l7R/pbuilderrc_imMR --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.7oLKTi2l7R/b1 --logfile b1/build.log dmraid_1.0.0.rc16-8.dsc' SUDO_GID='114' SUDO_UID='108' SUDO_USER='jenkins' TERM='unknown' TZ='/usr/share/zoneinfo/Etc/GMT+12' USER='root' _='/usr/bin/systemd-run' http_proxy='http://10.0.0.15:8000/' I: uname -a Linux virt64a 5.10.0-8-arm64 #1 SMP Debian 5.10.46-4 (2021-08-03) aarch64 GNU/Linux I: ls -l /bin total 3580 -rwxr-xr-x 1 root root 816764 Aug 4 08:25 bash -rwxr-xr-x 3 root root 26052 Jul 20 2020 bunzip2 -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzcat lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep -rwxr-xr-x 3 root root 26052 Jul 20 2020 bzip2 -rwxr-xr-x 1 root root 9636 Jul 20 2020 bzip2recover lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore -rwxr-xr-x 1 root root 26668 Sep 22 2020 cat -rwxr-xr-x 1 root root 43104 Sep 22 2020 chgrp -rwxr-xr-x 1 root root 38984 Sep 22 2020 chmod -rwxr-xr-x 1 root root 43112 Sep 22 2020 chown -rwxr-xr-x 1 root root 92616 Sep 22 2020 cp -rwxr-xr-x 1 root root 75524 Dec 10 2020 dash -rwxr-xr-x 1 root root 75880 Sep 22 2020 date -rwxr-xr-x 1 root root 55436 Sep 22 2020 dd -rwxr-xr-x 1 root root 59912 Sep 22 2020 df -rwxr-xr-x 1 root root 96764 Sep 22 2020 dir -rwxr-xr-x 1 root root 55012 Jul 28 07:09 dmesg lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname -rwxr-xr-x 1 root root 22508 Sep 22 2020 echo -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep -rwxr-xr-x 1 root root 22496 Sep 22 2020 false -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep -rwxr-xr-x 1 root root 47492 Jul 28 07:09 findmnt -rwsr-xr-x 1 root root 26076 Feb 26 04:12 fusermount -rwxr-xr-x 1 root root 124508 Nov 9 2020 grep -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe -rwxr-xr-x 1 root root 64212 Mar 2 11:30 gzip -rwxr-xr-x 1 root root 13784 Nov 6 2019 hostname -rwxr-xr-x 1 root root 43180 Sep 22 2020 ln -rwxr-xr-x 1 root root 35068 Feb 7 2020 login -rwxr-xr-x 1 root root 96764 Sep 22 2020 ls -rwxr-xr-x 1 root root 99940 Jul 28 07:09 lsblk -rwxr-xr-x 1 root root 51408 Sep 22 2020 mkdir -rwxr-xr-x 1 root root 43184 Sep 22 2020 mknod -rwxr-xr-x 1 root root 30780 Sep 22 2020 mktemp -rwxr-xr-x 1 root root 34408 Jul 28 07:09 more -rwsr-xr-x 1 root root 34400 Jul 28 07:09 mount -rwxr-xr-x 1 root root 9824 Jul 28 07:09 mountpoint -rwxr-xr-x 1 root root 88524 Sep 22 2020 mv lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 26652 Sep 22 2020 pwd lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash -rwxr-xr-x 1 root root 30740 Sep 22 2020 readlink -rwxr-xr-x 1 root root 43104 Sep 22 2020 rm -rwxr-xr-x 1 root root 30732 Sep 22 2020 rmdir -rwxr-xr-x 1 root root 14144 Sep 27 2020 run-parts -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed lrwxrwxrwx 1 root root 4 Aug 20 21:25 sh -> dash -rwxr-xr-x 1 root root 22532 Sep 22 2020 sleep -rwxr-xr-x 1 root root 55360 Sep 22 2020 stty -rwsr-xr-x 1 root root 46704 Jul 28 07:09 su -rwxr-xr-x 1 root root 22532 Sep 22 2020 sync -rwxr-xr-x 1 root root 340872 Feb 16 2021 tar -rwxr-xr-x 1 root root 9808 Sep 27 2020 tempfile -rwxr-xr-x 1 root root 67696 Sep 22 2020 touch -rwxr-xr-x 1 root root 22496 Sep 22 2020 true -rwxr-xr-x 1 root root 9636 Feb 26 04:12 ulockmgr_server -rwsr-xr-x 1 root root 22108 Jul 28 07:09 umount -rwxr-xr-x 1 root root 22520 Sep 22 2020 uname -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress -rwxr-xr-x 1 root root 96764 Sep 22 2020 vdir -rwxr-xr-x 1 root root 38512 Jul 28 07:09 wdctl lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew I: user script /srv/workspace/pbuilder/8262/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: debhelper (>= 9), libdevmapper-dev, libklibc-dev, libselinux1-dev, quilt (>= 0.40), autotools-dev dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19398 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on libdevmapper-dev; however: Package libdevmapper-dev is not installed. pbuilder-satisfydepends-dummy depends on libklibc-dev; however: Package libklibc-dev is not installed. pbuilder-satisfydepends-dummy depends on libselinux1-dev; however: Package libselinux1-dev is not installed. pbuilder-satisfydepends-dummy depends on quilt (>= 0.40); however: Package quilt is not installed. pbuilder-satisfydepends-dummy depends on autotools-dev; however: Package autotools-dev is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} debhelper{a} dh-autoreconf{a} dh-strip-nondeterminism{a} diffstat{a} dmsetup{a} dwz{a} ed{a} file{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libdebhelper-perl{a} libdevmapper-dev{a} libdevmapper-event1.02.1{a} libdevmapper1.02.1{a} libelf1{a} libfile-stripnondeterminism-perl{a} libicu67{a} libklibc{a} libklibc-dev{a} libmagic-mgc{a} libmagic1{a} libpcre2-16-0{a} libpcre2-32-0{a} libpcre2-dev{a} libpcre2-posix2{a} libpipeline1{a} libselinux1-dev{a} libsepol1-dev{a} libsigsegv2{a} libsub-override-perl{a} libtool{a} libuchardet0{a} libudev-dev{a} libxml2{a} m4{a} man-db{a} po-debconf{a} quilt{a} sensible-utils{a} The following packages are RECOMMENDED but will NOT be installed: curl less libarchive-cpio-perl libltdl-dev libmail-sendmail-perl lynx wget 0 packages upgraded, 47 newly installed, 0 to remove and 0 not upgraded. Need to get 20.4 MB of archives. After unpacking 70.6 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian bullseye/main armhf bsdextrautils armhf 2.36.1-8 [138 kB] Get: 2 http://deb.debian.org/debian bullseye/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB] Get: 3 http://deb.debian.org/debian bullseye/main armhf groff-base armhf 1.22.4-6 [847 kB] Get: 4 http://deb.debian.org/debian bullseye/main armhf libpipeline1 armhf 1.5.3-1 [30.1 kB] Get: 5 http://deb.debian.org/debian bullseye/main armhf man-db armhf 2.9.4-2 [1319 kB] Get: 6 http://deb.debian.org/debian bullseye/main armhf sensible-utils all 0.0.14 [14.8 kB] Get: 7 http://deb.debian.org/debian bullseye/main armhf libmagic-mgc armhf 1:5.39-3 [273 kB] Get: 8 http://deb.debian.org/debian bullseye/main armhf libmagic1 armhf 1:5.39-3 [117 kB] Get: 9 http://deb.debian.org/debian bullseye/main armhf file armhf 1:5.39-3 [68.1 kB] Get: 10 http://deb.debian.org/debian bullseye/main armhf gettext-base armhf 0.21-4 [171 kB] Get: 11 http://deb.debian.org/debian bullseye/main armhf libsigsegv2 armhf 2.13-1 [34.0 kB] Get: 12 http://deb.debian.org/debian bullseye/main armhf m4 armhf 1.4.18-5 [192 kB] Get: 13 http://deb.debian.org/debian bullseye/main armhf autoconf all 2.69-14 [313 kB] Get: 14 http://deb.debian.org/debian bullseye/main armhf autotools-dev all 20180224.1+nmu1 [77.1 kB] Get: 15 http://deb.debian.org/debian bullseye/main armhf automake all 1:1.16.3-2 [814 kB] Get: 16 http://deb.debian.org/debian bullseye/main armhf autopoint all 0.21-4 [510 kB] Get: 17 http://deb.debian.org/debian bullseye/main armhf libdebhelper-perl all 13.3.4 [189 kB] Get: 18 http://deb.debian.org/debian bullseye/main armhf libtool all 2.4.6-15 [513 kB] Get: 19 http://deb.debian.org/debian bullseye/main armhf dh-autoreconf all 20 [17.1 kB] Get: 20 http://deb.debian.org/debian bullseye/main armhf libarchive-zip-perl all 1.68-1 [104 kB] Get: 21 http://deb.debian.org/debian bullseye/main armhf libsub-override-perl all 0.09-2 [10.2 kB] Get: 22 http://deb.debian.org/debian bullseye/main armhf libfile-stripnondeterminism-perl all 1.12.0-1 [26.3 kB] Get: 23 http://deb.debian.org/debian bullseye/main armhf dh-strip-nondeterminism all 1.12.0-1 [15.4 kB] Get: 24 http://deb.debian.org/debian bullseye/main armhf libelf1 armhf 0.183-1 [161 kB] Get: 25 http://deb.debian.org/debian bullseye/main armhf dwz armhf 0.13+20210201-1 [179 kB] Get: 26 http://deb.debian.org/debian bullseye/main armhf libicu67 armhf 67.1-7 [8319 kB] Get: 27 http://deb.debian.org/debian bullseye/main armhf libxml2 armhf 2.9.10+dfsg-6.7 [602 kB] Get: 28 http://deb.debian.org/debian bullseye/main armhf gettext armhf 0.21-4 [1243 kB] Get: 29 http://deb.debian.org/debian bullseye/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 30 http://deb.debian.org/debian bullseye/main armhf po-debconf all 1.0.21+nmu1 [248 kB] Get: 31 http://deb.debian.org/debian bullseye/main armhf debhelper all 13.3.4 [1049 kB] Get: 32 http://deb.debian.org/debian bullseye/main armhf diffstat armhf 1.64-1 [34.6 kB] Get: 33 http://deb.debian.org/debian bullseye/main armhf libdevmapper1.02.1 armhf 2:1.02.175-2.1 [135 kB] Get: 34 http://deb.debian.org/debian bullseye/main armhf dmsetup armhf 2:1.02.175-2.1 [92.1 kB] Get: 35 http://deb.debian.org/debian bullseye/main armhf ed armhf 1.17-1 [56.7 kB] Get: 36 http://deb.debian.org/debian bullseye/main armhf libdevmapper-event1.02.1 armhf 2:1.02.175-2.1 [22.2 kB] Get: 37 http://deb.debian.org/debian bullseye/main armhf libudev-dev armhf 247.3-6 [123 kB] Get: 38 http://deb.debian.org/debian bullseye/main armhf libsepol1-dev armhf 3.1-1 [317 kB] Get: 39 http://deb.debian.org/debian bullseye/main armhf libpcre2-16-0 armhf 10.36-2 [197 kB] Get: 40 http://deb.debian.org/debian bullseye/main armhf libpcre2-32-0 armhf 10.36-2 [188 kB] Get: 41 http://deb.debian.org/debian bullseye/main armhf libpcre2-posix2 armhf 10.36-2 [48.5 kB] Get: 42 http://deb.debian.org/debian bullseye/main armhf libpcre2-dev armhf 10.36-2 [638 kB] Get: 43 http://deb.debian.org/debian bullseye/main armhf libselinux1-dev armhf 3.1-3 [163 kB] Get: 44 http://deb.debian.org/debian bullseye/main armhf libdevmapper-dev armhf 2:1.02.175-2.1 [52.0 kB] Get: 45 http://deb.debian.org/debian bullseye/main armhf libklibc armhf 2.0.8-6.1 [54.2 kB] Get: 46 http://deb.debian.org/debian bullseye/main armhf libklibc-dev armhf 2.0.8-6.1 [228 kB] Get: 47 http://deb.debian.org/debian bullseye/main armhf quilt all 0.66-2.1 [319 kB] Fetched 20.4 MB in 3s (6918 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19398 files and directories currently installed.) Preparing to unpack .../00-bsdextrautils_2.36.1-8_armhf.deb ... Unpacking bsdextrautils (2.36.1-8) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../01-libuchardet0_0.0.7-1_armhf.deb ... Unpacking libuchardet0:armhf (0.0.7-1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.4-6_armhf.deb ... Unpacking groff-base (1.22.4-6) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../03-libpipeline1_1.5.3-1_armhf.deb ... Unpacking libpipeline1:armhf (1.5.3-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.9.4-2_armhf.deb ... Unpacking man-db (2.9.4-2) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../05-sensible-utils_0.0.14_all.deb ... Unpacking sensible-utils (0.0.14) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../06-libmagic-mgc_1%3a5.39-3_armhf.deb ... Unpacking libmagic-mgc (1:5.39-3) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../07-libmagic1_1%3a5.39-3_armhf.deb ... Unpacking libmagic1:armhf (1:5.39-3) ... Selecting previously unselected package file. Preparing to unpack .../08-file_1%3a5.39-3_armhf.deb ... Unpacking file (1:5.39-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../09-gettext-base_0.21-4_armhf.deb ... Unpacking gettext-base (0.21-4) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../10-libsigsegv2_2.13-1_armhf.deb ... Unpacking libsigsegv2:armhf (2.13-1) ... Selecting previously unselected package m4. Preparing to unpack .../11-m4_1.4.18-5_armhf.deb ... Unpacking m4 (1.4.18-5) ... Selecting previously unselected package autoconf. Preparing to unpack .../12-autoconf_2.69-14_all.deb ... Unpacking autoconf (2.69-14) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../13-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../14-automake_1%3a1.16.3-2_all.deb ... Unpacking automake (1:1.16.3-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../15-autopoint_0.21-4_all.deb ... Unpacking autopoint (0.21-4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../16-libdebhelper-perl_13.3.4_all.deb ... Unpacking libdebhelper-perl (13.3.4) ... Selecting previously unselected package libtool. Preparing to unpack .../17-libtool_2.4.6-15_all.deb ... Unpacking libtool (2.4.6-15) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../18-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../19-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../20-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../21-libfile-stripnondeterminism-perl_1.12.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../22-dh-strip-nondeterminism_1.12.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.0-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../23-libelf1_0.183-1_armhf.deb ... Unpacking libelf1:armhf (0.183-1) ... Selecting previously unselected package dwz. Preparing to unpack .../24-dwz_0.13+20210201-1_armhf.deb ... Unpacking dwz (0.13+20210201-1) ... Selecting previously unselected package libicu67:armhf. Preparing to unpack .../25-libicu67_67.1-7_armhf.deb ... Unpacking libicu67:armhf (67.1-7) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../26-libxml2_2.9.10+dfsg-6.7_armhf.deb ... Unpacking libxml2:armhf (2.9.10+dfsg-6.7) ... Selecting previously unselected package gettext. Preparing to unpack .../27-gettext_0.21-4_armhf.deb ... Unpacking gettext (0.21-4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../28-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../29-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../30-debhelper_13.3.4_all.deb ... Unpacking debhelper (13.3.4) ... Selecting previously unselected package diffstat. Preparing to unpack .../31-diffstat_1.64-1_armhf.deb ... Unpacking diffstat (1.64-1) ... Selecting previously unselected package libdevmapper1.02.1:armhf. Preparing to unpack .../32-libdevmapper1.02.1_2%3a1.02.175-2.1_armhf.deb ... Unpacking libdevmapper1.02.1:armhf (2:1.02.175-2.1) ... Selecting previously unselected package dmsetup. Preparing to unpack .../33-dmsetup_2%3a1.02.175-2.1_armhf.deb ... Unpacking dmsetup (2:1.02.175-2.1) ... Selecting previously unselected package ed. Preparing to unpack .../34-ed_1.17-1_armhf.deb ... Unpacking ed (1.17-1) ... Selecting previously unselected package libdevmapper-event1.02.1:armhf. Preparing to unpack .../35-libdevmapper-event1.02.1_2%3a1.02.175-2.1_armhf.deb ... Unpacking libdevmapper-event1.02.1:armhf (2:1.02.175-2.1) ... Selecting previously unselected package libudev-dev:armhf. Preparing to unpack .../36-libudev-dev_247.3-6_armhf.deb ... Unpacking libudev-dev:armhf (247.3-6) ... Selecting previously unselected package libsepol1-dev:armhf. Preparing to unpack .../37-libsepol1-dev_3.1-1_armhf.deb ... Unpacking libsepol1-dev:armhf (3.1-1) ... Selecting previously unselected package libpcre2-16-0:armhf. Preparing to unpack .../38-libpcre2-16-0_10.36-2_armhf.deb ... Unpacking libpcre2-16-0:armhf (10.36-2) ... Selecting previously unselected package libpcre2-32-0:armhf. Preparing to unpack .../39-libpcre2-32-0_10.36-2_armhf.deb ... Unpacking libpcre2-32-0:armhf (10.36-2) ... Selecting previously unselected package libpcre2-posix2:armhf. Preparing to unpack .../40-libpcre2-posix2_10.36-2_armhf.deb ... Unpacking libpcre2-posix2:armhf (10.36-2) ... Selecting previously unselected package libpcre2-dev:armhf. Preparing to unpack .../41-libpcre2-dev_10.36-2_armhf.deb ... Unpacking libpcre2-dev:armhf (10.36-2) ... Selecting previously unselected package libselinux1-dev:armhf. Preparing to unpack .../42-libselinux1-dev_3.1-3_armhf.deb ... Unpacking libselinux1-dev:armhf (3.1-3) ... Selecting previously unselected package libdevmapper-dev:armhf. Preparing to unpack .../43-libdevmapper-dev_2%3a1.02.175-2.1_armhf.deb ... Unpacking libdevmapper-dev:armhf (2:1.02.175-2.1) ... Selecting previously unselected package libklibc:armhf. Preparing to unpack .../44-libklibc_2.0.8-6.1_armhf.deb ... Unpacking libklibc:armhf (2.0.8-6.1) ... Selecting previously unselected package libklibc-dev. Preparing to unpack .../45-libklibc-dev_2.0.8-6.1_armhf.deb ... Unpacking libklibc-dev (2.0.8-6.1) ... Selecting previously unselected package quilt. Preparing to unpack .../46-quilt_0.66-2.1_all.deb ... Unpacking quilt (0.66-2.1) ... Setting up libpipeline1:armhf (1.5.3-1) ... Setting up bsdextrautils (2.36.1-8) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libicu67:armhf (67.1-7) ... Setting up libmagic-mgc (1:5.39-3) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libdebhelper-perl (13.3.4) ... Setting up libmagic1:armhf (1:5.39-3) ... Setting up libsepol1-dev:armhf (3.1-1) ... Setting up gettext-base (0.21-4) ... Setting up file (1:5.39-3) ... Setting up libpcre2-16-0:armhf (10.36-2) ... Setting up libklibc:armhf (2.0.8-6.1) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libpcre2-32-0:armhf (10.36-2) ... Setting up ed (1.17-1) ... Setting up libsigsegv2:armhf (2.13-1) ... Setting up diffstat (1.64-1) ... Setting up autopoint (0.21-4) ... Setting up libudev-dev:armhf (247.3-6) ... Setting up libpcre2-posix2:armhf (10.36-2) ... Setting up sensible-utils (0.0.14) ... Setting up libuchardet0:armhf (0.0.7-1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libelf1:armhf (0.183-1) ... Setting up libxml2:armhf (2.9.10+dfsg-6.7) ... Setting up libfile-stripnondeterminism-perl (1.12.0-1) ... Setting up gettext (0.21-4) ... Setting up libpcre2-dev:armhf (10.36-2) ... Setting up libtool (2.4.6-15) ... Setting up libklibc-dev (2.0.8-6.1) ... Setting up libselinux1-dev:armhf (3.1-3) ... Setting up m4 (1.4.18-5) ... Setting up quilt (0.66-2.1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up autoconf (2.69-14) ... Setting up dh-strip-nondeterminism (1.12.0-1) ... Setting up dwz (0.13+20210201-1) ... Setting up groff-base (1.22.4-6) ... Setting up automake (1:1.16.3-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.9.4-2) ... Not building database; man-db/auto-update is not 'true'. Setting up dh-autoreconf (20) ... Setting up debhelper (13.3.4) ... Setting up libdevmapper1.02.1:armhf (2:1.02.175-2.1) ... Setting up dmsetup (2:1.02.175-2.1) ... Setting up libdevmapper-event1.02.1:armhf (2:1.02.175-2.1) ... Setting up libdevmapper-dev:armhf (2:1.02.175-2.1) ... Processing triggers for libc-bin (2.31-13) ... Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: Running cd /build/dmraid-1.0.0.rc16/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../dmraid_1.0.0.rc16-8_source.changes dpkg-buildpackage: info: source package dmraid dpkg-buildpackage: info: source version 1.0.0.rc16-8 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Laszlo Boszormenyi (GCS) dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf fakeroot debian/rules clean QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null pop -a -R || test $? = 2 No patch removed rm -rf .pc debian/stamp-patched dh_testdir dh_testroot dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) rm -f *-stamp rm -rf debian/build debian/standard debian/udeb debian/rules build QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null push -a || test $? = 2 Applying patch 01_fix_broken_linking.patch patching file 1.0.0.rc16/configure patching file 1.0.0.rc16/configure.in patching file 1.0.0.rc16/lib/Makefile.in patching file 1.0.0.rc16/make.tmpl.in patching file 1.0.0.rc16/tools/Makefile.in Applying patch 02_disable_dmreg.patch patching file 1.0.0.rc16/lib/Makefile.in patching file 1.0.0.rc16/make.tmpl.in patching file 1.0.0.rc16/tools/Makefile.in patching file 1.0.0.rc16/lib/.export.sym patching file 1.0.0.rc16/lib/activate/activate.c patching file 1.0.0.rc16/lib/metadata/reconfig.c Applying patch 03_fix_hyphen-used-as-minus-sign.patch patching file 1.0.0.rc16/man/dmraid.8 Applying patch 04_do_not_use_p_for_partition.patch patching file 1.0.0.rc16/lib/format/partition/dos.c Applying patch 09_promise-add-offsets.patch patching file 1.0.0.rc16/lib/format/ataraid/pdc.h Applying patch 10_exit_code.patch patching file 1.0.0.rc16/lib/metadata/metadata.c Applying patch 12_support_virtio_devices.patch patching file 1.0.0.rc16/lib/device/scan.c Applying patch 17_isw-probe-hpa.patch patching file 1.0.0.rc16/lib/format/ataraid/isw.c patching file 1.0.0.rc16/lib/format/ataraid/isw.h Applying patch 15_activate_multiple_raid_sets.patch patching file 1.0.0.rc16/lib/metadata/metadata.c Applying patch 18_pdc_raid10_failure..patch patching file 1.0.0.rc16/lib/format/ataraid/pdc.c Applying patch 19_ddf1_lsi_persistent_name.patch patching file 1.0.0.rc16/lib/format/ddf/ddf1.c Applying patch 20_fix_isw_sectors_calculation.patch patching file 1.0.0.rc16/lib/format/ataraid/isw.c Applying patch 21_fix_man_page_typos.patch patching file 1.0.0.rc16/man/dmraid.8 Applying patch 26_convert-dmraid45-to-dmraid.patch patching file 1.0.0.rc16/lib/activate/activate.c patching file 1.0.0.rc16/lib/metadata/metadata.c patching file 1.0.0.rc16/lib/events/libdmraid-events-isw.c Now at patch 26_convert-dmraid45-to-dmraid.patch touch debian/stamp-patched dh_testdir mkdir -p /build/dmraid-1.0.0.rc16/debian/build cp -f /usr/share/misc/config.sub 1.0.0.rc16/autoconf/config.sub cp -f /usr/share/misc/config.guess 1.0.0.rc16/autoconf/config.guess for i in standard udeb; do cp -rp 1.0.0.rc16 /build/dmraid-1.0.0.rc16/debian/build/$i; done touch methods-stamp dh_testdir cd /build/dmraid-1.0.0.rc16/debian/build/standard && \ ./configure --build arm-linux-gnueabihf --prefix=/usr --exec-prefix=/ --disable-klibc --enable-libselinux --enable-libsepol --enable-shared_lib --enable-led --enable-intel_led checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking target system type... arm-unknown-linux-gnueabihf checking for gawk... no checking for mawk... mawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl config.status: WARNING: make.tmpl.in seems to ignore the --datarootdir setting touch configure-standard-stamp dh_testdir cd /build/dmraid-1.0.0.rc16/debian/build/udeb && \ ./configure --build arm-linux-gnueabihf --prefix=/usr --exec-prefix=/ --disable-libselinux --disable-libsepol --enable-shared_lib checking build system type... arm-unknown-linux-gnueabihf checking host system type... arm-unknown-linux-gnueabihf checking target system type... arm-unknown-linux-gnueabihf checking for gawk... no checking for mawk... mawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether time.h and sys/time.h may both be included... yes checking whether to enable debugging... no checking whether to enable malloc debugging... no checking whether to disable native metadata logging... yes checking whether to disable testing with mapped devices... no checking whether gcc needs -traditional... no checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for mkdir... yes checking for rmdir... yes checking for uname... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes configure: creating ./config.status config.status: creating include/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating tools/Makefile config.status: creating tools/version.h config.status: creating Makefile config.status: creating make.tmpl config.status: WARNING: make.tmpl.in seems to ignore the --datarootdir setting touch configure-udeb-stamp dh_testdir touch configure-stamp dh_testdir for i in standard udeb; do cd /build/dmraid-1.0.0.rc16/debian/build/$i && make; done make[1]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard' make -C include make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/include' make -C lib make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/lib' gcc -MM -MF activate/activate.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c -o activate/activate.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from activate/activate.c:21: activate/activate.c: In function '_biggest': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function '_smallest': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro 'list_for_each_entry' 68 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro 'list_for_each_entry' 68 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro 'list_for_each_entry' 71 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro 'list_for_each_entry' 71 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'dm_linear': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro 'list_for_each_entry' 153 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro 'list_for_each_entry' 153 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro 'list_for_each_entry' 176 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro 'list_for_each_entry' 176 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function '_dm_raid0_eol': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro 'list_for_each_entry' 247 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro 'list_for_each_entry' 247 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro 'list_for_each_entry' 266 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro 'list_for_each_entry' 266 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function '_dm_raid_devs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro 'list_for_each_entry' 296 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro 'list_for_each_entry' 296 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'get_rds': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro 'list_for_each_entry' 355 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro 'list_for_each_entry' 355 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'get_dm_devs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro 'list_for_each_entry' 373 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro 'list_for_each_entry' 373 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'get_rebuild_drive': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:398:8: note: in expansion of macro 'list_entry' 398 | rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ activate/activate.c: In function 'dm_raid1': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro 'list_for_each_entry' 480 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro 'list_for_each_entry' 480 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro 'list_for_each_entry' 517 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro 'list_for_each_entry' 517 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'dm_raid': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:718:14: note: in expansion of macro 'list_entry' 718 | rd_first = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro 'list_for_each_entry_safe' 738 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro 'list_for_each_entry_safe' 738 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro 'list_for_each_entry_safe' 738 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro 'list_for_each_entry' 786 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro 'list_for_each_entry' 786 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro 'list_for_each_entry' 801 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro 'list_for_each_entry' 801 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'reload_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro 'list_for_each_entry' 982 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro 'list_for_each_entry' 982 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'activate_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:1041:25: note: in expansion of macro 'list_entry' 1041 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:1057:25: note: in expansion of macro 'list_entry' 1057 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro 'list_for_each_entry' 1071 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro 'list_for_each_entry' 1071 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'deactivate_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro 'list_for_each_entry' 1120 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro 'list_for_each_entry' 1120 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'do_device': activate/activate.c:912:17: warning: 'strncat' specified bound 3 equals source length [-Wstringop-overflow=] 912 | strncat(lib_name, ".so", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c -o activate/devmapper.o gcc -MM -MF device/ata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c -o device/ata.o device/ata.c: In function 'get_ata_serial': device/ata.c:30:16: warning: cast increases required alignment of target type [-Wcast-align] 30 | ata_ident = (struct ata_identify *) &buf[cmd_offset]; | ^ gcc -MM -MF device/partition.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c -o device/partition.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from device/partition.c:11: device/partition.c: In function '_remove_subset_partitions': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro 'list_for_each_entry' 24 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro 'list_for_each_entry' 24 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ device/partition.c: In function 'remove_device_partitions': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF device/scan.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c -o device/scan.o gcc -MM -MF device/scsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c -o device/scsi.o device/scsi.c: In function 'old_inquiry': device/scsi.c:69:20: warning: cast increases required alignment of target type [-Wcast-align] 69 | unsigned int *i = (unsigned int *) response; | ^ gcc -MM -MF display/display.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c -o display/display.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from display/display.c:8: display/display.c: In function 'log_disk': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:94:24: note: in expansion of macro 'list_entry' 94 | struct dev_info *di = list_entry(pos, typeof(*di), list); | ^~~~~~~~~~ display/display.c: In function 'log_rd_native': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:132:24: note: in expansion of macro 'list_entry' 132 | struct raid_dev *rd = list_entry(pos, typeof(*rd), list); | ^~~~~~~~~~ display/display.c: In function 'log_rd': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:147:24: note: in expansion of macro 'list_entry' 147 | struct raid_dev *rd = list_entry(pos, typeof(*rd), list); | ^~~~~~~~~~ display/display.c: In function 'log_rs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro 'list_for_each_entry' 314 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro 'list_for_each_entry' 314 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function 'group_active': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro 'list_for_each_entry' 324 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro 'list_for_each_entry' 324 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function 'display_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro 'list_for_each_entry' 362 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro 'list_for_each_entry' 362 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function '_list_formats': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro 'list_for_each_entry' 376 | list_for_each_entry(fmt_list, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro 'list_for_each_entry' 376 | list_for_each_entry(fmt_list, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/format.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c -o format/format.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/format.c:12: format/format.c: In function 'unregister_format_handlers': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/format.c:141:12: note: in expansion of macro 'list_entry' 141 | dbg_free(list_entry(elem, struct format_list, list)); | ^~~~~~~~~~ format/format.c: In function '_check_raid_set': ../include/dmraid/list.h:59:3: 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/format.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/format.c: In function 'set_rs_status': ../include/dmraid/list.h:59:3: 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/format.c:416:2: note: in expansion of macro 'list_for_each_entry' 416 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:416:2: note: in expansion of macro 'list_for_each_entry' 416 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:429:2: note: in expansion of macro 'list_for_each_entry' 429 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:429:2: note: in expansion of macro 'list_for_each_entry' 429 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/format.c: In function 'check_raid_set': ../include/dmraid/list.h:59:3: 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/format.c:463:2: note: in expansion of macro 'list_for_each_entry' 463 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:463:2: note: in expansion of macro 'list_for_each_entry' 463 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/format.c:469:8: note: in expansion of macro 'list_entry' 469 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/format.c: In function 'check_valid_format': ../include/dmraid/list.h:59:3: 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/format.c:587:2: note: in expansion of macro 'list_for_each_entry' 587 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:587:2: note: in expansion of macro 'list_for_each_entry' 587 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF locking/locking.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c -o locking/locking.o gcc -MM -MF log/log.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c -o log/log.o gcc -MM -MF metadata/log_ops.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c -o metadata/log_ops.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/log_ops.c:10: metadata/log_ops.c: In function 'end_log': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/log_ops.c:19:12: note: in expansion of macro 'list_entry' 19 | dbg_free(list_entry(pos, struct change, changes)); | ^~~~~~~~~~ metadata/log_ops.c: In function 'revert_log': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro 'list_for_each_entry' 30 | list_for_each_entry(entry, log, changes) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro 'list_for_each_entry' 30 | list_for_each_entry(entry, log, changes) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/metadata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c -o metadata/metadata.o In file included from ./internal.h:36, from metadata/metadata.c:12: metadata/metadata.c: In function 'get_stacked_type': ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] 288 | #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) | ^ metadata/metadata.c:123:50: note: in expansion of macro 'RS_RS' 123 | unsigned int t = (T_RAID0(rs) ? get_type_index((RS_RS(rs))->type) : | ^~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: metadata/metadata.c: In function 'smallest_disk': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro 'list_for_each_entry' 183 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro 'list_for_each_entry' 183 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'count_subsets': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro 'list_for_each_entry' 196 | list_for_each_entry(r, &rs->sets, list) ret++; | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro 'list_for_each_entry' 196 | list_for_each_entry(r, &rs->sets, list) ret++; | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'total_sectors': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro 'list_for_each_entry' 212 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro 'list_for_each_entry' 212 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro 'list_for_each_entry' 221 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro 'list_for_each_entry' 221 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro 'list_for_each_entry' 231 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro 'list_for_each_entry' 231 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'count_devs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro 'list_for_each_entry' 267 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro 'list_for_each_entry' 267 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro 'list_for_each_entry' 272 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro 'list_for_each_entry' 272 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function '_free_dev_infos': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:365:22: note: in expansion of macro 'list_entry' 365 | _free_dev_info(lc, list_entry(elem, struct dev_info, list)); | ^~~~~~~~~~ metadata/metadata.c: In function '_free_raid_devs': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:424:8: note: in expansion of macro 'list_entry' 424 | rd = list_entry(elem, struct raid_dev, list); | ^~~~~~~~~~ metadata/metadata.c: In function '_free_raid_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:464:8: note: in expansion of macro 'RD' 464 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'free_raid_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ metadata/metadata.c:499:21: note: in expansion of macro 'RS' 499 | free_raid_set(lc, RS(elem)); | ^~ metadata/metadata.c: In function '_find_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro 'list_for_each_entry' 541 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro 'list_for_each_entry' 541 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro 'list_for_each_entry' 549 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro 'list_for_each_entry' 549 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:574:28: note: in expansion of macro 'list_entry' 574 | struct raid_set *new_rs = list_entry(new, struct raid_set, list); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:575:28: note: in expansion of macro 'list_entry' 575 | struct raid_set *pos_rs = list_entry(pos, struct raid_set, list); | ^~~~~~~~~~ metadata/metadata.c: In function 'dmraid_read': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro 'list_for_each_entry' 697 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro 'list_for_each_entry' 697 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'discover_raid_devices_spares': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro 'list_for_each_entry' 770 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro 'list_for_each_entry' 770 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'discover_raid_devices': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro 'list_for_each_entry' 799 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro 'list_for_each_entry' 799 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function '_discover_partitions': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro 'list_for_each_entry' 833 | list_for_each_entry(rs, rs_list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro 'list_for_each_entry' 833 | list_for_each_entry(rs, rs_list, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'want_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./internal.h:36, from metadata/metadata.c:12: metadata/metadata.c: In function 'get_format': ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] 288 | #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) | ^ metadata/metadata.c:944:8: note: in expansion of macro 'RS_RS' 944 | rs = RS_RS(rs); | ^~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:946:21: note: in expansion of macro 'RD_RS' 946 | return DEVS(rs) ? (RD_RS(rs))->fmt : NULL; | ^~~~~ metadata/metadata.c: In function 'get_raid_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro 'list_for_each_entry' 956 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro 'list_for_each_entry' 956 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro 'list_for_each_entry' 957 | list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro 'list_for_each_entry' 957 | list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro 'list_for_each_entry' 960 | list_for_each_entry(sub_rs, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro 'list_for_each_entry' 960 | list_for_each_entry(sub_rs, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro 'list_for_each_entry' 961 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro 'list_for_each_entry' 961 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'check_raid_sets': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ metadata/metadata.c:981:32: note: in expansion of macro 'RS' 981 | if (!(fmt = get_format((rs = RS(elem))))) | ^~ metadata/metadata.c: In function 'build_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1015:8: note: in expansion of macro 'list_entry' 1015 | rd = list_entry(elem, struct raid_dev, list); | ^~~~~~~~~~ metadata/metadata.c: In function 'find_disk': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro 'list_for_each_entry' 1226 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro 'list_for_each_entry' 1226 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'find_format': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro 'list_for_each_entry' 1243 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro 'list_for_each_entry' 1243 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'free_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1333:9: note: in expansion of macro 'list_entry' 1333 | rs1 = list_entry(rs->sets.next, struct raid_set, list); | ^~~~~~~~~~ metadata/metadata.c: In function 'find_raiddev': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro 'list_for_each_entry' 1348 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro 'list_for_each_entry' 1348 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'create_raidset': metadata/metadata.c:1436:17: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1436 | } while (end++ != '\0'); | ^~ metadata/metadata.c:1436:11: note: did you mean to dereference the pointer? 1436 | } while (end++ != '\0'); | ^ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: metadata/metadata.c: In function 'rebuild_config_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1472:15: note: in expansion of macro 'RD_RS' 1472 | if (!(fmt = (RD_RS(rs)->fmt))) | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1485:9: note: in expansion of macro 'RD' 1485 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'config_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1507:14: note: in expansion of macro 'RD_RS' 1507 | if (!(fmt = RD_RS(rs)->fmt)) | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1520:9: note: in expansion of macro 'RD' 1520 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'process_sets': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro 'list_for_each_entry' 1628 | list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro 'list_for_each_entry' 1628 | list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'write_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' 1640 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' 1640 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro 'list_for_each_entry' 1652 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro 'list_for_each_entry' 1652 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'erase_metadata': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro 'list_for_each_entry' 1675 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro 'list_for_each_entry' 1675 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'delete_raidsets': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' 1890 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' 1890 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1891:14: note: in expansion of macro 'list_entry' 1891 | if (!(rd = list_entry(rs->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' 1895 | list_for_each_entry(rs1, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' 1895 | list_for_each_entry(rs1, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro 'list_for_each_entry' 1908 | list_for_each_entry(rs1, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro 'list_for_each_entry' 1908 | list_for_each_entry(rs1, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1912:11: note: in expansion of macro 'list_entry' 1912 | rs1 = list_entry(rs->sets.next, | ^~~~~~~~~~ metadata/metadata.c: In function 'find_set_inconsistent': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro 'list_for_each_entry' 1953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro 'list_for_each_entry' 1953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'find_spare': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1985:13: note: in expansion of macro 'RD_RS' 1985 | !(rd = RD_RS(rs_failed))) | ^~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro 'list_for_each_entry' 1997 | list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro 'list_for_each_entry' 1997 | list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro 'list_for_each_entry' 1999 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro 'list_for_each_entry' 1999 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro 'list_for_each_entry' 2023 | list_for_each_entry(group_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro 'list_for_each_entry' 2023 | list_for_each_entry(group_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro 'list_for_each_entry' 2026 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro 'list_for_each_entry' 2026 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro 'list_for_each_entry' 2030 | list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro 'list_for_each_entry' 2030 | list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'dso_get_members': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro 'list_for_each_entry' 2174 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro 'list_for_each_entry' 2174 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/reconfig.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c -o metadata/reconfig.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function 'dso_end_rebuild': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/reconfig.c:53:32: note: in expansion of macro 'RD_RS' 53 | struct raid_dev *check_rd = RD_RS(sub_rs); | ^~~~~ metadata/reconfig.c: In function 'show_raid_stack': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro 'list_for_each_entry' 95 | list_for_each_entry(_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro 'list_for_each_entry' 95 | list_for_each_entry(_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro 'list_for_each_entry' 101 | list_for_each_entry(_rd, &_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro 'list_for_each_entry' 101 | list_for_each_entry(_rd, &_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro 'list_for_each_entry' 106 | list_for_each_entry(_rss, &_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro 'list_for_each_entry' 106 | list_for_each_entry(_rss, &_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro 'list_for_each_entry' 112 | list_for_each_entry(_rsd, &_rss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro 'list_for_each_entry' 112 | list_for_each_entry(_rsd, &_rss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro 'list_for_each_entry' 118 | list_for_each_entry(_rsss, &_rss->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro 'list_for_each_entry' 118 | list_for_each_entry(_rsss, &_rss->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro 'list_for_each_entry' 122 | list_for_each_entry(_rssd, &_rsss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro 'list_for_each_entry' 122 | list_for_each_entry(_rssd, &_rsss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'add_dev_to_raid': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/reconfig.c:145:13: note: in expansion of macro 'list_entry' 145 | check_rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro 'list_for_each_entry' 154 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro 'list_for_each_entry' 154 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro 'list_for_each_entry' 207 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro 'list_for_each_entry' 207 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro 'list_for_each_entry' 216 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro 'list_for_each_entry' 216 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:235:3: note: in expansion of macro 'list_for_each_entry' 235 | list_for_each_entry(_rd, &sub_rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:235:3: note: in expansion of macro 'list_for_each_entry' 235 | list_for_each_entry(_rd, &sub_rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c:230:25: warning: unused variable 'fmt' [-Wunused-variable] 230 | struct dmraid_format *fmt = get_format(sub_rs); | ^~~ metadata/reconfig.c:229:8: warning: unused variable 'lib_name' [-Wunused-variable] 229 | char lib_name[LIB_NAME_LENGTH] = { 0 }; | ^~~~~~~~ metadata/reconfig.c:228:7: warning: unused variable 'pending' [-Wunused-variable] 228 | int pending; | ^~~~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function 'check_busy_disk': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro 'list_for_each_entry' 281 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro 'list_for_each_entry' 281 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'del_dev_in_raid1': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro 'list_for_each_entry' 394 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro 'list_for_each_entry' 394 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro 'list_for_each_entry' 413 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro 'list_for_each_entry' 413 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'handle_dev': metadata/reconfig.c:458:15: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 458 | if (h->type == rs->type) | ^~ metadata/reconfig.c:460:23: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 460 | } while ((++h)->type != t_undef); | ^~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function 'find_group': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro 'list_for_each_entry' 519 | list_for_each_entry(tmp, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro 'list_for_each_entry' 519 | list_for_each_entry(tmp, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro 'list_for_each_entry' 521 | list_for_each_entry(r, &tmp->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro 'list_for_each_entry' 521 | list_for_each_entry(r, &tmp->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro 'list_for_each_entry' 525 | list_for_each_entry(r2, &r->sets, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro 'list_for_each_entry' 525 | list_for_each_entry(r2, &r->sets, | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function '_rebuild_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/reconfig.c:573:31: note: in expansion of macro 'RD_RS' 573 | struct raid_dev *check_rd = RD_RS(sub_rs); | ^~~~~ metadata/reconfig.c: In function 'check_allow_rebuild': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/reconfig.c:639:24: note: in expansion of macro 'list_entry' 639 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ metadata/reconfig.c: In function 'rebuild_raidset': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro 'list_for_each_entry' 685 | list_for_each_entry(rs, &sub_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro 'list_for_each_entry' 685 | list_for_each_entry(rs, &sub_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'write_set_spare': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro 'list_for_each_entry' 711 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro 'list_for_each_entry' 711 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro 'list_for_each_entry' 723 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro 'list_for_each_entry' 723 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF misc/file.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c -o misc/file.o gcc -MM -MF misc/init.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c -o misc/init.o gcc -MM -MF misc/lib_context.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c -o misc/lib_context.o gcc -MM -MF misc/misc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c -o misc/misc.o gcc -MM -MF misc/workaround.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c -o misc/workaround.o gcc -MM -MF mm/dbg_malloc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c -o mm/dbg_malloc.o gcc -MM -MF format/ataraid/asr.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c -o format/ataraid/asr.o In file included from ./internal.h:36, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/asr.c:490:35: note: in expansion of macro 'RD' 490 | return compose_id(this_disk(META(RD(new), asr))) < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/asr.c:491:35: note: in expansion of macro 'RD' 491 | compose_id(this_disk(META(RD(pos), asr))); | ^~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function 'find_newest_drive': ../include/dmraid/list.h:59:3: 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/asr.c:746:2: note: in expansion of macro 'list_for_each_entry' 746 | list_for_each_entry(device, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:746:2: note: in expansion of macro 'list_for_each_entry' 746 | list_for_each_entry(device, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'in_raid_set': ../include/dmraid/list.h:59:3: 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/asr.c:818:2: note: in expansion of macro 'list_for_each_entry' 818 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:818:2: note: in expansion of macro 'list_for_each_entry' 818 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'cleanup_configlines': ../include/dmraid/list.h:59:3: 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/asr.c:836:2: note: in expansion of macro 'list_for_each_entry' 836 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:836:2: note: in expansion of macro 'list_for_each_entry' 836 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'update_metadata': ../include/dmraid/list.h:59:3: 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/asr.c:955:2: note: in expansion of macro 'list_for_each_entry' 955 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:955:2: note: in expansion of macro 'list_for_each_entry' 955 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'check_rd': format/ataraid/asr.c:1034:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 1034 | return rd->type != s_broken; | ^~ gcc -MM -MF format/ataraid/hpt37x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c -o format/ataraid/hpt37x.o In file included from ./internal.h:36, from format/ataraid/hpt37x.c:16: format/ataraid/hpt37x.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:98:14: note: in expansion of macro 'RD' 98 | return META(RD(new), hpt37x)->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:99:14: note: in expansion of macro 'RD' 99 | META(RD(pos), hpt37x)->disk_number; | ^~ format/ataraid/hpt37x.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro 'RD_RS' 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:106:20: note: in expansion of macro 'RS' 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro 'RD_RS' 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro 'RD_RS' 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:107:20: note: in expansion of macro 'RS' 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro 'RD_RS' 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~~~~ format/ataraid/hpt37x.c: In function 'group_rd': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:231:22: note: in expansion of macro 'RD_RS' 231 | h = DEVS(rs) ? META(RD_RS(rs), hpt37x) : NULL; | ^~~~~ format/ataraid/hpt37x.c: In function 'hpt37x_log': format/ataraid/hpt37x.c:356:12: warning: taking address of packed member of 'struct hpt37x' may result in an unaligned pointer value [-Waddress-of-packed-member] 356 | for (el = hpt->errorlog; el < hpt->errorlog + 32; el++) { | ^~~ gcc -MM -MF format/ataraid/hpt45x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c -o format/ataraid/hpt45x.o In file included from ./internal.h:36, from format/ataraid/hpt45x.c:16: format/ataraid/hpt45x.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:90:14: note: in expansion of macro 'RD' 90 | return META(RD(new), hpt45x)->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:91:14: note: in expansion of macro 'RD' 91 | META(RD(pos), hpt45x)->disk_number; | ^~ format/ataraid/hpt45x.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:98:20: note: in expansion of macro 'RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:99:20: note: in expansion of macro 'RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ gcc -MM -MF format/ataraid/isw.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c -o format/ataraid/isw.o format/ataraid/isw.c: In function '_get_disk': format/ataraid/isw.c:141:27: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 141 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function 'name': format/ataraid/isw.c:203:26: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 203 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function '_checksum': format/ataraid/isw.c:303:8: warning: cast increases required alignment of target type [-Wcast-align] 303 | *p = (uint32_t *) isw, ret = 0; | ^ format/ataraid/isw.c:303:3: warning: converting a packed 'struct isw' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 303 | *p = (uint32_t *) isw, ret = 0; | ^ In file included from format/ataraid/isw.c:31: format/ataraid/isw.h:203:8: note: defined here 203 | struct isw { | ^~~ 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 'is_first_volume': ../include/dmraid/list.h:59:3: 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:438:2: note: in expansion of macro 'list_for_each_entry' 438 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:438:2: note: in expansion of macro 'list_for_each_entry' 438 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:439:3: note: in expansion of macro 'list_for_each_entry' 439 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:439:3: note: in expansion of macro 'list_for_each_entry' 439 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:803:20: note: in expansion of macro 'RD' 803 | struct isw *isw = RD(new)->private.ptr; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:805:24: note: in expansion of macro 'RD' 805 | return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:805:54: note: in expansion of macro 'RD' 805 | return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); | ^~ format/ataraid/isw.c: In function 'rd_by_serial': ../include/dmraid/list.h:59:3: 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:975:2: note: in expansion of macro 'list_for_each_entry' 975 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:975:2: note: in expansion of macro 'list_for_each_entry' 975 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'update_metadata_after_rebuild': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:988:24: note: in expansion of macro 'list_entry' 988 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function 'number_disks_status': ../include/dmraid/list.h:59:3: 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:1096:2: note: in expansion of macro 'list_for_each_entry' 1096 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1096:2: note: in expansion of macro 'list_for_each_entry' 1096 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'get_rs_status': ../include/dmraid/list.h:59:3: 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:1177:2: note: in expansion of macro 'list_for_each_entry' 1177 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1177:2: note: in expansion of macro 'list_for_each_entry' 1177 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1187:10: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1187 | disk = isw->disk; | ^~~ format/ataraid/isw.c:1167:19: warning: variable 'disk' set but not used [-Wunused-but-set-variable] 1167 | struct isw_disk *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 'get_rebuild_state': ../include/dmraid/list.h:59:3: 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:1227:2: note: in expansion of macro 'list_for_each_entry' 1227 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1227:2: note: in expansion of macro 'list_for_each_entry' 1227 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1238:11: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1238 | 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 'get_number_of_devices': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1277:3: note: in expansion of macro 'list_entry' 1277 | list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function 'isw_metadata_handler': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1315:24: note: in expansion of macro 'list_entry' 1315 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1327:3: note: in expansion of macro 'list_for_each_entry' 1327 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1327:3: note: in expansion of macro 'list_for_each_entry' 1327 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1363:8: note: in expansion of macro 'list_entry' 1363 | rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ format/ataraid/isw.c:1370:10: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1370 | 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 '_isw_check': ../include/dmraid/list.h:59:3: 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:1440:2: note: in expansion of macro 'list_for_each_entry' 1440 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1440:2: note: in expansion of macro 'list_for_each_entry' 1440 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'is_name_unique': ../include/dmraid/list.h:59:3: 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:1476:2: note: in expansion of macro 'list_for_each_entry' 1476 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1476:2: note: in expansion of macro 'list_for_each_entry' 1476 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:4: note: in expansion of macro 'list_for_each_entry' 1478 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:4: note: in expansion of macro 'list_for_each_entry' 1478 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'check_capability': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1506:4: note: in expansion of macro 'list_entry' 1506 | list_entry(rs->sets.next, struct raid_set, list); | ^~~~~~~~~~ format/ataraid/isw.c: In function 'match_hd_array': ../include/dmraid/list.h:59:3: 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:1531:2: note: in expansion of macro 'list_for_each_entry' 1531 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1531:2: note: in expansion of macro 'list_for_each_entry' 1531 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'is_hd_array_available': ../include/dmraid/list.h:59:3: 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:1544:2: note: in expansion of macro 'list_for_each_entry' 1544 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1544:2: note: in expansion of macro 'list_for_each_entry' 1544 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1545:3: note: in expansion of macro 'list_for_each_entry' 1545 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1545:3: note: in expansion of macro 'list_for_each_entry' 1545 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_config_disks': ../include/dmraid/list.h:59:3: 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:1583:2: note: in expansion of macro 'list_for_each_entry' 1583 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1583:2: note: in expansion of macro 'list_for_each_entry' 1583 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_cal_array_size': ../include/dmraid/list.h:59:3: 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:1719:2: note: in expansion of macro 'list_for_each_entry' 1719 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1719:2: note: in expansion of macro 'list_for_each_entry' 1719 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'display_new_volume': ../include/dmraid/list.h:59:3: 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:1850:2: note: in expansion of macro 'list_for_each_entry' 1850 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1850:2: note: in expansion of macro 'list_for_each_entry' 1850 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1881:9: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1881 | 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:3: 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:1925:2: note: in expansion of macro 'list_for_each_entry' 1925 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1925:2: note: in expansion of macro 'list_for_each_entry' 1925 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1929:3: note: in expansion of macro 'list_for_each_entry' 1929 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1929:3: note: in expansion of macro 'list_for_each_entry' 1929 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1930:4: note: in expansion of macro 'list_for_each_entry' 1930 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1930:4: note: in expansion of macro 'list_for_each_entry' 1930 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_second_volume': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1965:7: note: in expansion of macro 'list_entry' 1965 | rd = list_entry(rs_group->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:1978:37: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1978 | 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:3: 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:2048:2: note: in expansion of macro 'list_for_each_entry' 2048 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2048:2: note: in expansion of macro 'list_for_each_entry' 2048 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2080:8: note: in expansion of macro 'list_entry' 2080 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function '_isw_log': format/ataraid/isw.c:2245:21: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2245 | 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:3: 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:2392:2: note: in expansion of macro 'list_for_each_entry' 2392 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2392:2: note: in expansion of macro 'list_for_each_entry' 2392 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_write_all': ../include/dmraid/list.h:59:3: 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:2: note: in expansion of macro 'list_for_each_entry' 2415 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2: note: in expansion of macro 'list_for_each_entry' 2415 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_delete_all': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2475:13: note: in expansion of macro 'list_entry' 2475 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2479:13: note: in expansion of macro 'list_entry' 2479 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2495:2: note: in expansion of macro 'list_for_each_entry' 2495 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2495:2: note: in expansion of macro 'list_for_each_entry' 2495 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_delete': ../include/dmraid/list.h:59:3: 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:2531:2: note: in expansion of macro 'list_for_each_entry' 2531 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2531:2: note: in expansion of macro 'list_for_each_entry' 2531 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2537:13: note: in expansion of macro 'list_entry' 2537 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2546:13: note: in expansion of macro 'list_entry' 2546 | 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2711:24: note: in expansion of macro 'list_entry' 2711 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:2715:26: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2715 | 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:3: 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:2726:3: note: in expansion of macro 'list_for_each_entry' 2726 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2726:3: note: in expansion of macro 'list_for_each_entry' 2726 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2760:2: note: in expansion of macro 'list_for_each_entry' 2760 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2760:2: note: in expansion of macro 'list_for_each_entry' 2760 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2773:3: note: in expansion of macro 'list_for_each_entry' 2773 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2773:3: note: in expansion of macro 'list_for_each_entry' 2773 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2877:2: note: in expansion of macro 'list_for_each_entry' 2877 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2877:2: note: in expansion of macro 'list_for_each_entry' 2877 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2923:2: note: in expansion of macro 'list_for_each_entry' 2923 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2923:2: note: in expansion of macro 'list_for_each_entry' 2923 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1903:2: warning: 'strncpy' output truncated before terminating nul copying 24 bytes from a string of the same length [-Wstringop-truncation] 1903 | strncpy((char *) isw->sig, MPB_SIGNATURE, MPB_SIGNATURE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_remove_dev': format/ataraid/isw.c:2450:3: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2450 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2451 | MPB_VERSION_RAID1, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:2455:3: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2455 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2456 | MPB_VERSION_RAID0, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_config_dev': format/ataraid/isw.c:1768:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1768 | strncpy((char *) dev2->volume, rs->name, MAX_RAID_SERIAL_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'update_metadata', inlined from 'isw_create' at format/ataraid/isw.c:2175:9: format/ataraid/isw.c:2830:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2830 | strncpy((char *) new_disk->serial, dev_info_serial_to_isw(di->serial), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2831 | MAX_RAID_SERIAL_LEN); | ~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o format/ataraid/jm.c: In function 'checksum': format/ataraid/jm.c:86:16: warning: cast increases required alignment of target type [-Wcast-align] 86 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^ format/ataraid/jm.c:86:2: warning: converting a packed 'struct jm' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 86 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^~~~~~~~ In file included from format/ataraid/jm.c:14: format/ataraid/jm.h:22:8: note: defined here 22 | struct jm { | ^~ In file included from ./internal.h:36, from format/ataraid/jm.c:12: format/ataraid/jm.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:124:21: note: in expansion of macro 'RD' 124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm)); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:124:49: note: in expansion of macro 'RD' 124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm)); | ^~ format/ataraid/jm.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:131:21: note: in expansion of macro 'RD_RS' 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/jm.c:131:27: note: in expansion of macro 'RS' 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:131:21: note: in expansion of macro 'RD_RS' 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ format/ataraid/jm.c: In function 'name': format/ataraid/jm.c:35:8: warning: 'i' is used uninitialized in this function [-Wuninitialized] 35 | while (i && isspace(buf[i])) { | ^ gcc -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o In file included from ./internal.h:36, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:23: note: in expansion of macro 'RD' 95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:48: note: in expansion of macro 'RD' 95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); | ^~ format/ataraid/lsi.c: In function 'set_sort': ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ In file included from ./internal.h:30, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function 'lsi_log': format/ataraid/lsi.c:324:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 324 | i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); | ^ ./log/log.h:84:70: note: in definition of macro '_log_print' 84 | #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) | ^ ../include/dmraid/format.h:271:7: note: in expansion of macro 'log_print' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro 'P_OFF' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro 'P' 323 | P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, | ^ format/ataraid/lsi.c:324:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 324 | i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); | ^ ./log/log.h:84:70: note: in definition of macro '_log_print' 84 | #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) | ^ ../include/dmraid/format.h:271:7: note: in expansion of macro 'log_print' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro 'P_OFF' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro 'P' 323 | P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, | ^ gcc -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o In file included from ./internal.h:36, from format/ataraid/nv.c:14: format/ataraid/nv.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/nv.c:133:14: note: in expansion of macro 'RD' 133 | return META(RD(new), nv)->unitNumber < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/nv.c:134:14: note: in expansion of macro 'RD' 134 | META(RD(pos), nv)->unitNumber; | ^~ format/ataraid/nv.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:141:23: note: in expansion of macro 'RD_RS' 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/nv.c:141:29: note: in expansion of macro 'RS' 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:141:23: note: in expansion of macro 'RD_RS' 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:142:23: note: in expansion of macro 'RD_RS' 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/nv.c:142:29: note: in expansion of macro 'RS' 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:142:23: note: in expansion of macro 'RD_RS' 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~~~~ format/ataraid/nv.c: In function 'checksum': format/ataraid/nv.c:194:11: warning: cast increases required alignment of target type [-Wcast-align] 194 | sum += ((uint32_t *) nv)[s]; | ^ gcc -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o format/ataraid/pdc.c: In function 'checksum': format/ataraid/pdc.c:108:16: warning: cast increases required alignment of target type [-Wcast-align] 108 | uint32_t *p = (uint32_t *) pdc; | ^ format/ataraid/pdc.c:108:2: warning: converting a packed 'struct pdc' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 108 | uint32_t *p = (uint32_t *) pdc; | ^~~~~~~~ In file included from format/ataraid/pdc.c:18: format/ataraid/pdc.h:27:8: note: defined here 27 | struct pdc { | ^~~ In file included from ./internal.h:36, from format/ataraid/pdc.c:16: format/ataraid/pdc.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:279:14: note: in expansion of macro 'RD' 279 | return META(RD(new), pdc)->raid.disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:280:14: note: in expansion of macro 'RD' 280 | META(RD(pos), pdc)->raid.disk_number; | ^~ format/ataraid/pdc.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:287:26: note: in expansion of macro 'RD_RS' 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/pdc.c:287:32: note: in expansion of macro 'RS' 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:287:26: note: in expansion of macro 'RD_RS' 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~~~~ format/ataraid/pdc.c: In function '_pdc_log': format/ataraid/pdc.c:590:14: warning: taking address of packed member of 'struct pdc' may result in an unaligned pointer value [-Waddress-of-packed-member] 590 | for (disk = pdc->raid.disk, i = 0; | ^~~ gcc -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o format/ataraid/sil.c: In function 'checksum': format/ataraid/sil.c:97:16: warning: cast increases required alignment of target type [-Wcast-align] 97 | uint16_t *p = (uint16_t *) sil; | ^ format/ataraid/sil.c:97:2: warning: converting a packed 'struct sil' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 97 | uint16_t *p = (uint16_t *) sil; | ^~~~~~~~ In file included from format/ataraid/sil.c:14: format/ataraid/sil.h:19:8: note: defined here 19 | struct sil { | ^~~ In file included from ./internal.h:36, from format/ataraid/sil.c:12: format/ataraid/sil.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:296:15: note: in expansion of macro 'RD' 296 | return (META(RD(new), sil))->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:297:9: note: in expansion of macro 'RD' 297 | (META(RD(pos), sil))->disk_number; | ^~ format/ataraid/sil.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:304:15: note: in expansion of macro 'RD_RS' 304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:304:21: note: in expansion of macro 'RS' 304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:304:15: note: in expansion of macro 'RD_RS' 304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:305:9: note: in expansion of macro 'RD_RS' 305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:305:15: note: in expansion of macro 'RS' 305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:305:9: note: in expansion of macro 'RD_RS' 305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ gcc -MM -MF format/ataraid/via.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o In file included from ./internal.h:36, from format/ataraid/via.c:12: format/ataraid/via.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/via.c:188:23: note: in expansion of macro 'RD' 188 | struct via *p = META(RD(pos), via); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/via.c:189:23: note: in expansion of macro 'RD' 189 | struct via *n = META(RD(new), via); | ^~ format/ataraid/via.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/via.c:204:28: note: in expansion of macro 'RS' 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/via.c:205:22: note: in expansion of macro 'RS' 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~~~~ gcc -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o In file included from format/ddf/ddf1.c:16: format/ddf/ddf1.c: In function 'get_config_byoffset': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:107:20: note: in expansion of macro 'CR_IDS' 107 | cfg_drive_ids = CR_IDS(ddf1, cfg); | ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:108:24: note: in expansion of macro 'CR_OFF' 108 | cfg_drive_offsets = CR_OFF(ddf1, cfg); | ^~~~~~ format/ddf/ddf1.c: In function 'get_config_index': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:131:10: note: in expansion of macro 'CR_IDS' 131 | ids = CR_IDS(ddf1, cr); | ^~~~~~ format/ddf/ddf1.c: In function 'get_offset_entry': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:173:9: note: in expansion of macro 'CR_IDS' 173 | ids = CR_IDS(ddf1, cr); | ^~~~~~ format/ddf/ddf1.c: In function 'get_offset': format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:190:28: note: in expansion of macro 'CR_OFF' 190 | return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; | ^~~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ddf/ddf1.c:13: format/ddf/ddf1.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ddf/ddf1.c:620:28: note: in expansion of macro 'RD' 620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ddf/ddf1.c:620:47: note: in expansion of macro 'RD' 620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); | ^~ format/ddf/ddf1.c: In function 'check_rd': format/ddf/ddf1.c:886:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 886 | return rd->type != s_broken; | ^~ format/ddf/ddf1.c: In function 'name': format/ddf/ddf1.c:708:4: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 708 | strncpy(buf + prefix + 32, "47114711", 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o format/ddf/ddf1_lib.c: In function 'ddf1_process_records': format/ddf/ddf1_lib.c:79:9: warning: cast increases required alignment of target type [-Wcast-align] 79 | x = *((uint32_t *) CR(ddf1, i)); | ^ gcc -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c -o format/ddf/ddf1_crc.o format/ddf/ddf1_crc.c: In function 'crc32_vd': format/ddf/ddf1_crc.c:100:10: warning: taking address of packed member of 'struct ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:108:1: note: in expansion of macro 'CRC32' 108 | CRC32(vd, ddf1_config_record, CR); | ^~~~~ format/ddf/ddf1_crc.c: In function 'crc32_spare': format/ddf/ddf1_crc.c:100:10: warning: taking address of packed member of 'struct ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:109:1: note: in expansion of macro 'CRC32' 109 | CRC32(spare, ddf1_spare_header, SR); | ^~~~~ format/ddf/ddf1_crc.c: In function 'vd_check_crc': format/ddf/ddf1_crc.c:149:10: warning: taking address of packed member of 'struct ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:156:1: note: in expansion of macro 'CHECK_CRC' 156 | CHECK_CRC(vd, ddf1_config_record, CR, "VD CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function 'spare_check_crc': format/ddf/ddf1_crc.c:149:10: warning: taking address of packed member of 'struct ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:157:1: note: in expansion of macro 'CHECK_CRC' 157 | CHECK_CRC(spare, ddf1_spare_header, SR, "Spare CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function 'all_crcs': format/ddf/ddf1_crc.c:182:19: warning: taking address of packed member of 'struct ddf1_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | {ddf1->primary, &ddf1->primary->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:185:21: warning: taking address of packed member of 'struct ddf1_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 185 | {ddf1->secondary, &ddf1->secondary->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:188:19: warning: taking address of packed member of 'struct ddf1_adapter' may result in an unaligned pointer value [-Waddress-of-packed-member] 188 | {ddf1->adapter, &ddf1->adapter->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:191:21: warning: taking address of packed member of 'struct ddf1_disk_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 191 | {ddf1->disk_data, &ddf1->disk_data->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:194:21: warning: taking address of packed member of 'struct ddf1_phys_drives' may result in an unaligned pointer value [-Waddress-of-packed-member] 194 | {ddf1->pd_header, &ddf1->pd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:198:21: warning: taking address of packed member of 'struct ddf1_virt_drives' may result in an unaligned pointer value [-Waddress-of-packed-member] 198 | {ddf1->vd_header, &ddf1->vd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ddf/ddf1_cvt.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o In file included from format/ddf/ddf1_cvt.c:15: format/ddf/ddf1_cvt.c: In function 'ddf1_cvt_config_record': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_cvt.c:152:8: note: in expansion of macro 'CR_IDS' 152 | ids = CR_IDS(ddf1, hdr); | ^~~~~~ format/ddf/ddf1_cvt.c:159:9: warning: cast increases required alignment of target type [-Wcast-align] 159 | off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + | ^ gcc -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o In file included from format/ddf/ddf1_dump.c:17: format/ddf/ddf1_dump.c: In function 'dump_config_record': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_dump.c:221:18: note: in expansion of macro 'CR_IDS' 221 | cfg_drive_ids = CR_IDS(ddf, cfg); | ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_dump.c:222:22: note: in expansion of macro 'CR_OFF' 222 | cfg_drive_offsets = CR_OFF(ddf, cfg); | ^~~~~~ gcc -MM -MF format/partition/dos.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c -o format/partition/dos.o rm -f ../lib/libdmraid.a ar r ../lib/libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o ar: creating ../lib/libdmraid.a ranlib ../lib/libdmraid.a gcc -shared -Wl,-soname,libdmraid.so.1.0.0.rc16 \ -Wl,--version-script,.export.sym activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o -ldevmapper -o ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/lib' make -C man make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/man' make -C tools make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/tools' gcc -MM -MF dmraid.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o gcc -MM -MF commands.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c -o commands.o gcc -MM -MF toollib.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DDMRAID_LED -DDMRAID_LED -DDMRAID_INTEL_LED -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o gcc -o dmraid dmraid.o commands.o toollib.o -Wl,-z,relro -Wl,-z,relro -Wl,-z,relro -rdynamic -L../lib \ -L//lib -ldmraid -lselinux -lsepol -ldmraid -lselinux -lsepol -ldl make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/tools' make[1]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard' make[1]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb' make -C include make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/include' make -C lib make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/lib' gcc -MM -MF activate/activate.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/activate.c -o activate/activate.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from activate/activate.c:21: activate/activate.c: In function '_biggest': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function '_smallest': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro 'list_for_each_entry' 68 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:68:2: note: in expansion of macro 'list_for_each_entry' 68 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro 'list_for_each_entry' 71 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:71:2: note: in expansion of macro 'list_for_each_entry' 71 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'dm_linear': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro 'list_for_each_entry' 153 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:153:2: note: in expansion of macro 'list_for_each_entry' 153 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro 'list_for_each_entry' 176 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:176:2: note: in expansion of macro 'list_for_each_entry' 176 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function '_dm_raid0_eol': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro 'list_for_each_entry' 247 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:247:2: note: in expansion of macro 'list_for_each_entry' 247 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro 'list_for_each_entry' 266 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:266:2: note: in expansion of macro 'list_for_each_entry' 266 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function '_dm_raid_devs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro 'list_for_each_entry' 296 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:296:2: note: in expansion of macro 'list_for_each_entry' 296 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'get_rds': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro 'list_for_each_entry' 355 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:355:2: note: in expansion of macro 'list_for_each_entry' 355 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'get_dm_devs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro 'list_for_each_entry' 373 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:373:2: note: in expansion of macro 'list_for_each_entry' 373 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'get_rebuild_drive': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:398:8: note: in expansion of macro 'list_entry' 398 | rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ activate/activate.c: In function 'dm_raid1': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro 'list_for_each_entry' 480 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:480:2: note: in expansion of macro 'list_for_each_entry' 480 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro 'list_for_each_entry' 517 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:517:2: note: in expansion of macro 'list_for_each_entry' 517 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'dm_raid': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:718:14: note: in expansion of macro 'list_entry' 718 | rd_first = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro 'list_for_each_entry_safe' 738 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro 'list_for_each_entry_safe' 738 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ activate/activate.c:738:3: note: in expansion of macro 'list_for_each_entry_safe' 738 | list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro 'list_for_each_entry' 786 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:786:2: note: in expansion of macro 'list_for_each_entry' 786 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro 'list_for_each_entry' 801 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:801:2: note: in expansion of macro 'list_for_each_entry' 801 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'reload_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro 'list_for_each_entry' 982 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:982:2: note: in expansion of macro 'list_for_each_entry' 982 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'activate_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:1041:25: note: in expansion of macro 'list_entry' 1041 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ activate/activate.c:1057:25: note: in expansion of macro 'list_entry' 1057 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro 'list_for_each_entry' 1071 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:1071:2: note: in expansion of macro 'list_for_each_entry' 1071 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'deactivate_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro 'list_for_each_entry' 1120 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ activate/activate.c:1120:2: note: in expansion of macro 'list_for_each_entry' 1120 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ activate/activate.c: In function 'do_device': activate/activate.c:912:17: warning: 'strncat' specified bound 3 equals source length [-Wstringop-overflow=] 912 | strncat(lib_name, ".so", 3); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF activate/devmapper.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE activate/devmapper.c -o activate/devmapper.o gcc -MM -MF device/ata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/ata.c -o device/ata.o device/ata.c: In function 'get_ata_serial': device/ata.c:30:16: warning: cast increases required alignment of target type [-Wcast-align] 30 | ata_ident = (struct ata_identify *) &buf[cmd_offset]; | ^ gcc -MM -MF device/partition.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/partition.c -o device/partition.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from device/partition.c:11: device/partition.c: In function '_remove_subset_partitions': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro 'list_for_each_entry' 24 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ device/partition.c:24:2: note: in expansion of macro 'list_for_each_entry' 24 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ device/partition.c: In function 'remove_device_partitions': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ device/partition.c:52:2: note: in expansion of macro 'list_for_each_entry' 52 | list_for_each_entry(subset, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF device/scan.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scan.c -o device/scan.o gcc -MM -MF device/scsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE device/scsi.c -o device/scsi.o device/scsi.c: In function 'old_inquiry': device/scsi.c:69:20: warning: cast increases required alignment of target type [-Wcast-align] 69 | unsigned int *i = (unsigned int *) response; | ^ gcc -MM -MF display/display.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE display/display.c -o display/display.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from display/display.c:8: display/display.c: In function 'log_disk': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:94:24: note: in expansion of macro 'list_entry' 94 | struct dev_info *di = list_entry(pos, typeof(*di), list); | ^~~~~~~~~~ display/display.c: In function 'log_rd_native': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:132:24: note: in expansion of macro 'list_entry' 132 | struct raid_dev *rd = list_entry(pos, typeof(*rd), list); | ^~~~~~~~~~ display/display.c: In function 'log_rd': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ display/display.c:147:24: note: in expansion of macro 'list_entry' 147 | struct raid_dev *rd = list_entry(pos, typeof(*rd), list); | ^~~~~~~~~~ display/display.c: In function 'log_rs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro 'list_for_each_entry' 314 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:314:3: note: in expansion of macro 'list_for_each_entry' 314 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function 'group_active': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro 'list_for_each_entry' 324 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:324:2: note: in expansion of macro 'list_for_each_entry' 324 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function 'display_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro 'list_for_each_entry' 362 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:362:3: note: in expansion of macro 'list_for_each_entry' 362 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ display/display.c: In function '_list_formats': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro 'list_for_each_entry' 376 | list_for_each_entry(fmt_list, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ display/display.c:376:2: note: in expansion of macro 'list_for_each_entry' 376 | list_for_each_entry(fmt_list, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/format.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/format.c -o format/format.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/format.c:12: format/format.c: In function 'unregister_format_handlers': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/format.c:141:12: note: in expansion of macro 'list_entry' 141 | dbg_free(list_entry(elem, struct format_list, list)); | ^~~~~~~~~~ format/format.c: In function '_check_raid_set': ../include/dmraid/list.h:59:3: 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/format.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:291:2: note: in expansion of macro 'list_for_each_entry' 291 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/format.c: In function 'set_rs_status': ../include/dmraid/list.h:59:3: 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/format.c:416:2: note: in expansion of macro 'list_for_each_entry' 416 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:416:2: note: in expansion of macro 'list_for_each_entry' 416 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:429:2: note: in expansion of macro 'list_for_each_entry' 429 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:429:2: note: in expansion of macro 'list_for_each_entry' 429 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/format.c: In function 'check_raid_set': ../include/dmraid/list.h:59:3: 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/format.c:463:2: note: in expansion of macro 'list_for_each_entry' 463 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:463:2: note: in expansion of macro 'list_for_each_entry' 463 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/format.c:469:8: note: in expansion of macro 'list_entry' 469 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/format.c: In function 'check_valid_format': ../include/dmraid/list.h:59:3: 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/format.c:587:2: note: in expansion of macro 'list_for_each_entry' 587 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/format.c:587:2: note: in expansion of macro 'list_for_each_entry' 587 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF locking/locking.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE locking/locking.c -o locking/locking.o gcc -MM -MF log/log.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE log/log.c -o log/log.o gcc -MM -MF metadata/log_ops.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/log_ops.c -o metadata/log_ops.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/log_ops.c:10: metadata/log_ops.c: In function 'end_log': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/log_ops.c:19:12: note: in expansion of macro 'list_entry' 19 | dbg_free(list_entry(pos, struct change, changes)); | ^~~~~~~~~~ metadata/log_ops.c: In function 'revert_log': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro 'list_for_each_entry' 30 | list_for_each_entry(entry, log, changes) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/log_ops.c:30:2: note: in expansion of macro 'list_for_each_entry' 30 | list_for_each_entry(entry, log, changes) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/metadata.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/metadata.c -o metadata/metadata.o In file included from ./internal.h:36, from metadata/metadata.c:12: metadata/metadata.c: In function 'get_stacked_type': ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] 288 | #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) | ^ metadata/metadata.c:123:50: note: in expansion of macro 'RS_RS' 123 | unsigned int t = (T_RAID0(rs) ? get_type_index((RS_RS(rs))->type) : | ^~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: metadata/metadata.c: In function 'smallest_disk': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro 'list_for_each_entry' 183 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:183:2: note: in expansion of macro 'list_for_each_entry' 183 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'count_subsets': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro 'list_for_each_entry' 196 | list_for_each_entry(r, &rs->sets, list) ret++; | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:196:2: note: in expansion of macro 'list_for_each_entry' 196 | list_for_each_entry(r, &rs->sets, list) ret++; | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'total_sectors': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro 'list_for_each_entry' 212 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:212:3: note: in expansion of macro 'list_for_each_entry' 212 | list_for_each_entry(r, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro 'list_for_each_entry' 221 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:221:3: note: in expansion of macro 'list_for_each_entry' 221 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro 'list_for_each_entry' 231 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:231:3: note: in expansion of macro 'list_for_each_entry' 231 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'count_devs': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro 'list_for_each_entry' 267 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:267:2: note: in expansion of macro 'list_for_each_entry' 267 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro 'list_for_each_entry' 272 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:272:2: note: in expansion of macro 'list_for_each_entry' 272 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function '_free_dev_infos': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:365:22: note: in expansion of macro 'list_entry' 365 | _free_dev_info(lc, list_entry(elem, struct dev_info, list)); | ^~~~~~~~~~ metadata/metadata.c: In function '_free_raid_devs': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:424:8: note: in expansion of macro 'list_entry' 424 | rd = list_entry(elem, struct raid_dev, list); | ^~~~~~~~~~ metadata/metadata.c: In function '_free_raid_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:464:8: note: in expansion of macro 'RD' 464 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'free_raid_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ metadata/metadata.c:499:21: note: in expansion of macro 'RS' 499 | free_raid_set(lc, RS(elem)); | ^~ metadata/metadata.c: In function '_find_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro 'list_for_each_entry' 541 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:541:2: note: in expansion of macro 'list_for_each_entry' 541 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro 'list_for_each_entry' 549 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:549:3: note: in expansion of macro 'list_for_each_entry' 549 | list_for_each_entry(r, list, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:574:28: note: in expansion of macro 'list_entry' 574 | struct raid_set *new_rs = list_entry(new, struct raid_set, list); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:575:28: note: in expansion of macro 'list_entry' 575 | struct raid_set *pos_rs = list_entry(pos, struct raid_set, list); | ^~~~~~~~~~ metadata/metadata.c: In function 'dmraid_read': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro 'list_for_each_entry' 697 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:697:2: note: in expansion of macro 'list_for_each_entry' 697 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'discover_raid_devices_spares': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro 'list_for_each_entry' 770 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:770:2: note: in expansion of macro 'list_for_each_entry' 770 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'discover_raid_devices': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro 'list_for_each_entry' 799 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:799:2: note: in expansion of macro 'list_for_each_entry' 799 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function '_discover_partitions': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro 'list_for_each_entry' 833 | list_for_each_entry(rs, rs_list, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:833:2: note: in expansion of macro 'list_for_each_entry' 833 | list_for_each_entry(rs, rs_list, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'want_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ metadata/metadata.c:910:3: note: in expansion of macro 'list_for_each_entry_safe' 910 | list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./internal.h:36, from metadata/metadata.c:12: metadata/metadata.c: In function 'get_format': ../include/dmraid/format.h:288:20: warning: cast increases required alignment of target type [-Wcast-align] 288 | #define RS_RS(rs) ((struct raid_set*) (rs)->sets.next) | ^ metadata/metadata.c:944:8: note: in expansion of macro 'RS_RS' 944 | rs = RS_RS(rs); | ^~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:946:21: note: in expansion of macro 'RD_RS' 946 | return DEVS(rs) ? (RD_RS(rs))->fmt : NULL; | ^~~~~ metadata/metadata.c: In function 'get_raid_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro 'list_for_each_entry' 956 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:956:2: note: in expansion of macro 'list_for_each_entry' 956 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro 'list_for_each_entry' 957 | list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:957:3: note: in expansion of macro 'list_for_each_entry' 957 | list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro 'list_for_each_entry' 960 | list_for_each_entry(sub_rs, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:960:4: note: in expansion of macro 'list_for_each_entry' 960 | list_for_each_entry(sub_rs, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro 'list_for_each_entry' 961 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:961:5: note: in expansion of macro 'list_for_each_entry' 961 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'check_raid_sets': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ metadata/metadata.c:981:32: note: in expansion of macro 'RS' 981 | if (!(fmt = get_format((rs = RS(elem))))) | ^~ metadata/metadata.c: In function 'build_set': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1015:8: note: in expansion of macro 'list_entry' 1015 | rd = list_entry(elem, struct raid_dev, list); | ^~~~~~~~~~ metadata/metadata.c: In function 'find_disk': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro 'list_for_each_entry' 1226 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1226:2: note: in expansion of macro 'list_for_each_entry' 1226 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'find_format': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro 'list_for_each_entry' 1243 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1243:2: note: in expansion of macro 'list_for_each_entry' 1243 | list_for_each_entry(fl, LC_FMT(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'free_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1333:9: note: in expansion of macro 'list_entry' 1333 | rs1 = list_entry(rs->sets.next, struct raid_set, list); | ^~~~~~~~~~ metadata/metadata.c: In function 'find_raiddev': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro 'list_for_each_entry' 1348 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1348:2: note: in expansion of macro 'list_for_each_entry' 1348 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'create_raidset': metadata/metadata.c:1436:17: warning: comparison between pointer and zero character constant [-Wpointer-compare] 1436 | } while (end++ != '\0'); | ^~ metadata/metadata.c:1436:11: note: did you mean to dereference the pointer? 1436 | } while (end++ != '\0'); | ^ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/metadata.c:12: metadata/metadata.c: In function 'rebuild_config_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1472:15: note: in expansion of macro 'RD_RS' 1472 | if (!(fmt = (RD_RS(rs)->fmt))) | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1485:9: note: in expansion of macro 'RD' 1485 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'config_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1507:14: note: in expansion of macro 'RD_RS' 1507 | if (!(fmt = RD_RS(rs)->fmt)) | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ metadata/metadata.c:1520:9: note: in expansion of macro 'RD' 1520 | rd = RD(elem); | ^~ metadata/metadata.c: In function 'process_sets': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro 'list_for_each_entry' 1628 | list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1628:2: note: in expansion of macro 'list_for_each_entry' 1628 | list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'write_set': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' 1640 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1640:2: note: in expansion of macro 'list_for_each_entry' 1640 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro 'list_for_each_entry' 1652 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1652:2: note: in expansion of macro 'list_for_each_entry' 1652 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'erase_metadata': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro 'list_for_each_entry' 1675 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1675:2: note: in expansion of macro 'list_for_each_entry' 1675 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'delete_raidsets': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' 1890 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1890:2: note: in expansion of macro 'list_for_each_entry' 1890 | list_for_each_entry(rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1891:14: note: in expansion of macro 'list_entry' 1891 | if (!(rd = list_entry(rs->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' 1895 | list_for_each_entry(rs1, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1895:4: note: in expansion of macro 'list_for_each_entry' 1895 | list_for_each_entry(rs1, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro 'list_for_each_entry' 1908 | list_for_each_entry(rs1, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1908:5: note: in expansion of macro 'list_for_each_entry' 1908 | list_for_each_entry(rs1, &rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/metadata.c:1912:11: note: in expansion of macro 'list_entry' 1912 | rs1 = list_entry(rs->sets.next, | ^~~~~~~~~~ metadata/metadata.c: In function 'find_set_inconsistent': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro 'list_for_each_entry' 1953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1953:2: note: in expansion of macro 'list_for_each_entry' 1953 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'find_spare': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/metadata.c:1985:13: note: in expansion of macro 'RD_RS' 1985 | !(rd = RD_RS(rs_failed))) | ^~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro 'list_for_each_entry' 1997 | list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1997:3: note: in expansion of macro 'list_for_each_entry' 1997 | list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro 'list_for_each_entry' 1999 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:1999:5: note: in expansion of macro 'list_for_each_entry' 1999 | list_for_each_entry(spare_rd, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro 'list_for_each_entry' 2023 | list_for_each_entry(group_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2023:3: note: in expansion of macro 'list_for_each_entry' 2023 | list_for_each_entry(group_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro 'list_for_each_entry' 2026 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2026:5: note: in expansion of macro 'list_for_each_entry' 2026 | list_for_each_entry(tmp_spare_rs, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro 'list_for_each_entry' 2030 | list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2030:7: note: in expansion of macro 'list_for_each_entry' 2030 | list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/metadata.c: In function 'dso_get_members': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro 'list_for_each_entry' 2174 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/metadata.c:2174:3: note: in expansion of macro 'list_for_each_entry' 2174 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF metadata/reconfig.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE metadata/reconfig.c -o metadata/reconfig.o In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function 'dso_end_rebuild': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/reconfig.c:53:32: note: in expansion of macro 'RD_RS' 53 | struct raid_dev *check_rd = RD_RS(sub_rs); | ^~~~~ metadata/reconfig.c: In function 'show_raid_stack': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro 'list_for_each_entry' 95 | list_for_each_entry(_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:95:2: note: in expansion of macro 'list_for_each_entry' 95 | list_for_each_entry(_rs, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro 'list_for_each_entry' 101 | list_for_each_entry(_rd, &_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:101:3: note: in expansion of macro 'list_for_each_entry' 101 | list_for_each_entry(_rd, &_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro 'list_for_each_entry' 106 | list_for_each_entry(_rss, &_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:106:3: note: in expansion of macro 'list_for_each_entry' 106 | list_for_each_entry(_rss, &_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro 'list_for_each_entry' 112 | list_for_each_entry(_rsd, &_rss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:112:4: note: in expansion of macro 'list_for_each_entry' 112 | list_for_each_entry(_rsd, &_rss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro 'list_for_each_entry' 118 | list_for_each_entry(_rsss, &_rss->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:118:4: note: in expansion of macro 'list_for_each_entry' 118 | list_for_each_entry(_rsss, &_rss->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro 'list_for_each_entry' 122 | list_for_each_entry(_rssd, &_rsss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:122:5: note: in expansion of macro 'list_for_each_entry' 122 | list_for_each_entry(_rssd, &_rsss->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'add_dev_to_raid': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/reconfig.c:145:13: note: in expansion of macro 'list_entry' 145 | check_rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro 'list_for_each_entry' 154 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:154:5: note: in expansion of macro 'list_for_each_entry' 154 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:81:13: note: in expansion of macro 'list_entry' 81 | for (pos = list_entry((head)->next, typeof(*pos), member),\ | ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:82:18: note: in expansion of macro 'list_entry' 82 | n = list_entry(pos->member.next, typeof(*pos), member); \ | ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/list.h:84:14: note: in expansion of macro 'list_entry' 84 | pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) | ^~~~~~~~~~ metadata/reconfig.c:182:4: note: in expansion of macro 'list_for_each_entry_safe' 182 | list_for_each_entry_safe(before_rd, tmp_rd, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro 'list_for_each_entry' 207 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:207:3: note: in expansion of macro 'list_for_each_entry' 207 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro 'list_for_each_entry' 216 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:216:3: note: in expansion of macro 'list_for_each_entry' 216 | list_for_each_entry(crs, &sub_rs->sets, list) | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c:230:25: warning: unused variable 'fmt' [-Wunused-variable] 230 | struct dmraid_format *fmt = get_format(sub_rs); | ^~~ metadata/reconfig.c:229:8: warning: unused variable 'lib_name' [-Wunused-variable] 229 | char lib_name[LIB_NAME_LENGTH] = { 0 }; | ^~~~~~~~ metadata/reconfig.c:228:7: warning: unused variable 'pending' [-Wunused-variable] 228 | int pending; | ^~~~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function 'check_busy_disk': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro 'list_for_each_entry' 281 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:281:2: note: in expansion of macro 'list_for_each_entry' 281 | list_for_each_entry(rd, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'del_dev_in_raid1': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro 'list_for_each_entry' 394 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:394:2: note: in expansion of macro 'list_for_each_entry' 394 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro 'list_for_each_entry' 413 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:413:2: note: in expansion of macro 'list_for_each_entry' 413 | list_for_each_entry(tmp, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'handle_dev': metadata/reconfig.c:458:15: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 458 | if (h->type == rs->type) | ^~ metadata/reconfig.c:460:23: warning: comparison between 'enum change_type' and 'enum type' [-Wenum-compare] 460 | } while ((++h)->type != t_undef); | ^~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from metadata/reconfig.c:19: metadata/reconfig.c: In function 'find_group': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro 'list_for_each_entry' 519 | list_for_each_entry(tmp, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:519:2: note: in expansion of macro 'list_for_each_entry' 519 | list_for_each_entry(tmp, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro 'list_for_each_entry' 521 | list_for_each_entry(r, &tmp->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:521:4: note: in expansion of macro 'list_for_each_entry' 521 | list_for_each_entry(r, &tmp->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro 'list_for_each_entry' 525 | list_for_each_entry(r2, &r->sets, | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:525:6: note: in expansion of macro 'list_for_each_entry' 525 | list_for_each_entry(r2, &r->sets, | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function '_rebuild_raidset': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ metadata/reconfig.c:573:31: note: in expansion of macro 'RD_RS' 573 | struct raid_dev *check_rd = RD_RS(sub_rs); | ^~~~~ metadata/reconfig.c: In function 'check_allow_rebuild': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ metadata/reconfig.c:639:24: note: in expansion of macro 'list_entry' 639 | struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ metadata/reconfig.c: In function 'rebuild_raidset': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro 'list_for_each_entry' 685 | list_for_each_entry(rs, &sub_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:685:4: note: in expansion of macro 'list_for_each_entry' 685 | list_for_each_entry(rs, &sub_rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ metadata/reconfig.c: In function 'write_set_spare': ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro 'list_for_each_entry' 711 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:711:2: note: in expansion of macro 'list_for_each_entry' 711 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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); \ | ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro 'list_for_each_entry' 723 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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)) | ^~~~~~~~~~ metadata/reconfig.c:723:3: note: in expansion of macro 'list_for_each_entry' 723 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ gcc -MM -MF misc/file.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/file.c -o misc/file.o gcc -MM -MF misc/init.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/init.c -o misc/init.o gcc -MM -MF misc/lib_context.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/lib_context.c -o misc/lib_context.o gcc -MM -MF misc/misc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/misc.c -o misc/misc.o gcc -MM -MF misc/workaround.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE misc/workaround.c -o misc/workaround.o gcc -MM -MF mm/dbg_malloc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE mm/dbg_malloc.c -o mm/dbg_malloc.o gcc -MM -MF format/ataraid/asr.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/asr.c -o format/ataraid/asr.o In file included from ./internal.h:36, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/asr.c:490:35: note: in expansion of macro 'RD' 490 | return compose_id(this_disk(META(RD(new), asr))) < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/asr.c:491:35: note: in expansion of macro 'RD' 491 | compose_id(this_disk(META(RD(pos), asr))); | ^~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ataraid/asr.c:20: format/ataraid/asr.c: In function 'find_newest_drive': ../include/dmraid/list.h:59:3: 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/asr.c:746:2: note: in expansion of macro 'list_for_each_entry' 746 | list_for_each_entry(device, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:746:2: note: in expansion of macro 'list_for_each_entry' 746 | list_for_each_entry(device, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'in_raid_set': ../include/dmraid/list.h:59:3: 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/asr.c:818:2: note: in expansion of macro 'list_for_each_entry' 818 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:818:2: note: in expansion of macro 'list_for_each_entry' 818 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'cleanup_configlines': ../include/dmraid/list.h:59:3: 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/asr.c:836:2: note: in expansion of macro 'list_for_each_entry' 836 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:836:2: note: in expansion of macro 'list_for_each_entry' 836 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'update_metadata': ../include/dmraid/list.h:59:3: 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/asr.c:955:2: note: in expansion of macro 'list_for_each_entry' 955 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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/asr.c:955:2: note: in expansion of macro 'list_for_each_entry' 955 | list_for_each_entry(d, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/asr.c: In function 'check_rd': format/ataraid/asr.c:1034:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 1034 | return rd->type != s_broken; | ^~ gcc -MM -MF format/ataraid/hpt37x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt37x.c -o format/ataraid/hpt37x.o In file included from ./internal.h:36, from format/ataraid/hpt37x.c:16: format/ataraid/hpt37x.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:98:14: note: in expansion of macro 'RD' 98 | return META(RD(new), hpt37x)->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:99:14: note: in expansion of macro 'RD' 99 | META(RD(pos), hpt37x)->disk_number; | ^~ format/ataraid/hpt37x.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro 'RD_RS' 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:106:20: note: in expansion of macro 'RS' 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:106:14: note: in expansion of macro 'RD_RS' 106 | return META(RD_RS(RS(new)), hpt37x)->order < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro 'RD_RS' 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt37x.c:107:20: note: in expansion of macro 'RS' 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:107:14: note: in expansion of macro 'RD_RS' 107 | META(RD_RS(RS(pos)), hpt37x)->order; | ^~~~~ format/ataraid/hpt37x.c: In function 'group_rd': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt37x.c:231:22: note: in expansion of macro 'RD_RS' 231 | h = DEVS(rs) ? META(RD_RS(rs), hpt37x) : NULL; | ^~~~~ format/ataraid/hpt37x.c: In function 'hpt37x_log': format/ataraid/hpt37x.c:356:12: warning: taking address of packed member of 'struct hpt37x' may result in an unaligned pointer value [-Waddress-of-packed-member] 356 | for (el = hpt->errorlog; el < hpt->errorlog + 32; el++) { | ^~~ gcc -MM -MF format/ataraid/hpt45x.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/hpt45x.c -o format/ataraid/hpt45x.o In file included from ./internal.h:36, from format/ataraid/hpt45x.c:16: format/ataraid/hpt45x.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:90:14: note: in expansion of macro 'RD' 90 | return META(RD(new), hpt45x)->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:91:14: note: in expansion of macro 'RD' 91 | META(RD(pos), hpt45x)->disk_number; | ^~ format/ataraid/hpt45x.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:98:20: note: in expansion of macro 'RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:98:14: note: in expansion of macro 'RD_RS' 98 | return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/hpt45x.c:99:20: note: in expansion of macro 'RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/hpt45x.c:99:14: note: in expansion of macro 'RD_RS' 99 | META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; | ^~~~~ gcc -MM -MF format/ataraid/isw.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/isw.c -o format/ataraid/isw.o format/ataraid/isw.c: In function '_get_disk': format/ataraid/isw.c:141:27: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 141 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function 'name': format/ataraid/isw.c:203:26: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 203 | struct isw_disk *disk = isw->disk; | ^~~ format/ataraid/isw.c: In function '_checksum': format/ataraid/isw.c:303:8: warning: cast increases required alignment of target type [-Wcast-align] 303 | *p = (uint32_t *) isw, ret = 0; | ^ format/ataraid/isw.c:303:3: warning: converting a packed 'struct isw' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 303 | *p = (uint32_t *) isw, ret = 0; | ^ In file included from format/ataraid/isw.c:31: format/ataraid/isw.h:203:8: note: defined here 203 | struct isw { | ^~~ 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 'is_first_volume': ../include/dmraid/list.h:59:3: 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:438:2: note: in expansion of macro 'list_for_each_entry' 438 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:438:2: note: in expansion of macro 'list_for_each_entry' 438 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:439:3: note: in expansion of macro 'list_for_each_entry' 439 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:439:3: note: in expansion of macro 'list_for_each_entry' 439 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:803:20: note: in expansion of macro 'RD' 803 | struct isw *isw = RD(new)->private.ptr; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:805:24: note: in expansion of macro 'RD' 805 | return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/isw.c:805:54: note: in expansion of macro 'RD' 805 | return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); | ^~ format/ataraid/isw.c: In function 'rd_by_serial': ../include/dmraid/list.h:59:3: 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:975:2: note: in expansion of macro 'list_for_each_entry' 975 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:975:2: note: in expansion of macro 'list_for_each_entry' 975 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'update_metadata_after_rebuild': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:988:24: note: in expansion of macro 'list_entry' 988 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function 'number_disks_status': ../include/dmraid/list.h:59:3: 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:1096:2: note: in expansion of macro 'list_for_each_entry' 1096 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1096:2: note: in expansion of macro 'list_for_each_entry' 1096 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'get_rs_status': ../include/dmraid/list.h:59:3: 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:1177:2: note: in expansion of macro 'list_for_each_entry' 1177 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1177:2: note: in expansion of macro 'list_for_each_entry' 1177 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1187:10: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1187 | disk = isw->disk; | ^~~ format/ataraid/isw.c:1167:19: warning: variable 'disk' set but not used [-Wunused-but-set-variable] 1167 | struct isw_disk *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 'get_rebuild_state': ../include/dmraid/list.h:59:3: 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:1227:2: note: in expansion of macro 'list_for_each_entry' 1227 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1227:2: note: in expansion of macro 'list_for_each_entry' 1227 | list_for_each_entry(check_rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:1238:11: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1238 | 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 'get_number_of_devices': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1277:3: note: in expansion of macro 'list_entry' 1277 | list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function 'isw_metadata_handler': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1315:24: note: in expansion of macro 'list_entry' 1315 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1327:3: note: in expansion of macro 'list_for_each_entry' 1327 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1327:3: note: in expansion of macro 'list_for_each_entry' 1327 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1363:8: note: in expansion of macro 'list_entry' 1363 | rd = list_entry(rs->devs.next, typeof(*rd), devs); | ^~~~~~~~~~ format/ataraid/isw.c:1370:10: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1370 | 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 '_isw_check': ../include/dmraid/list.h:59:3: 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:1440:2: note: in expansion of macro 'list_for_each_entry' 1440 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1440:2: note: in expansion of macro 'list_for_each_entry' 1440 | list_for_each_entry(r, &rs->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'is_name_unique': ../include/dmraid/list.h:59:3: 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:1476:2: note: in expansion of macro 'list_for_each_entry' 1476 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1476:2: note: in expansion of macro 'list_for_each_entry' 1476 | list_for_each_entry(rs1, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:4: note: in expansion of macro 'list_for_each_entry' 1478 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:4: note: in expansion of macro 'list_for_each_entry' 1478 | list_for_each_entry(rs2, &rs1->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'check_capability': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1506:4: note: in expansion of macro 'list_entry' 1506 | list_entry(rs->sets.next, struct raid_set, list); | ^~~~~~~~~~ format/ataraid/isw.c: In function 'match_hd_array': ../include/dmraid/list.h:59:3: 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:1531:2: note: in expansion of macro 'list_for_each_entry' 1531 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1531:2: note: in expansion of macro 'list_for_each_entry' 1531 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'is_hd_array_available': ../include/dmraid/list.h:59:3: 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:1544:2: note: in expansion of macro 'list_for_each_entry' 1544 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1544:2: note: in expansion of macro 'list_for_each_entry' 1544 | list_for_each_entry(rd1, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1545:3: note: in expansion of macro 'list_for_each_entry' 1545 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1545:3: note: in expansion of macro 'list_for_each_entry' 1545 | list_for_each_entry(rd2, LC_RD(lc), list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_config_disks': ../include/dmraid/list.h:59:3: 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:1583:2: note: in expansion of macro 'list_for_each_entry' 1583 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1583:2: note: in expansion of macro 'list_for_each_entry' 1583 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_cal_array_size': ../include/dmraid/list.h:59:3: 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:1719:2: note: in expansion of macro 'list_for_each_entry' 1719 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1719:2: note: in expansion of macro 'list_for_each_entry' 1719 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'display_new_volume': ../include/dmraid/list.h:59:3: 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:1850:2: note: in expansion of macro 'list_for_each_entry' 1850 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1850:2: note: in expansion of macro 'list_for_each_entry' 1850 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1881:9: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1881 | 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:3: 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:1925:2: note: in expansion of macro 'list_for_each_entry' 1925 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1925:2: note: in expansion of macro 'list_for_each_entry' 1925 | list_for_each_entry(r, LC_RS(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1929:3: note: in expansion of macro 'list_for_each_entry' 1929 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1929:3: note: in expansion of macro 'list_for_each_entry' 1929 | list_for_each_entry(rd2, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1930:4: note: in expansion of macro 'list_for_each_entry' 1930 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:1930:4: note: in expansion of macro 'list_for_each_entry' 1930 | list_for_each_entry(rd1, &r->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_second_volume': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:1965:7: note: in expansion of macro 'list_entry' 1965 | rd = list_entry(rs_group->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:1978:37: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 1978 | 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:3: 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:2048:2: note: in expansion of macro 'list_for_each_entry' 2048 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2048:2: note: in expansion of macro 'list_for_each_entry' 2048 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2080:8: note: in expansion of macro 'list_entry' 2080 | rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c: In function '_isw_log': format/ataraid/isw.c:2245:21: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2245 | 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:3: 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:2392:2: note: in expansion of macro 'list_for_each_entry' 2392 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2392:2: note: in expansion of macro 'list_for_each_entry' 2392 | list_for_each_entry(rd, &rs->devs, devs) | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_write_all': ../include/dmraid/list.h:59:3: 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:2: note: in expansion of macro 'list_for_each_entry' 2415 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2: note: in expansion of macro 'list_for_each_entry' 2415 | list_for_each_entry(r, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_delete_all': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2475:13: note: in expansion of macro 'list_entry' 2475 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2479:13: note: in expansion of macro 'list_entry' 2479 | if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2495:2: note: in expansion of macro 'list_for_each_entry' 2495 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2495:2: note: in expansion of macro 'list_for_each_entry' 2495 | list_for_each_entry(rs, &rs_group->sets, list) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_delete': ../include/dmraid/list.h:59:3: 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:2531:2: note: in expansion of macro 'list_for_each_entry' 2531 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2531:2: note: in expansion of macro 'list_for_each_entry' 2531 | list_for_each_entry(rs, &rs_group->sets, list) | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2537:13: note: in expansion of macro 'list_entry' 2537 | if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) | ^~~~~~~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2546:13: note: in expansion of macro 'list_entry' 2546 | 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:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ format/ataraid/isw.c:2711:24: note: in expansion of macro 'list_entry' 2711 | struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); | ^~~~~~~~~~ format/ataraid/isw.c:2715:26: warning: taking address of packed member of 'struct isw' may result in an unaligned pointer value [-Waddress-of-packed-member] 2715 | 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:3: 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:2726:3: note: in expansion of macro 'list_for_each_entry' 2726 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2726:3: note: in expansion of macro 'list_for_each_entry' 2726 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2760:2: note: in expansion of macro 'list_for_each_entry' 2760 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2760:2: note: in expansion of macro 'list_for_each_entry' 2760 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2773:3: note: in expansion of macro 'list_for_each_entry' 2773 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2773:3: note: in expansion of macro 'list_for_each_entry' 2773 | list_for_each_entry(di, LC_DI(lc), list) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2877:2: note: in expansion of macro 'list_for_each_entry' 2877 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2877:2: note: in expansion of macro 'list_for_each_entry' 2877 | list_for_each_entry(rd, &sub_rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2923:2: note: in expansion of macro 'list_for_each_entry' 2923 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ ../include/dmraid/list.h:59:3: 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:2923:2: note: in expansion of macro 'list_for_each_entry' 2923 | list_for_each_entry(rd, &rs->devs, devs) { | ^~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function '_isw_create_first_volume': format/ataraid/isw.c:1903:2: warning: 'strncpy' output truncated before terminating nul copying 24 bytes from a string of the same length [-Wstringop-truncation] 1903 | strncpy((char *) isw->sig, MPB_SIGNATURE, MPB_SIGNATURE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_remove_dev': format/ataraid/isw.c:2450:3: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2450 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2451 | MPB_VERSION_RAID1, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c:2455:3: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 2455 | strncpy((char *) isw_tmp->sig + MPB_SIGNATURE_SIZE, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2456 | MPB_VERSION_RAID0, MPB_VERSION_LENGTH); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ format/ataraid/isw.c: In function 'isw_config_dev': format/ataraid/isw.c:1768:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 1768 | strncpy((char *) dev2->volume, rs->name, MAX_RAID_SERIAL_LEN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'update_metadata', inlined from 'isw_create' at format/ataraid/isw.c:2175:9: format/ataraid/isw.c:2830:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2830 | strncpy((char *) new_disk->serial, dev_info_serial_to_isw(di->serial), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2831 | MAX_RAID_SERIAL_LEN); | ~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ataraid/jm.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/jm.c -o format/ataraid/jm.o format/ataraid/jm.c: In function 'checksum': format/ataraid/jm.c:86:16: warning: cast increases required alignment of target type [-Wcast-align] 86 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^ format/ataraid/jm.c:86:2: warning: converting a packed 'struct jm' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 86 | uint16_t *p = (uint16_t *) jm, sum = 0; | ^~~~~~~~ In file included from format/ataraid/jm.c:14: format/ataraid/jm.h:22:8: note: defined here 22 | struct jm { | ^~ In file included from ./internal.h:36, from format/ataraid/jm.c:12: format/ataraid/jm.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:124:21: note: in expansion of macro 'RD' 124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm)); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/jm.c:124:49: note: in expansion of macro 'RD' 124 | return member(META(RD(new), jm)) < member(META(RD(pos), jm)); | ^~ format/ataraid/jm.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:131:21: note: in expansion of macro 'RD_RS' 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/jm.c:131:27: note: in expansion of macro 'RS' 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/jm.c:131:21: note: in expansion of macro 'RD_RS' 131 | return member(META(RD_RS(RS(pos)), jm)) > 1; | ^~~~~ format/ataraid/jm.c: In function 'name': format/ataraid/jm.c:35:8: warning: 'i' is used uninitialized in this function [-Wuninitialized] 35 | while (i && isspace(buf[i])) { | ^ gcc -MM -MF format/ataraid/lsi.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/lsi.c -o format/ataraid/lsi.o In file included from ./internal.h:36, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:23: note: in expansion of macro 'RD' 95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/lsi.c:95:48: note: in expansion of macro 'RD' 95 | struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); | ^~ format/ataraid/lsi.c: In function 'set_sort': ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:23: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ ../include/dmraid/format.h:287:25: warning: cast increases required alignment of target type [-Wcast-align] 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/lsi.c:111:51: note: in expansion of macro 'RD_RS' 111 | struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); | ^~~~~ In file included from ./internal.h:30, from format/ataraid/lsi.c:16: format/ataraid/lsi.c: In function 'lsi_log': format/ataraid/lsi.c:324:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 324 | i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); | ^ ./log/log.h:84:70: note: in definition of macro '_log_print' 84 | #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) | ^ ../include/dmraid/format.h:271:7: note: in expansion of macro 'log_print' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro 'P_OFF' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro 'P' 323 | P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, | ^ format/ataraid/lsi.c:324:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 324 | i, (uint64_t) disk->unknown1, (uint64_t) disk->unknown1); | ^ ./log/log.h:84:70: note: in definition of macro '_log_print' 84 | #define _log_print(lc, lf, x...) plog(lc, 0, lf, __FILE__, __LINE__, x) | ^ ../include/dmraid/format.h:271:7: note: in expansion of macro 'log_print' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~~~~~ ../include/dmraid/format.h:271:35: note: in expansion of macro 'P_OFF' 271 | do { log_print(lc, P_FMT format, P_OFF(x, basevar, y)); } while(0) | ^~~~~ format/ataraid/lsi.c:323:3: note: in expansion of macro 'P' 323 | P("disks[%u].unknown1: %lu, 0x%lX", lsi, disk->unknown1, | ^ gcc -MM -MF format/ataraid/nv.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/nv.c -o format/ataraid/nv.o In file included from ./internal.h:36, from format/ataraid/nv.c:14: format/ataraid/nv.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/nv.c:133:14: note: in expansion of macro 'RD' 133 | return META(RD(new), nv)->unitNumber < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/nv.c:134:14: note: in expansion of macro 'RD' 134 | META(RD(pos), nv)->unitNumber; | ^~ format/ataraid/nv.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:141:23: note: in expansion of macro 'RD_RS' 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/nv.c:141:29: note: in expansion of macro 'RS' 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:141:23: note: in expansion of macro 'RD_RS' 141 | return _subset((META(RD_RS(RS(new)), nv))) < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:142:23: note: in expansion of macro 'RD_RS' 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/nv.c:142:29: note: in expansion of macro 'RS' 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/nv.c:142:23: note: in expansion of macro 'RD_RS' 142 | _subset((META(RD_RS(RS(pos)), nv))); | ^~~~~ format/ataraid/nv.c: In function 'checksum': format/ataraid/nv.c:194:11: warning: cast increases required alignment of target type [-Wcast-align] 194 | sum += ((uint32_t *) nv)[s]; | ^ gcc -MM -MF format/ataraid/pdc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/pdc.c -o format/ataraid/pdc.o format/ataraid/pdc.c: In function 'checksum': format/ataraid/pdc.c:108:16: warning: cast increases required alignment of target type [-Wcast-align] 108 | uint32_t *p = (uint32_t *) pdc; | ^ format/ataraid/pdc.c:108:2: warning: converting a packed 'struct pdc' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Waddress-of-packed-member] 108 | uint32_t *p = (uint32_t *) pdc; | ^~~~~~~~ In file included from format/ataraid/pdc.c:18: format/ataraid/pdc.h:27:8: note: defined here 27 | struct pdc { | ^~~ In file included from ./internal.h:36, from format/ataraid/pdc.c:16: format/ataraid/pdc.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:279:14: note: in expansion of macro 'RD' 279 | return META(RD(new), pdc)->raid.disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/pdc.c:280:14: note: in expansion of macro 'RD' 280 | META(RD(pos), pdc)->raid.disk_number; | ^~ format/ataraid/pdc.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:287:26: note: in expansion of macro 'RD_RS' 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/pdc.c:287:32: note: in expansion of macro 'RS' 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/pdc.c:287:26: note: in expansion of macro 'RD_RS' 287 | return !set_number(META(RD_RS(RS(new)), pdc)); | ^~~~~ format/ataraid/pdc.c: In function '_pdc_log': format/ataraid/pdc.c:590:14: warning: taking address of packed member of 'struct pdc' may result in an unaligned pointer value [-Waddress-of-packed-member] 590 | for (disk = pdc->raid.disk, i = 0; | ^~~ gcc -MM -MF format/ataraid/sil.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/sil.c -o format/ataraid/sil.o format/ataraid/sil.c: In function 'checksum': format/ataraid/sil.c:97:16: warning: cast increases required alignment of target type [-Wcast-align] 97 | uint16_t *p = (uint16_t *) sil; | ^ format/ataraid/sil.c:97:2: warning: converting a packed 'struct sil' pointer (alignment 1) to a 'uint16_t' {aka 'short unsigned int'} pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 97 | uint16_t *p = (uint16_t *) sil; | ^~~~~~~~ In file included from format/ataraid/sil.c:14: format/ataraid/sil.h:19:8: note: defined here 19 | struct sil { | ^~~ In file included from ./internal.h:36, from format/ataraid/sil.c:12: format/ataraid/sil.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:296:15: note: in expansion of macro 'RD' 296 | return (META(RD(new), sil))->disk_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/sil.c:297:9: note: in expansion of macro 'RD' 297 | (META(RD(pos), sil))->disk_number; | ^~ format/ataraid/sil.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:304:15: note: in expansion of macro 'RD_RS' 304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:304:21: note: in expansion of macro 'RS' 304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:304:15: note: in expansion of macro 'RD_RS' 304 | return (META(RD_RS(RS(new)), sil))->mirrored_set_number < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:305:9: note: in expansion of macro 'RD_RS' 305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/sil.c:305:15: note: in expansion of macro 'RS' 305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/sil.c:305:9: note: in expansion of macro 'RD_RS' 305 | (META(RD_RS(RS(pos)), sil))->mirrored_set_number; | ^~~~~ gcc -MM -MF format/ataraid/via.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ataraid/via.c -o format/ataraid/via.o In file included from ./internal.h:36, from format/ataraid/via.c:12: format/ataraid/via.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/via.c:188:23: note: in expansion of macro 'RD' 188 | struct via *p = META(RD(pos), via); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ataraid/via.c:189:23: note: in expansion of macro 'RD' 189 | struct via *n = META(RD(new), via); | ^~ format/ataraid/via.c: In function 'set_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/via.c:204:28: note: in expansion of macro 'RS' 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:204:22: note: in expansion of macro 'RD_RS' 204 | return _subset(META(RD_RS(RS(new)), via)) < | ^~~~~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~~~~ ../include/dmraid/format.h:286:19: note: in expansion of macro 'list_entry' 286 | #define RS(pos) (list_entry(pos, struct raid_set, list)) | ^~~~~~~~~~ format/ataraid/via.c:205:22: note: in expansion of macro 'RS' 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:284:61: note: in definition of macro 'META' 284 | #define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) | ^~ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ ../include/dmraid/format.h:287:20: note: in expansion of macro 'RD' 287 | #define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) | ^~ format/ataraid/via.c:205:16: note: in expansion of macro 'RD_RS' 205 | _subset(META(RD_RS(RS(pos)), via)); | ^~~~~ gcc -MM -MF format/ddf/ddf1.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1.c -o format/ddf/ddf1.o In file included from format/ddf/ddf1.c:16: format/ddf/ddf1.c: In function 'get_config_byoffset': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:107:20: note: in expansion of macro 'CR_IDS' 107 | cfg_drive_ids = CR_IDS(ddf1, cfg); | ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:108:24: note: in expansion of macro 'CR_OFF' 108 | cfg_drive_offsets = CR_OFF(ddf1, cfg); | ^~~~~~ format/ddf/ddf1.c: In function 'get_config_index': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:131:10: note: in expansion of macro 'CR_IDS' 131 | ids = CR_IDS(ddf1, cr); | ^~~~~~ format/ddf/ddf1.c: In function 'get_offset_entry': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:173:9: note: in expansion of macro 'CR_IDS' 173 | ids = CR_IDS(ddf1, cr); | ^~~~~~ format/ddf/ddf1.c: In function 'get_offset': format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1.c:190:28: note: in expansion of macro 'CR_OFF' 190 | return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; | ^~~~~~ In file included from ../include/dmraid/lib_context.h:14, from ./internal.h:26, from format/ddf/ddf1.c:13: format/ddf/ddf1.c: In function 'dev_sort': ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ddf/ddf1.c:620:28: note: in expansion of macro 'RD' 620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); | ^~ ../include/dmraid/list.h:59:3: warning: cast increases required alignment of target type [-Wcast-align] 59 | ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) | ^ ../include/dmraid/format.h:285:19: note: in expansion of macro 'list_entry' 285 | #define RD(pos) (list_entry(pos, struct raid_dev, devs)) | ^~~~~~~~~~ format/ddf/ddf1.c:620:47: note: in expansion of macro 'RD' 620 | struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); | ^~ format/ddf/ddf1.c: In function 'check_rd': format/ddf/ddf1.c:886:18: warning: comparison between 'enum type' and 'enum status' [-Wenum-compare] 886 | return rd->type != s_broken; | ^~ format/ddf/ddf1.c: In function 'name': format/ddf/ddf1.c:708:4: warning: 'strncpy' output truncated before terminating nul copying 8 bytes from a string of the same length [-Wstringop-truncation] 708 | strncpy(buf + prefix + 32, "47114711", 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ddf/ddf1_lib.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_lib.c -o format/ddf/ddf1_lib.o format/ddf/ddf1_lib.c: In function 'ddf1_process_records': format/ddf/ddf1_lib.c:79:9: warning: cast increases required alignment of target type [-Wcast-align] 79 | x = *((uint32_t *) CR(ddf1, i)); | ^ gcc -MM -MF format/ddf/ddf1_crc.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_crc.c -o format/ddf/ddf1_crc.o format/ddf/ddf1_crc.c: In function 'crc32_vd': format/ddf/ddf1_crc.c:100:10: warning: taking address of packed member of 'struct ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:108:1: note: in expansion of macro 'CRC32' 108 | CRC32(vd, ddf1_config_record, CR); | ^~~~~ format/ddf/ddf1_crc.c: In function 'crc32_spare': format/ddf/ddf1_crc.c:100:10: warning: taking address of packed member of 'struct ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 100 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:109:1: note: in expansion of macro 'CRC32' 109 | CRC32(spare, ddf1_spare_header, SR); | ^~~~~ format/ddf/ddf1_crc.c: In function 'vd_check_crc': format/ddf/ddf1_crc.c:149:10: warning: taking address of packed member of 'struct ddf1_config_record' may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:156:1: note: in expansion of macro 'CHECK_CRC' 156 | CHECK_CRC(vd, ddf1_config_record, CR, "VD CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function 'spare_check_crc': format/ddf/ddf1_crc.c:149:10: warning: taking address of packed member of 'struct ddf1_spare_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 149 | .crc = &r->crc, \ | ^~~~~~~ format/ddf/ddf1_crc.c:157:1: note: in expansion of macro 'CHECK_CRC' 157 | CHECK_CRC(spare, ddf1_spare_header, SR, "Spare CFG"); | ^~~~~~~~~ format/ddf/ddf1_crc.c: In function 'all_crcs': format/ddf/ddf1_crc.c:182:19: warning: taking address of packed member of 'struct ddf1_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 182 | {ddf1->primary, &ddf1->primary->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:185:21: warning: taking address of packed member of 'struct ddf1_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 185 | {ddf1->secondary, &ddf1->secondary->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:188:19: warning: taking address of packed member of 'struct ddf1_adapter' may result in an unaligned pointer value [-Waddress-of-packed-member] 188 | {ddf1->adapter, &ddf1->adapter->crc, | ^~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:191:21: warning: taking address of packed member of 'struct ddf1_disk_data' may result in an unaligned pointer value [-Waddress-of-packed-member] 191 | {ddf1->disk_data, &ddf1->disk_data->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:194:21: warning: taking address of packed member of 'struct ddf1_phys_drives' may result in an unaligned pointer value [-Waddress-of-packed-member] 194 | {ddf1->pd_header, &ddf1->pd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ format/ddf/ddf1_crc.c:198:21: warning: taking address of packed member of 'struct ddf1_virt_drives' may result in an unaligned pointer value [-Waddress-of-packed-member] 198 | {ddf1->vd_header, &ddf1->vd_header->crc, | ^~~~~~~~~~~~~~~~~~~~~ gcc -MM -MF format/ddf/ddf1_cvt.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_cvt.c -o format/ddf/ddf1_cvt.o In file included from format/ddf/ddf1_cvt.c:15: format/ddf/ddf1_cvt.c: In function 'ddf1_cvt_config_record': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_cvt.c:152:8: note: in expansion of macro 'CR_IDS' 152 | ids = CR_IDS(ddf1, hdr); | ^~~~~~ format/ddf/ddf1_cvt.c:159:9: warning: cast increases required alignment of target type [-Wcast-align] 159 | off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + | ^ gcc -MM -MF format/ddf/ddf1_dump.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/ddf/ddf1_dump.c -o format/ddf/ddf1_dump.o In file included from format/ddf/ddf1_dump.c:17: format/ddf/ddf1_dump.c: In function 'dump_config_record': format/ddf/ddf1.h:33:26: warning: cast increases required alignment of target type [-Wcast-align] 33 | #define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_dump.c:221:18: note: in expansion of macro 'CR_IDS' 221 | cfg_drive_ids = CR_IDS(ddf, cfg); | ^~~~~~ format/ddf/ddf1.h:36:26: warning: cast increases required alignment of target type [-Wcast-align] 36 | #define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ | ^ format/ddf/ddf1_dump.c:222:22: note: in expansion of macro 'CR_OFF' 222 | cfg_drive_offsets = CR_OFF(ddf, cfg); | ^~~~~~ gcc -MM -MF format/partition/dos.d -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c; \ gcc -c -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE format/partition/dos.c -o format/partition/dos.o rm -f ../lib/libdmraid.a ar r ../lib/libdmraid.a activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o ar: creating ../lib/libdmraid.a ranlib ../lib/libdmraid.a gcc -shared -Wl,-soname,libdmraid.so.1.0.0.rc16 \ -Wl,--version-script,.export.sym activate/activate.o activate/devmapper.o device/ata.o device/partition.o device/scan.o device/scsi.o display/display.o format/format.o locking/locking.o log/log.o metadata/log_ops.o metadata/metadata.o metadata/reconfig.o misc/file.o misc/init.o misc/lib_context.o misc/misc.o misc/workaround.o mm/dbg_malloc.o format/ataraid/asr.o format/ataraid/hpt37x.o format/ataraid/hpt45x.o format/ataraid/isw.o format/ataraid/jm.o format/ataraid/lsi.o format/ataraid/nv.o format/ataraid/pdc.o format/ataraid/sil.o format/ataraid/via.o format/ddf/ddf1.o format/ddf/ddf1_lib.o format/ddf/ddf1_crc.o format/ddf/ddf1_cvt.o format/ddf/ddf1_dump.o format/partition/dos.o -ldevmapper -o ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/lib' make -C man make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/man' make -C tools make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/tools' gcc -MM -MF dmraid.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE dmraid.c -o dmraid.o gcc -MM -MF commands.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE commands.c -o commands.o gcc -MM -MF toollib.d -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c; \ gcc -c -I -I. -I../include -I../lib -g -O2 -fdebug-prefix-map=/build/dmraid-1.0.0.rc16=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE -O2 -DDMRAID_NATIVE_LOG -DHAVE_GETOPTLONG -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_TEST -DDMRAID_AUTOREGISTER -O2 -D_LARGEFILE64_SOURCE toollib.c -o toollib.o gcc -o dmraid dmraid.o commands.o toollib.o -Wl,-z,relro -Wl,-z,relro -Wl,-z,relro -rdynamic -L../lib \ -L//lib -ldmraid -ldmraid -ldl make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/tools' make[1]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb' touch build-stamp fakeroot debian/rules binary dh_testdir touch configure-stamp dh_testdir dh_testroot dh_prep cd /build/dmraid-1.0.0.rc16/debian/build/standard && make DESTDIR=/build/dmraid-1.0.0.rc16/debian/standard install make[1]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard' make -C include make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/include' make -C lib make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/lib' make -C man make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/man' make -C tools make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/tools' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/tools' make -C include install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/include' Installing dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h in /build/dmraid-1.0.0.rc16/debian/standard/usr/include/dmraid mkdir -p /build/dmraid-1.0.0.rc16/debian/standard/usr/include/dmraid /usr/bin/install -c dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h /build/dmraid-1.0.0.rc16/debian/standard/usr/include/dmraid make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/include' make -C lib install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so Installing ../lib/libdmraid.a ../lib/libdmraid.so in /build/dmraid-1.0.0.rc16/debian/standard//lib make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/lib' make -C man install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/man' Installing dmraid.8 dmevent_tool.8 in /build/dmraid-1.0.0.rc16/debian/standard/usr/share/man/man8 make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/man' make -C tools install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/standard/tools' Installing dmraid in /build/dmraid-1.0.0.rc16/debian/standard//sbin make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard/tools' make[1]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/standard' cd /build/dmraid-1.0.0.rc16/debian/build/udeb && make DESTDIR=/build/dmraid-1.0.0.rc16/debian/udeb install make[1]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb' make -C include make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/include' make -C lib make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/lib' make -C man make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/man' make -C tools make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/tools' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/tools' make -C include install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/include' Installing dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h in /build/dmraid-1.0.0.rc16/debian/udeb/usr/include/dmraid mkdir -p /build/dmraid-1.0.0.rc16/debian/udeb/usr/include/dmraid /usr/bin/install -c dmraid/display.h dmraid/dmraid.h dmraid/dmreg.h dmraid/format.h dmraid/lib_context.h dmraid/list.h dmraid/locking.h dmraid/metadata.h dmraid/misc.h dmraid/reconfig.h /build/dmraid-1.0.0.rc16/debian/udeb/usr/include/dmraid make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/include' make -C lib install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/lib' ../lib/libdmraid.a ../lib/libdmraid.so ../lib/libdmraid.a ../lib/libdmraid.so Installing ../lib/libdmraid.a ../lib/libdmraid.so in /build/dmraid-1.0.0.rc16/debian/udeb//lib make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/lib' make -C man install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/man' Installing dmraid.8 dmevent_tool.8 in /build/dmraid-1.0.0.rc16/debian/udeb/usr/share/man/man8 make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/man' make -C tools install make[2]: Entering directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/tools' Installing dmraid in /build/dmraid-1.0.0.rc16/debian/udeb//sbin make[2]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb/tools' make[1]: Leaving directory '/build/dmraid-1.0.0.rc16/debian/build/udeb' rm -rf debian/udeb/usr dh_link dh_link: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testdir dh_testroot dh_install dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdirs dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installudev --priority=85 dh_installdocs 1.0.0.rc16/CREDITS 1.0.0.rc16/KNOWN_BUGS 1.0.0.rc16/README 1.0.0.rc16/TODO dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs 1.0.0.rc16/CHANGELOG install -m0755 debian/dmraid.bug debian/dmraid/usr/share/bug/dmraid/script chmod 755 debian/dmraid/usr/share/initramfs-tools/hooks/dmraid chmod 755 debian/dmraid/usr/share/initramfs-tools/scripts/local-top/dmraid chmod 755 debian/dmraid/sbin/dmraid-activate dh_strip -a dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress -a dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms -a dh_makeshlibs -a --add-udeb 'libdmraid1.0.0.rc16-udeb' -V dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps -a dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdeb -a dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'dmraid' in '../dmraid_1.0.0.rc16-8_armhf.deb'. dpkg-deb: building package 'libdmraid-dev' in '../libdmraid-dev_1.0.0.rc16-8_armhf.deb'. dpkg-deb: building package 'libdmraid1.0.0.rc16-udeb' in 'debian/.debhelper/scratch-space/build-libdmraid1.0.0.rc16-udeb/libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8_armhf.deb'. dpkg-deb: building package 'dmraid-dbgsym' in '../dmraid-dbgsym_1.0.0.rc16-8_armhf.deb'. Renaming libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8_armhf.deb to libdmraid1.0.0.rc16-udeb_1.0.0.rc16-8_armhf.udeb dpkg-deb: building package 'libdmraid1.0.0.rc16' in '../libdmraid1.0.0.rc16_1.0.0.rc16-8_armhf.deb'. dpkg-deb: building package 'dmraid-udeb' in 'debian/.debhelper/scratch-space/build-dmraid-udeb/dmraid-udeb_1.0.0.rc16-8_armhf.deb'. Renaming dmraid-udeb_1.0.0.rc16-8_armhf.deb to dmraid-udeb_1.0.0.rc16-8_armhf.udeb dpkg-deb: building package 'libdmraid1.0.0.rc16-dbgsym' in '../libdmraid1.0.0.rc16-dbgsym_1.0.0.rc16-8_armhf.deb'. # nothing to do dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../dmraid_1.0.0.rc16-8_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/8262 and its subdirectories I: Current time: Tue Aug 24 15:49:30 -12 2021 I: pbuilder-time-stamp: 1629863370