The build took 00h 01m 54s and was SUCCESSFUL.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
16,870 |
ansic |
2,641 |
sh |
193 |
makefile |
20 |
awk |
19,724 |
total |
The process tree of the build process is here.
To avoid scrolling, you may jump to the last line of the
invocation of makepkg that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/sysroot --> /sysroot/sysroot/toolchain_root/lib --> /sysroot/lib/toolchain_root/sbin --> /sysroot/sbin/toolchain_root/lib64 --> /sysroot/lib64/toolchain_root/etc --> /sysroot/etc/toolchain_root/share --> /sysroot/share/toolchain_root/bin --> /sysroot/bin/toolchain_root/var --> /sysroot/var/toolchain_root/usr --> /sysroot/usr/toolchain_root/glibc-build --> /sysroot/glibc-build/toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu/toolchain_root/include --> /sysroot/include/toolchain_root/libexec --> /sysroot/libexecCMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: dmraid 1.0.0.rc16.3-10 (Thu Apr 13 17:12:00 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used.checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a sed that does not truncate output... /usr/bin/sedchecking for gawk... gawkchecking for a BSD-compatible install... /usr/bin/install -cchecking whether ln -s works... yeschecking whether make sets $(MAKE)... yeschecking for a thread-safe mkdir -p... /usr/bin/mkdir -pchecking for x86_64-unknown-linux-ranlib... nochecking for ranlib... ranlibchecking for x86_64-unknown-linux-gcc... clangchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether clang accepts -g... yeschecking for clang option to accept ISO C89... none neededchecking how to run the C preprocessor... clang -Echecking for grep that handles long lines and -e... /usr/bin/grepchecking for egrep... /usr/bin/grep -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking minix/config.h usability... nochecking minix/config.h presence... nochecking for minix/config.h... nochecking whether it is safe to define __EXTENSIONS__... yeschecking for special C compiler options needed for large files... nochecking for _FILE_OFFSET_BITS value needed for large files... nochecking for dirent.h that defines DIR... yeschecking for library containing opendir... none requiredchecking for ANSI C header files... (cached) yeschecking whether time.h and sys/time.h may both be included... yeschecking fcntl.h usability... yeschecking fcntl.h presence... yeschecking for fcntl.h... yeschecking limits.h usability... yeschecking limits.h presence... yeschecking for limits.h... yeschecking mntent.h usability... yeschecking mntent.h presence... yeschecking for mntent.h... yeschecking paths.h usability... yeschecking paths.h presence... yeschecking for paths.h... yeschecking sys/file.h usability... yeschecking sys/file.h presence... yeschecking for sys/file.h... yeschecking sys/ioctl.h usability... yeschecking sys/ioctl.h presence... yeschecking for sys/ioctl.h... yeschecking netinet/in.h usability... yeschecking netinet/in.h presence... yeschecking for netinet/in.h... yeschecking syslog.h usability... yeschecking syslog.h presence... yeschecking for syslog.h... yeschecking for unistd.h... (cached) yeschecking for an ANSI C-conforming const... yeschecking for inline... inlinechecking for int16_t... yeschecking for int32_t... yeschecking for int64_t... yeschecking for int8_t... yeschecking for mode_t... yeschecking for off_t... yeschecking for pid_t... yeschecking for size_t... yeschecking for uint16_t... yeschecking for uint32_t... yeschecking for uint64_t... yeschecking for uint8_t... yeschecking for struct stat.st_rdev... yeschecking whether to enable debugging... nochecking whether to enable malloc debugging... nochecking whether to disable native metadata logging... yeschecking whether to disable testing with mapped devices... yeschecking whether clang needs -traditional... nochecking return type of signal handlers... voidchecking for vprintf... yeschecking for _doprnt... nochecking for library containing getmntent... none requiredchecking whether lstat dereferences a symlink specified with a trailing slash... yeschecking for stdlib.h... (cached) yeschecking for GNU libc compatible malloc... yeschecking for stdlib.h... (cached) yeschecking for GNU libc compatible realloc... yeschecking for working strtod... yeschecking for getmntent... (cached) yeschecking for memmove... yeschecking for memset... yeschecking for mkdir... yeschecking for rmdir... yeschecking for uname... yeschecking for strchr... yeschecking for strerror... yeschecking for strpbrk... yeschecking for strrchr... yeschecking for strstr... yeschecking getopt.h usability... yeschecking getopt.h presence... yeschecking for getopt.h... yeschecking for dlopen in -ldl... yeschecking for pthread_mutex_lock in -lpthread... yeschecking for dm_event_handler_create in -ldevmapper-event... yeschecking for dm_task_set_name in -ldevmapper... yeschecking libdevmapper.h usability... yeschecking libdevmapper.h presence... yeschecking for libdevmapper.h... yeschecking libdevmapper-event.h usability... yeschecking libdevmapper-event.h presence... yeschecking for libdevmapper-event.h... yesconfigure: creating ./config.statusconfig.status: creating include/Makefileconfig.status: creating lib/Makefileconfig.status: creating lib/version.hconfig.status: creating man/Makefileconfig.status: creating tools/Makefileconfig.status: creating tools/version.hconfig.status: creating Makefileconfig.status: creating make.tmplconfig.status: creating include/config.hwhich: no ctags in (/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)make -C libmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib'/usr/bin/mkdir -p events/; \set -e; \FILE=`echo events/libdmraid-events-isw.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o events/libdmraid-events-isw.d events/libdmraid-events-isw.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" events/libdmraid-events-isw.d; \[ -s events/libdmraid-events-isw.d ] || rm -f events/libdmraid-events-isw.d/usr/bin/mkdir -p register/; \set -e; \FILE=`echo register/dmreg.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o register/dmreg.d register/dmreg.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" register/dmreg.d; \[ -s register/dmreg.d ] || rm -f register/dmreg.d/usr/bin/mkdir -p format/partition/; \set -e; \FILE=`echo format/partition/dos.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/partition/dos.d format/partition/dos.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/partition/dos.d; \[ -s format/partition/dos.d ] || rm -f format/partition/dos.d/usr/bin/mkdir -p format/ddf/; \set -e; \FILE=`echo format/ddf/ddf1_dump.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_dump.d format/ddf/ddf1_dump.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_dump.d; \[ -s format/ddf/ddf1_dump.d ] || rm -f format/ddf/ddf1_dump.d/usr/bin/mkdir -p format/ddf/; \set -e; \FILE=`echo format/ddf/ddf1_cvt.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_cvt.d format/ddf/ddf1_cvt.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_cvt.d; \[ -s format/ddf/ddf1_cvt.d ] || rm -f format/ddf/ddf1_cvt.d/usr/bin/mkdir -p format/ddf/; \set -e; \FILE=`echo format/ddf/ddf1_crc.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_crc.d format/ddf/ddf1_crc.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_crc.d; \[ -s format/ddf/ddf1_crc.d ] || rm -f format/ddf/ddf1_crc.d/usr/bin/mkdir -p format/ddf/; \set -e; \FILE=`echo format/ddf/ddf1_lib.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1_lib.d format/ddf/ddf1_lib.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1_lib.d; \[ -s format/ddf/ddf1_lib.d ] || rm -f format/ddf/ddf1_lib.d/usr/bin/mkdir -p format/ddf/; \set -e; \FILE=`echo format/ddf/ddf1.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ddf/ddf1.d format/ddf/ddf1.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ddf/ddf1.d; \[ -s format/ddf/ddf1.d ] || rm -f format/ddf/ddf1.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/via.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/via.d format/ataraid/via.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/via.d; \[ -s format/ataraid/via.d ] || rm -f format/ataraid/via.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/sil.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/sil.d format/ataraid/sil.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/sil.d; \[ -s format/ataraid/sil.d ] || rm -f format/ataraid/sil.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/pdc.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/pdc.d format/ataraid/pdc.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/pdc.d; \[ -s format/ataraid/pdc.d ] || rm -f format/ataraid/pdc.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/nv.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/nv.d format/ataraid/nv.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/nv.d; \[ -s format/ataraid/nv.d ] || rm -f format/ataraid/nv.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/lsi.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/lsi.d format/ataraid/lsi.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/lsi.d; \[ -s format/ataraid/lsi.d ] || rm -f format/ataraid/lsi.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/jm.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/jm.d format/ataraid/jm.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/jm.d; \[ -s format/ataraid/jm.d ] || rm -f format/ataraid/jm.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/isw.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/isw.d format/ataraid/isw.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/isw.d; \[ -s format/ataraid/isw.d ] || rm -f format/ataraid/isw.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/hpt45x.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/hpt45x.d format/ataraid/hpt45x.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt45x.d; \[ -s format/ataraid/hpt45x.d ] || rm -f format/ataraid/hpt45x.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/hpt37x.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/hpt37x.d format/ataraid/hpt37x.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/hpt37x.d; \[ -s format/ataraid/hpt37x.d ] || rm -f format/ataraid/hpt37x.d/usr/bin/mkdir -p format/ataraid/; \set -e; \FILE=`echo format/ataraid/asr.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/ataraid/asr.d format/ataraid/asr.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/ataraid/asr.d; \[ -s format/ataraid/asr.d ] || rm -f format/ataraid/asr.d/usr/bin/mkdir -p mm/; \set -e; \FILE=`echo mm/dbg_malloc.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o mm/dbg_malloc.d mm/dbg_malloc.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" mm/dbg_malloc.d; \[ -s mm/dbg_malloc.d ] || rm -f mm/dbg_malloc.d/usr/bin/mkdir -p misc/; \set -e; \FILE=`echo misc/workaround.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/workaround.d misc/workaround.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/workaround.d; \[ -s misc/workaround.d ] || rm -f misc/workaround.d/usr/bin/mkdir -p misc/; \set -e; \FILE=`echo misc/misc.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/misc.d misc/misc.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/misc.d; \[ -s misc/misc.d ] || rm -f misc/misc.d/usr/bin/mkdir -p misc/; \set -e; \FILE=`echo misc/lib_context.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/lib_context.d misc/lib_context.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/lib_context.d; \[ -s misc/lib_context.d ] || rm -f misc/lib_context.d/usr/bin/mkdir -p misc/; \set -e; \FILE=`echo misc/init.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/init.d misc/init.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/init.d; \[ -s misc/init.d ] || rm -f misc/init.d/usr/bin/mkdir -p misc/; \set -e; \FILE=`echo misc/file.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o misc/file.d misc/file.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" misc/file.d; \[ -s misc/file.d ] || rm -f misc/file.d/usr/bin/mkdir -p metadata/; \set -e; \FILE=`echo metadata/reconfig.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o metadata/reconfig.d metadata/reconfig.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/reconfig.d; \[ -s metadata/reconfig.d ] || rm -f metadata/reconfig.d/usr/bin/mkdir -p metadata/; \set -e; \FILE=`echo metadata/metadata.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o metadata/metadata.d metadata/metadata.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/metadata.d; \[ -s metadata/metadata.d ] || rm -f metadata/metadata.dIn file included from metadata/metadata.c:13:./activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~./activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_1 warning generated./usr/bin/mkdir -p metadata/; \set -e; \FILE=`echo metadata/log_ops.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o metadata/log_ops.d metadata/log_ops.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" metadata/log_ops.d; \[ -s metadata/log_ops.d ] || rm -f metadata/log_ops.d/usr/bin/mkdir -p log/; \set -e; \FILE=`echo log/log.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o log/log.d log/log.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" log/log.d; \[ -s log/log.d ] || rm -f log/log.d/usr/bin/mkdir -p locking/; \set -e; \FILE=`echo locking/locking.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o locking/locking.d locking/locking.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" locking/locking.d; \[ -s locking/locking.d ] || rm -f locking/locking.d/usr/bin/mkdir -p format/; \set -e; \FILE=`echo format/format.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o format/format.d format/format.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" format/format.d; \[ -s format/format.d ] || rm -f format/format.d/usr/bin/mkdir -p display/; \set -e; \FILE=`echo display/display.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o display/display.d display/display.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" display/display.d; \[ -s display/display.d ] || rm -f display/display.dIn file included from display/display.c:9:./activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~./activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_1 warning generated./usr/bin/mkdir -p device/; \set -e; \FILE=`echo device/scsi.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/scsi.d device/scsi.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scsi.d; \[ -s device/scsi.d ] || rm -f device/scsi.d/usr/bin/mkdir -p device/; \set -e; \FILE=`echo device/scan.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/scan.d device/scan.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/scan.d; \[ -s device/scan.d ] || rm -f device/scan.d/usr/bin/mkdir -p device/; \set -e; \FILE=`echo device/partition.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/partition.d device/partition.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/partition.d; \[ -s device/partition.d ] || rm -f device/partition.d/usr/bin/mkdir -p device/; \set -e; \FILE=`echo device/ata.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o device/ata.d device/ata.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" device/ata.d; \[ -s device/ata.d ] || rm -f device/ata.d/usr/bin/mkdir -p activate/; \set -e; \FILE=`echo activate/devmapper.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o activate/devmapper.d activate/devmapper.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/devmapper.d; \[ -s activate/devmapper.d ] || rm -f activate/devmapper.dIn file included from activate/devmapper.c:25:activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_1 warning generated./usr/bin/mkdir -p activate/; \set -e; \FILE=`echo activate/activate.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o activate/activate.d activate/activate.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" activate/activate.d; \[ -s activate/activate.d ] || rm -f activate/activate.dIn file included from activate/activate.c:22:activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_1 warning generated.clang -o activate/activate.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 activate/activate.cIn file included from activate/activate.c:22:activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_activate/activate.c:53:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:53:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:69:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:69:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:72:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:72:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:143:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:143:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:166:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:166:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:237:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:237:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:256:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:256:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:281:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:281:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:286:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:286:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:345:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:345:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:363:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:363:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:388:8: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:470:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:470:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:507:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:507:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:689:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd_first = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:709:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:81:13: note: expanded from macro 'list_for_each_entry_safe' for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:709:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:82:18: note: expanded from macro 'list_for_each_entry_safe' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:709:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(rd, rd_tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:84:14: note: expanded from macro 'list_for_each_entry_safe'pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:757:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:757:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:771:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:771:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:938:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:938:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:1003:25: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:1019:25: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:1033:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:1033:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:1089:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~activate/activate.c:1089:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~44 warnings generated.clang -o activate/devmapper.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 activate/devmapper.cIn file included from activate/devmapper.c:25:activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_1 warning generated.clang -o device/ata.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/ata.cdevice/ata.c:30:16: warning: cast from 'unsigned char *' to 'struct ata_identify *' increases required alignment from 1 to 2 [-Wcast-align] ata_ident = (struct ata_identify *) &buf[cmd_offset]; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 warning generated.clang -o device/partition.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/partition.cdevice/partition.c:24:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~device/partition.c:24:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~device/partition.c:59:2: warning: cast from 'char *' to 'typeof (*subset) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(subset, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~device/partition.c:59:2: warning: cast from 'char *' to 'typeof (*subset) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(subset, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~4 warnings generated.clang -o device/scan.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/scan.cclang -o device/scsi.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 device/scsi.cdevice/scsi.c:69:20: warning: cast from 'unsigned char *' to 'unsigned int *' increases required alignment from 1 to 4 [-Wcast-align] unsigned int *i = (unsigned int *) response; ^~~~~~~~~~~~~~~~~~~~~~~~~1 warning generated.clang -o display/display.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 display/display.cIn file included from display/display.c:9:./activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~./activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_display/display.c:94:24: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] struct dev_info *di = list_entry(pos, typeof(*di), list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:132:24: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(pos, typeof(*rd), list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:147:24: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(pos, typeof(*rd), list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:314:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:314:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:324:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:324:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:362:3: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:362:3: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:376:2: warning: cast from 'char *' to 'typeof (*fmt_list) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fmt_list, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~display/display.c:376:2: warning: cast from 'char *' to 'typeof (*fmt_list) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fmt_list, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~12 warnings generated.clang -o format/format.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/format.cformat/format.c:141:12: warning: cast from 'char *' to 'struct format_list *' increases required alignment from 1 to 8 [-Wcast-align] dbg_free(list_entry(elem, struct format_list, list)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:291:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:291:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:416:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:416:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:429:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:429:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:463:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:463:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:469:8: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:587:2: warning: cast from 'char *' to 'typeof (*fl) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/format.c:587:2: warning: cast from 'char *' to 'typeof (*fl) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~12 warnings generated.clang -o locking/locking.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 locking/locking.cclang -o log/log.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 log/log.cclang -o metadata/log_ops.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 metadata/log_ops.cmetadata/log_ops.c:19:12: warning: cast from 'char *' to 'struct change *' increases required alignment from 1 to 8 [-Wcast-align] dbg_free(list_entry(pos, struct change, changes)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/log_ops.c:30:2: warning: cast from 'char *' to 'typeof (*entry) *' (aka 'struct change *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(entry, log, changes) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/log_ops.c:30:2: warning: cast from 'char *' to 'typeof (*entry) *' (aka 'struct change *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(entry, log, changes) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3 warnings generated.clang -o metadata/metadata.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 metadata/metadata.cIn file included from metadata/metadata.c:13:./activate/devmapper.h:8:9: warning: '_DEVMAPPER_H_' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]#ifndef _DEVMAPPER_H_ ^~~~~~~~~~~~~./activate/devmapper.h:9:9: note: '_DEVMAPPER_H' is defined here; did you mean '_DEVMAPPER_H_'?#define _DEVMAPPER_H ^~~~~~~~~~~~ _DEVMAPPER_H_metadata/metadata.c:183:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:183:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:196:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ret++; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:196:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ret++; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:212:3: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:212:3: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:221:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:221:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:231:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:231:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:267:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:267:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:272:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:272:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:365:22: warning: cast from 'char *' to 'struct dev_info *' increases required alignment from 1 to 8 [-Wcast-align] _free_dev_info(lc, list_entry(elem, struct dev_info, list)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:424:8: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = list_entry(elem, struct raid_dev, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:464:8: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = RD(elem); ^~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:499:21: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] free_raid_set(lc, RS(elem)); ^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:541:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:541:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:549:3: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:549:3: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, list, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:574:28: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_set *new_rs = list_entry(new, struct raid_set, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:575:28: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_set *pos_rs = list_entry(pos, struct raid_set, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:697:2: warning: cast from 'char *' to 'typeof (*fl) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:697:2: warning: cast from 'char *' to 'typeof (*fl) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:770:2: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:770:2: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:799:2: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:799:2: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:833:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, rs_list, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:833:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, rs_list, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:910:3: warning: cast from 'char *' to 'typeof (*rs_sub) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:81:13: note: expanded from macro 'list_for_each_entry_safe' for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:910:3: warning: cast from 'char *' to 'typeof (*rs_sub) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:82:18: note: expanded from macro 'list_for_each_entry_safe' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:910:3: warning: cast from 'char *' to 'typeof (*rs_sub) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(rs_sub, rs_n, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:84:14: note: expanded from macro 'list_for_each_entry_safe'pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:946:21: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return DEVS(rs) ? (RD_RS(rs))->fmt : NULL; ^~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:956:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:956:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:957:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:957:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) if (dev == rd) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:960:4: warning: cast from 'char *' to 'typeof (*sub_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(sub_rs, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:960:4: warning: cast from 'char *' to 'typeof (*sub_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(sub_rs, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:961:5: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:961:5: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:981:32: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] if (!(fmt = get_format((rs = RS(elem))))) ^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1015:8: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = list_entry(elem, struct raid_dev, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1226:2: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1226:2: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1243:2: warning: cast from 'char *' to 'typeof (*fl) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1243:2: warning: cast from 'char *' to 'typeof (*fl) *' (aka 'struct format_list *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(fl, LC_FMT(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1333:9: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] rs1 = list_entry(rs->sets.next, struct raid_set, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1348:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1348:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1472:15: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] if (!(fmt = (RD_RS(rs)->fmt))) ^~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1485:9: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = RD(elem); ^~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1507:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] if (!(fmt = RD_RS(rs)->fmt)) ^~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1520:9: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = RD(elem); ^~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1628:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1628:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, LC_RS(lc), list) p(lc, rs, func, arg); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1640:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1640:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1652:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1652:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1675:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1675:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1890:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1890:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1891:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] if (!(rd = list_entry(rs->devs.next, struct raid_dev, devs))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1895:4: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs1, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1895:4: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs1, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1909:5: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs1, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1909:5: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs1, &rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1912:11: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] rs1 = list_entry(rs->sets.next, ^~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1950:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1950:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1982:13: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] !(rd = RD_RS(rs_failed))) ^~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1994:3: warning: cast from 'char *' to 'typeof (*tmp_spare_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1994:3: warning: cast from 'char *' to 'typeof (*tmp_spare_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp_spare_rs, &group_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1996:5: warning: cast from 'char *' to 'typeof (*spare_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(spare_rd, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:1996:5: warning: cast from 'char *' to 'typeof (*spare_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(spare_rd, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2020:3: warning: cast from 'char *' to 'typeof (*group_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(group_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2020:3: warning: cast from 'char *' to 'typeof (*group_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(group_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2023:5: warning: cast from 'char *' to 'typeof (*tmp_spare_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp_spare_rs, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2023:5: warning: cast from 'char *' to 'typeof (*tmp_spare_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp_spare_rs, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2027:7: warning: cast from 'char *' to 'typeof (*spare_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2027:7: warning: cast from 'char *' to 'typeof (*spare_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(spare_rd, &tmp_spare_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2167:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:2167:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/metadata.c:765:1: warning: unused function 'discover_raid_devices_spares' [-Wunused-function]discover_raid_devices_spares(struct lib_context *lc, const char *format)^metadata/metadata.c:1463:1: warning: unused function 'rebuild_config_raidset' [-Wunused-function]rebuild_config_raidset(struct lib_context *lc, struct raid_set *rs)^91 warnings generated.clang -o metadata/reconfig.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 metadata/reconfig.cmetadata/reconfig.c:53:32: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *check_rd = RD_RS(sub_rs); ^~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:95:2: warning: cast from 'char *' to 'typeof (*_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:95:2: warning: cast from 'char *' to 'typeof (*_rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rs, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:101:3: warning: cast from 'char *' to 'typeof (*_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rd, &_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:101:3: warning: cast from 'char *' to 'typeof (*_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rd, &_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:106:3: warning: cast from 'char *' to 'typeof (*_rss) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rss, &_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:106:3: warning: cast from 'char *' to 'typeof (*_rss) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rss, &_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:112:4: warning: cast from 'char *' to 'typeof (*_rsd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rsd, &_rss->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:112:4: warning: cast from 'char *' to 'typeof (*_rsd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rsd, &_rss->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:118:4: warning: cast from 'char *' to 'typeof (*_rsss) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rsss, &_rss->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:118:4: warning: cast from 'char *' to 'typeof (*_rsss) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rsss, &_rss->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:122:5: warning: cast from 'char *' to 'typeof (*_rssd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rssd, &_rsss->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:122:5: warning: cast from 'char *' to 'typeof (*_rssd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rssd, &_rsss->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:145:13: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] check_rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:154:5: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:154:5: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:182:4: warning: cast from 'char *' to 'typeof (*before_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:81:13: note: expanded from macro 'list_for_each_entry_safe' for (pos = list_entry((head)->next, typeof(*pos), member),\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:182:4: warning: cast from 'char *' to 'typeof (*before_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:82:18: note: expanded from macro 'list_for_each_entry_safe' n = list_entry(pos->member.next, typeof(*pos), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:182:4: warning: cast from 'char *' to 'typeof (*before_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry_safe(before_rd, tmp_rd, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:84:14: note: expanded from macro 'list_for_each_entry_safe'pos = n, n = list_entry(pos->member.next, typeof(*pos), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:207:3: warning: cast from 'char *' to 'typeof (*crs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:207:3: warning: cast from 'char *' to 'typeof (*crs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:216:3: warning: cast from 'char *' to 'typeof (*crs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:216:3: warning: cast from 'char *' to 'typeof (*crs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(crs, &sub_rs->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:235:3: warning: cast from 'char *' to 'typeof (*_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rd, &sub_rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:235:3: warning: cast from 'char *' to 'typeof (*_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(_rd, &sub_rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:283:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:283:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:396:2: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:396:2: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:415:2: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:415:2: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:460:15: warning: comparison of two values with different enumeration types ('enum change_type' and 'enum type') [-Wenum-compare] if (h->type == rs->type) ~~~~~~~ ^ ~~~~~~~~metadata/reconfig.c:472:4: warning: implicit conversion from enumeration type 'enum type' to different enumeration type 'enum change_type' [-Wenum-conversion] {t_raid1, add_dev_to_raid}, ~^~~~~~~metadata/reconfig.c:473:4: warning: implicit conversion from enumeration type 'enum type' to different enumeration type 'enum change_type' [-Wenum-conversion] {t_undef, NULL}, ~^~~~~~~metadata/reconfig.c:495:4: warning: implicit conversion from enumeration type 'enum type' to different enumeration type 'enum change_type' [-Wenum-conversion] {t_raid1, del_dev_in_raid1}, ~^~~~~~~metadata/reconfig.c:496:4: warning: implicit conversion from enumeration type 'enum type' to different enumeration type 'enum change_type' [-Wenum-conversion] {t_undef, NULL}, ~^~~~~~~metadata/reconfig.c:521:2: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:521:2: warning: cast from 'char *' to 'typeof (*tmp) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(tmp, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:523:4: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &tmp->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:523:4: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &tmp->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:527:6: warning: cast from 'char *' to 'typeof (*r2) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r2, &r->sets, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:527:6: warning: cast from 'char *' to 'typeof (*r2) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r2, &r->sets, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:575:31: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *check_rd = RD_RS(sub_rs); ^~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:641:24: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:687:4: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, &sub_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:687:4: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, &sub_rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:713:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:713:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:725:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~metadata/reconfig.c:725:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~50 warnings generated.clang -o misc/file.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/file.cclang -o misc/init.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/init.cclang -o misc/lib_context.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/lib_context.cclang -o misc/misc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/misc.cclang -o misc/workaround.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 misc/workaround.cclang -o mm/dbg_malloc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 mm/dbg_malloc.cclang -o format/ataraid/asr.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/asr.cformat/ataraid/asr.c:490:35: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return compose_id(this_disk(META(RD(new), asr))) < ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/asr.c:491:35: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] compose_id(this_disk(META(RD(pos), asr))); ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/asr.c:748:2: warning: cast from 'char *' to 'typeof (*device) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(device, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/asr.c:748:2: warning: cast from 'char *' to 'typeof (*device) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(device, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/asr.c:820:2: warning: cast from 'char *' to 'typeof (*d) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/asr.c:820:2: warning: cast from 'char *' to 'typeof (*d) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/asr.c:838:2: warning: cast from 'char *' to 'typeof (*d) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/asr.c:838:2: warning: cast from 'char *' to 'typeof (*d) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/asr.c:957:2: warning: cast from 'char *' to 'typeof (*d) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/asr.c:957:2: warning: cast from 'char *' to 'typeof (*d) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(d, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~10 warnings generated.clang -o format/ataraid/hpt37x.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/hpt37x.cformat/ataraid/hpt37x.c:98:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD(new), hpt37x)->disk_number < ~~~~~^~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt37x.c:99:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] META(RD(pos), hpt37x)->disk_number; ~~~~~^~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt37x.c:106:20: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD_RS(RS(new)), hpt37x)->order < ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt37x.c:106:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD_RS(RS(new)), hpt37x)->order < ~~~~~^~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt37x.c:107:20: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] META(RD_RS(RS(pos)), hpt37x)->order; ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt37x.c:107:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] META(RD_RS(RS(pos)), hpt37x)->order; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt37x.c:231:22: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] h = DEVS(rs) ? META(RD_RS(rs), hpt37x) : NULL; ~~~~~^~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~7 warnings generated.clang -o format/ataraid/hpt45x.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/hpt45x.cformat/ataraid/hpt45x.c:90:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD(new), hpt45x)->disk_number < ~~~~~^~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt45x.c:91:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] META(RD(pos), hpt45x)->disk_number; ~~~~~^~~~~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt45x.c:98:20: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt45x.c:98:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD_RS(RS(new)), hpt45x)->raid1_disk_number < ~~~~~^~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt45x.c:99:20: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/hpt45x.c:99:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] META(RD_RS(RS(pos)), hpt45x)->raid1_disk_number; ~~~~~^~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~6 warnings generated.clang -o format/ataraid/isw.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/isw.cformat/ataraid/isw.c:182:9: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (nt < 0 || nt > N_VOLUME_FORCE) ~~ ^ ~format/ataraid/isw.c:310:8: warning: cast from 'struct isw *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] *p = (uint32_t *) isw, ret = 0; ^~~~~~~~~~~~~~~~format/ataraid/isw.c:444:2: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:444:2: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:445:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:445:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:750:20: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct isw *isw = RD(new)->private.ptr; ^~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:752:24: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); ^~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:752:54: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return _get_disk(isw, RD(new)->di) < _get_disk(isw, RD(pos)->di); ^~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:922:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:922:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:935:24: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1043:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1043:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1124:2: warning: cast from 'char *' to 'typeof (*check_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1124:2: warning: cast from 'char *' to 'typeof (*check_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1174:2: warning: cast from 'char *' to 'typeof (*check_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1174:2: warning: cast from 'char *' to 'typeof (*check_rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(check_rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1224:3: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1262:24: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1274:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1274:3: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1310:8: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] rd = list_entry(rs->devs.next, typeof(*rd), devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1387:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1387:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1423:2: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs1, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1423:2: warning: cast from 'char *' to 'typeof (*rs1) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs1, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1425:4: warning: cast from 'char *' to 'typeof (*rs2) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs2, &rs1->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1425:4: warning: cast from 'char *' to 'typeof (*rs2) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs2, &rs1->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1453:4: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] list_entry(rs->sets.next, struct raid_set, list); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1478:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1478:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1491:2: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1491:2: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd1, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1492:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1492:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd2, LC_RD(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1530:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1530:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1666:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1666:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1797:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1797:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1872:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1872:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, LC_RS(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1876:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd2, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1876:3: warning: cast from 'char *' to 'typeof (*rd2) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd2, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1877:4: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd1, &r->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1877:4: warning: cast from 'char *' to 'typeof (*rd1) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd1, &r->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1912:7: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = list_entry(rs_group->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1995:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:1995:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2027:8: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2312:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2312:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2335:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2335:2: warning: cast from 'char *' to 'typeof (*r) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(r, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2395:13: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2399:13: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2415:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, &rs_group->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2415:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, &rs_group->sets, list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2451:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, &rs_group->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2451:2: warning: cast from 'char *' to 'typeof (*rs) *' (aka 'struct raid_set *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rs, &rs_group->sets, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2457:13: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] if (!(rs = list_entry(rs_group->sets.next, struct raid_set, list))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2466:13: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] if (!(rd = list_entry(rs_group->devs.next, struct raid_dev, devs))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2630:24: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd = list_entry(rs->devs.next, struct raid_dev, devs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2645:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2645:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2679:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2679:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2692:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2692:3: warning: cast from 'char *' to 'typeof (*di) *' (aka 'struct dev_info *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(di, LC_DI(lc), list) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2796:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2796:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &sub_rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2842:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:67:22: note: expanded from macro 'list_for_each_entry' for (entry = list_entry((head)->next, typeof(*entry), member); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ataraid/isw.c:2842:2: warning: cast from 'char *' to 'typeof (*rd) *' (aka 'struct raid_dev *') increases required alignment from 1 to 8 [-Wcast-align] list_for_each_entry(rd, &rs->devs, devs) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:69:22: note: expanded from macro 'list_for_each_entry' entry = list_entry(entry->member.next, typeof(*entry), member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~75 warnings generated.clang -o format/ataraid/jm.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/jm.cformat/ataraid/jm.c:87:16: warning: cast from 'struct jm *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] uint16_t *p = (uint16_t *) jm, sum = 0; ^~~~~~~~~~~~~~~format/ataraid/jm.c:125:21: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return member(META(RD(new), jm)) < member(META(RD(pos), jm)); ~~~~~^~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/jm.c:125:49: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return member(META(RD(new), jm)) < member(META(RD(pos), jm)); ~~~~~^~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/jm.c:132:27: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] return member(META(RD_RS(RS(pos)), jm)) > 1; ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/jm.c:132:21: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return member(META(RD_RS(RS(pos)), jm)) > 1; ~~~~~^~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/jm.c:97:1: warning: unused function 'segment' [-Wunused-function]segment(uint32_t m)^6 warnings generated.clang -o format/ataraid/lsi.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/lsi.cformat/ataraid/lsi.c:47:4: warning: data argument not used by format string [-Wformat-extra-args] get_disk(lsi)->raid10_mirror); ^format/ataraid/lsi.c:95:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/lsi.c:95:48: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct lsi *p = META(RD(pos), lsi), *n = META(RD(new), lsi); ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/lsi.c:111:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ~~~~~^~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/lsi.c:111:51: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct lsi *p = META(RD_RS(pos), lsi), *n = META(RD_RS(new), lsi); ~~~~~^~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~5 warnings generated.clang -o format/ataraid/nv.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/nv.cformat/ataraid/nv.c:47:18: warning: data argument not used by format string [-Wformat-extra-args] handler, sum, _subset(nv)); ^format/ataraid/nv.c:133:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD(new), nv)->unitNumber < ~~~~~^~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/nv.c:134:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] META(RD(pos), nv)->unitNumber; ~~~~~^~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/nv.c:141:29: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] return _subset((META(RD_RS(RS(new)), nv))) < ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/nv.c:141:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return _subset((META(RD_RS(RS(new)), nv))) < ~~~~~^~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/nv.c:142:29: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] _subset((META(RD_RS(RS(pos)), nv))); ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/nv.c:142:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] _subset((META(RD_RS(RS(pos)), nv))); ~~~~~^~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/nv.c:194:11: warning: cast from 'struct nv *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] sum += ((uint32_t *) nv)[s]; ^~~~~~~~~~~~~~~8 warnings generated.clang -o format/ataraid/pdc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/pdc.cformat/ataraid/pdc.c:40:23: warning: data argument not used by format string [-Wformat-extra-args] pdc->raid.magic_1, set_number(pdc)); ^format/ataraid/pdc.c:108:16: warning: cast from 'struct pdc *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] uint32_t *p = (uint32_t *) pdc; ^~~~~~~~~~~~~~~~format/ataraid/pdc.c:282:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return META(RD(new), pdc)->raid.disk_number < ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/pdc.c:283:14: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] META(RD(pos), pdc)->raid.disk_number; ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/pdc.c:290:32: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] return !set_number(META(RD_RS(RS(new)), pdc)); ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/pdc.c:290:26: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return !set_number(META(RD_RS(RS(new)), pdc)); ~~~~~^~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~6 warnings generated.clang -o format/ataraid/sil.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/sil.cformat/ataraid/sil.c:33:4: warning: data argument not used by format string [-Wformat-extra-args] sil->type == SIL_T_RAID1 ? sil->mirrored_set_number : ^format/ataraid/sil.c:97:16: warning: cast from 'struct sil *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align] uint16_t *p = (uint16_t *) sil; ^~~~~~~~~~~~~~~~format/ataraid/sil.c:306:15: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return (META(RD(new), sil))->disk_number < ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/sil.c:307:9: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] (META(RD(pos), sil))->disk_number; ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/sil.c:314:21: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/sil.c:314:15: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return (META(RD_RS(RS(new)), sil))->mirrored_set_number < ~~~~~^~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/sil.c:315:15: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/sil.c:315:9: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] (META(RD_RS(RS(pos)), sil))->mirrored_set_number; ~~~~~^~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/sil.c:586:25: warning: if statement has empty body [-Wempty-body] if (ident > areas / 2); ^format/ataraid/sil.c:586:25: note: put the semicolon on a separate line to silence this warning9 warnings generated.clang -o format/ataraid/via.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ataraid/via.cformat/ataraid/via.c:62:45: warning: data argument not used by format string [-Wformat-extra-args] subset ? "via_%s-%u" : "via_%s", suffix, _subset(via)); ~~~~~~~~ ^format/ataraid/via.c:188:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct via *p = META(RD(pos), via); ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/via.c:189:23: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct via *n = META(RD(new), via); ~~~~~^~~~~~~~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/via.c:204:28: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] return _subset(META(RD_RS(RS(new)), via)) < ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/via.c:204:22: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] return _subset(META(RD_RS(RS(new)), via)) < ~~~~~^~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/via.c:205:22: warning: cast from 'char *' to 'struct raid_set *' increases required alignment from 1 to 8 [-Wcast-align] _subset(META(RD_RS(RS(pos)), via)); ~~~~~~^~~~~~~~../include/dmraid/format.h:268:19: note: expanded from macro 'RS'#define RS(pos) (list_entry(pos, struct raid_set, list)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:269:45: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^~../include/dmraid/format.h:267:30: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~../include/dmraid/list.h:59:19: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~format/ataraid/via.c:205:16: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] _subset(META(RD_RS(RS(pos)), via)); ~~~~~^~~~~~~~~~~~~~~~~~~~../include/dmraid/format.h:269:20: note: expanded from macro 'RD_RS'#define RD_RS(rs) (RD((((struct raid_set*) (rs))->devs.next))) ^../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^../include/dmraid/format.h:266:61: note: expanded from macro 'META'#define META(rd, type) ((struct type*) ((struct raid_dev*) (rd))->meta_areas->area) ^~7 warnings generated.clang -o format/ddf/ddf1.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1.cformat/ddf/ddf1.c:107:20: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] cfg_drive_ids = CR_IDS(ddf1, cfg); ^~~~~~~~~~~~~~~~~format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'#define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1.c:108:24: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] cfg_drive_offsets = CR_OFF(ddf1, cfg); ^~~~~~~~~~~~~~~~~format/ddf/ddf1.h:36:26: note: expanded from macro 'CR_OFF'#define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1.c:131:10: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] ids = CR_IDS(ddf1, cr); ^~~~~~~~~~~~~~~~format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'#define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1.c:173:9: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] ids = CR_IDS(ddf1, cr); ^~~~~~~~~~~~~~~~format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'#define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1.c:190:28: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] return i < 0 ? pd->size : CR_OFF(ddf1, cr)[i]; ^~~~~~~~~~~~~~~~format/ddf/ddf1.h:36:26: note: expanded from macro 'CR_OFF'#define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1.c:620:28: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1.c:620:47: warning: cast from 'char *' to 'struct raid_dev *' increases required alignment from 1 to 8 [-Wcast-align] struct raid_dev *rd_pos = RD(pos), *rd_new = RD(new); ^~~~~~~../include/dmraid/format.h:267:19: note: expanded from macro 'RD'#define RD(pos) (list_entry(pos, struct raid_dev, devs)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~../include/dmraid/list.h:59:3: note: expanded from macro 'list_entry' ((type*) ((char*)pos - (unsigned long)(&((type*)0)->member))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~7 warnings generated.clang -o format/ddf/ddf1_lib.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_lib.cformat/ddf/ddf1_lib.c:79:9: warning: cast from 'struct ddf1_config_record *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] x = *((uint32_t *) CR(ddf1, i)); ^~~~~~~~~~~~~~~~~~~~~~~~1 warning generated.clang -o format/ddf/ddf1_crc.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_crc.cclang -o format/ddf/ddf1_cvt.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_cvt.cformat/ddf/ddf1_cvt.c:152:8: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] ids = CR_IDS(ddf1, hdr); ^~~~~~~~~~~~~~~~~format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'#define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1_cvt.c:159:9: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] off = ((uint64_t *) (((uint8_t *) hdr) + sizeof(*hdr) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2 warnings generated.clang -o format/ddf/ddf1_dump.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/ddf/ddf1_dump.cformat/ddf/ddf1_dump.c:222:18: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align] cfg_drive_ids = CR_IDS(ddf, cfg); ^~~~~~~~~~~~~~~~format/ddf/ddf1.h:33:26: note: expanded from macro 'CR_IDS'#define CR_IDS(ddf, cr) ((uint32_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~format/ddf/ddf1_dump.c:223:22: warning: cast from 'uint8_t *' (aka 'unsigned char *') to 'uint64_t *' (aka 'unsigned long *') increases required alignment from 1 to 8 [-Wcast-align] cfg_drive_offsets = CR_OFF(ddf, cfg); ^~~~~~~~~~~~~~~~format/ddf/ddf1.h:36:26: note: expanded from macro 'CR_OFF'#define CR_OFF(ddf, cr) ((uint64_t*)(((uint8_t*)(cr)) + \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2 warnings generated.clang -o format/partition/dos.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 format/partition/dos.cclang -o register/dmreg.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 register/dmreg.crm -f libdmraid.aar r 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 register/dmreg.oar: creating libdmraid.aranlib libdmraid.aclang -o libdmraid.so -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 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 register/dmreg.o \ -shared -Wl,--discard-all -Wl,--no-undefined -Wl,--version-script,../lib/.export.sym \ -Wl,-soname,libdmraid.so.1 \ -ldevmapper-event -ldevmapper -ldl clang -o events/libdmraid-events-isw.o -c -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.cevents/libdmraid-events-isw.c:793:9: warning: address of array 'dev->name' will always evaluate to 'true' [-Wpointer-bool-conversion] dev->name ? dev->name : "", ~~~~~^~~~ ~events/libdmraid-events-isw.c:827:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, msg[0]); ^~~~~~events/libdmraid-events-isw.c:833:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, msg[1]); ^~~~~~3 warnings generated.clang -o libdmraid-events-isw.so -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 events/libdmraid-events-isw.o \ -shared -Wl,--discard-all -Wl,--no-undefined -Wl,-soname,libdmraid-events-isw.so \ libdmraid.so -ldevmapper-event -ldevmapper -lpthread make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib'make -C toolsmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools'/usr/bin/mkdir -p ./; \set -e; \FILE=`echo dmevent_tool.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o dmevent_tool.d dmevent_tool.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmevent_tool.d; \[ -s dmevent_tool.d ] || rm -f dmevent_tool.d/usr/bin/mkdir -p ./; \set -e; \FILE=`echo toollib.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o toollib.d toollib.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" toollib.d; \[ -s toollib.d ] || rm -f toollib.d/usr/bin/mkdir -p ./; \set -e; \FILE=`echo commands.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o commands.d commands.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" commands.d; \[ -s commands.d ] || rm -f commands.d/usr/bin/mkdir -p ./; \set -e; \FILE=`echo dmraid.d | /usr/bin/sed 's/\\//\\\\\\//g;s/\\.d//g'`; \DEPS=`echo Makefile ../make.tmpl ../tools/VERSION ../include/config.h | /usr/bin/sed -e 's/\\//\\\\\\//g'`; \clang -MM -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -o dmraid.d dmraid.c; \/usr/bin/sed -i "s/\(.*\)\.o[ :]*/$FILE.o $FILE.d $FILE.pot: $DEPS /g" dmraid.d; \[ -s dmraid.d ] || rm -f dmraid.dclang -o dmraid.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 dmraid.cclang -o commands.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 commands.cclang -o toollib.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 toollib.cclang -o dmraid dmraid.o commands.o toollib.o -rdynamic -L../lib -ldmraid clang -o dmevent_tool.o -c -I -I. -I../include -I../lib -include ../include/config.h -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 -O2 -fPIC -Wall -Wundef -Wcast-align -Wwrite-strings -Winline -DDMRAID_AUTOREGISTER -O2 dmevent_tool.cclang -o dmevent_tool dmevent_tool.o -I -I. -I../include -I../lib -include ../include/config.h -rdynamic -L../lib \ -ldmraid make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools'make -C includemake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include'make[1]: Nothing to be done for 'all'.make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include'make -C manmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man'make[1]: Nothing to be done for 'all'.make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man'==> Entering fakeroot environment...==> Starting package()...which: no ctags in (/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)make -C libmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib'make[1]: Nothing to be done for 'all'.make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib'make -C toolsmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools'make[1]: Nothing to be done for 'all'.make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools'make -C includemake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include'make[1]: Nothing to be done for 'all'.make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include'make -C manmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man'make[1]: Nothing to be done for 'all'.make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man'make -C include installmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include'/usr/bin/install -c -d /tmp/dmraid/pkg/dmraid/usr/include/dmraid/usr/bin/install -c -m 644 -p ../include/dmraid/display.h ../include/dmraid/lib_context.h ../include/dmraid/list.h ../include/dmraid/dmreg.h ../include/dmraid/locking.h ../include/dmraid/reconfig.h ../include/dmraid/misc.h ../include/dmraid/dmraid.h ../include/dmraid/metadata.h ../include/dmraid/format.h /tmp/dmraid/pkg/dmraid/usr/include/dmraid/make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/include'make -C lib installmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib'/usr/bin/install -c -m 644 -p -D libdmraid.a /tmp/dmraid/pkg/dmraid/usr/lib/libdmraid.a/usr/bin/install -c -D libdmraid.so /tmp/dmraid/pkg/dmraid/usr/lib/libdmraid.so.1.0.0/usr/bin/install -c -d /tmp/dmraid/pkg/dmraid/usr/libln -s -f libdmraid.so.1.0.0 /tmp/dmraid/pkg/dmraid/usr/lib/libdmraid.so.1ln -s -f libdmraid.so.1.0.0 /tmp/dmraid/pkg/dmraid/usr/lib/libdmraid.so/usr/bin/install -c -D libdmraid-events-isw.so /tmp/dmraid/pkg/dmraid/usr/lib/device-mapper/libdmraid-events-isw.soln -s -f device-mapper/libdmraid-events-isw.so /tmp/dmraid/pkg/dmraid/usr/lib/libdmraid-events-isw.somake[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib'make -C man installmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man'/usr/bin/install -c -d /tmp/dmraid/pkg/dmraid/usr/share/man/man8/usr/bin/install -c -m 644 -p dmraid.8 dmevent_tool.8 /tmp/dmraid/pkg/dmraid/usr/share/man/man8make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man'make -C tools installmake[1]: Entering directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools'/usr/bin/install -c -d /tmp/dmraid/pkg/dmraid/usr/bin/usr/bin/install -c dmraid dmevent_tool /tmp/dmraid/pkg/dmraid/usr/binmake[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/tools'==> Tidying install... -> Removing doc files... -> Purging unwanted files...==> Checking for packaging issue...==> Creating package "dmraid"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file...error: invalid option '--noprogressbar' -> Adding install file... -> Generating .MTREE file... -> Compressing package...==> Leaving fakeroot environment.==> Finished making: dmraid 1.0.0.rc16.3-10 (Thu Apr 13 17:12:55 UTC 2017)CMD: pacman --query --file dmraid-1.0.0.rc16.3-10-x86_64.pkg.tar.xz
Creating hybrid package for 'dmraid'
Trying to find vanilla package 'dmraid'...
CMD: pacman --query --file /mirror/dmraid-1.0.0.rc16.3-10.pkg.tar.xz
Package file has the following structure:
/.PKGINFO/.INSTALL/.MTREE/usr/share/man/man8/dmevent_tool.8.gz/usr/share/man/man8/dmraid.8.gz/usr/lib/libdmraid-events-isw.so/usr/lib/libdmraid.so.1/usr/lib/libdmraid.so.1.0.0/usr/lib/libdmraid.so/usr/lib/device-mapper/libdmraid-events-isw.so/usr/lib/initcpio/hooks/dmraid/usr/lib/initcpio/install/dmraid/usr/lib/systemd/system/dmraid.service/usr/lib/tmpfiles.d/dmraid.conf/usr/bin/dmevent_tool/usr/bin/dmraid/usr/include/dmraid/format.h/usr/include/dmraid/misc.h/usr/include/dmraid/list.h/usr/include/dmraid/reconfig.h/usr/include/dmraid/metadata.h/usr/include/dmraid/dmreg.h/usr/include/dmraid/lib_context.h/usr/include/dmraid/dmraid.h/usr/include/dmraid/locking.h/usr/include/dmraid/display.h/sysroot/usr/lib/libdmraid.a/sysroot/usr/lib/libdmraid.so.1.0.0/sysroot/usr/lib/libdmraid.so.1/sysroot/usr/lib/libdmraid.so/sysroot/usr/lib/libdmraid-events-isw.so/sysroot/usr/lib/device-mapper/libdmraid-events-isw.so/sysroot/usr/lib/initcpio/install/dmraid/sysroot/usr/lib/initcpio/hooks/dmraid/sysroot/usr/lib/tmpfiles.d/dmraid.conf/sysroot/usr/lib/systemd/system/dmraid.service/sysroot/usr/include/dmraid/display.h/sysroot/usr/include/dmraid/lib_context.h/sysroot/usr/include/dmraid/list.h/sysroot/usr/include/dmraid/dmreg.h/sysroot/usr/include/dmraid/locking.h/sysroot/usr/include/dmraid/reconfig.h/sysroot/usr/include/dmraid/misc.h/sysroot/usr/include/dmraid/dmraid.h/sysroot/usr/include/dmraid/metadata.h/sysroot/usr/include/dmraid/format.hGenerating .MTREE
CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .INSTALL usr sysroot
Tar-ing up files
CMD: bsdtar -cf - .PKGINFO .INSTALL usr sysroot .MTREE
CMD: xz -c -z
Successfully ran bsdtar -cf - .PKGINFO .INSTALL usr sysroot .MTREE | xz -c -z
CMD: bsdtar -tqf dmraid.pkg.tar.xz .PKGINFO
Created package at path /var/cache/pacman/pkg/dmraid.pkg.tar.xz
Attempting to access local repository, attempt 1
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/dmraid.pkg.tar.xz
==> Extracting database to a temporary location...==> Extracting database to a temporary location...==> Adding package '/var/cache/pacman/pkg/dmraid.pkg.tar.xz' -> Computing checksums... -> Creating 'desc' db entry... -> Creating 'files' db entry...==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'Printing config logfiles
CMD: config logfiles '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/config.log'
This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake.It was created by configure, which wasgenerated by GNU Autoconf 2.63. Invocation command line was$ ./configure --host=x86_64-unknown-linux --enable-led --enable-intel_led## --------- #### Platform. #### --------- ##hostname = 3b14f78ab183uname -m = x86_64uname -r = 4.10.6-1-ARCHuname -s = Linuxuname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017/usr/bin/uname -p = unknown/bin/uname -X = unknown/bin/arch = unknown/usr/bin/arch -k = unknown/usr/convex/getsysinfo = unknown/usr/bin/hostinfo = unknown/bin/machine = unknown/usr/bin/oslevel = unknown/bin/universe = unknownPATH: /usr/binPATH: /usr/local/sbinPATH: /usr/local/binPATH: /usr/sbinPATH: /usr/binPATH: /sbinPATH: /bin## ----------- #### Core tests. #### ----------- ##configure:1911: checking build system typeconfigure:1929: result: x86_64-unknown-linux-gnuconfigure:1951: checking host system typeconfigure:1966: result: x86_64-unknown-linux-gnuconfigure:1988: checking target system typeconfigure:2003: result: x86_64-unknown-linux-gnuconfigure:2032: checking for a sed that does not truncate outputconfigure:2098: result: /usr/bin/sedconfigure:2107: checking for gawkconfigure:2123: found /usr/bin/gawkconfigure:2134: result: gawkconfigure:2159: checking for a BSD-compatible installconfigure:2227: result: /usr/bin/install -cconfigure:2238: checking whether ln -s worksconfigure:2242: result: yesconfigure:2249: checking whether make sets $(MAKE)configure:2271: result: yesconfigure:2280: checking for a thread-safe mkdir -pconfigure:2319: result: /usr/bin/mkdir -pconfigure:2325: checking for x86_64-unknown-linux-ranlibconfigure:2355: result: noconfigure:2365: checking for ranlibconfigure:2381: found /usr/bin/ranlibconfigure:2392: result: ranlibconfigure:2558: checking for x86_64-unknown-linux-gccconfigure:2585: result: clangconfigure:2857: checking for C compiler versionconfigure:2865: clang --version >&5clang version 3.8.0 (tags/RELEASE_380/final)Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /usr/binconfigure:2869: $? = 0configure:2876: clang -v >&5clang version 3.8.0 (tags/RELEASE_380/final)Target: x86_64-unknown-linux-gnuThread model: posixInstalledDir: /usr/binFound candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1Candidate multilib: .;@m64Selected multilib: .;@m64configure:2880: $? = 0configure:2887: clang -V >&5clang-3.8: error: argument to '-V' is missing (expected 1 value)clang-3.8: error: no input filesconfigure:2891: $? = 1configure:2914: checking for C compiler default output file nameconfigure:2936: clang conftest.c >&5configure:2940: $? = 0configure:2978: result: a.outconfigure:2997: checking whether the C compiler worksconfigure:3007: ./a.outconfigure:3011: $? = 0configure:3030: result: yesconfigure:3037: checking whether we are cross compilingconfigure:3039: result: noconfigure:3042: checking for suffix of executablesconfigure:3049: clang -o conftest conftest.c >&5configure:3053: $? = 0configure:3079: result:configure:3085: checking for suffix of object filesconfigure:3111: clang -c conftest.c >&5configure:3115: $? = 0configure:3140: result: oconfigure:3144: checking whether we are using the GNU C compilerconfigure:3173: clang -c conftest.c >&5configure:3180: $? = 0configure:3197: result: yesconfigure:3206: checking whether clang accepts -gconfigure:3236: clang -c -g conftest.c >&5configure:3243: $? = 0configure:3344: result: yesconfigure:3361: checking for clang option to accept ISO C89configure:3435: clang -c conftest.c >&5configure:3442: $? = 0configure:3465: result: none neededconfigure:3496: checking how to run the C preprocessorconfigure:3536: clang -E conftest.cconfigure:3543: $? = 0configure:3574: clang -E conftest.cconftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found#include ^1 error generated.configure:3581: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| /* end confdefs.h. */| #include configure:3614: result: clang -Econfigure:3643: clang -E conftest.cconfigure:3650: $? = 0configure:3681: clang -E conftest.cconftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found#include ^1 error generated.configure:3688: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| /* end confdefs.h. */| #include configure:3728: checking for grep that handles long lines and -econfigure:3788: result: /usr/bin/grepconfigure:3793: checking for egrepconfigure:3857: result: /usr/bin/grep -Econfigure:3862: checking for ANSI C header filesconfigure:3892: clang -c conftest.c >&5configure:3899: $? = 0configure:3998: clang -o conftest conftest.c >&5configure:4002: $? = 0configure:4008: ./conftestconfigure:4012: $? = 0configure:4030: result: yesconfigure:4054: checking for sys/types.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for sys/stat.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for stdlib.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for string.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for memory.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for strings.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for inttypes.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for stdint.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4054: checking for unistd.hconfigure:4075: clang -c conftest.c >&5configure:4082: $? = 0configure:4099: result: yesconfigure:4124: checking minix/config.h usabilityconfigure:4141: clang -c conftest.c >&5conftest.c:51:10: fatal error: 'minix/config.h' file not found#include ^1 error generated.configure:4148: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| #include configure:4162: result: noconfigure:4166: checking minix/config.h presenceconfigure:4181: clang -E conftest.cconftest.c:18:10: fatal error: 'minix/config.h' file not found#include ^1 error generated.configure:4188: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include configure:4202: result: noconfigure:4230: checking for minix/config.hconfigure:4237: result: noconfigure:4268: checking whether it is safe to define __EXTENSIONS__configure:4296: clang -c conftest.c >&5configure:4303: $? = 0configure:4318: result: yesconfigure:4349: checking for special C compiler options needed for large filesconfigure:4444: result: noconfigure:4450: checking for _FILE_OFFSET_BITS value needed for large filesconfigure:4485: clang -c conftest.c >&5configure:4492: $? = 0configure:4561: result: noconfigure:4707: checking for dirent.h that defines DIRconfigure:4736: clang -c conftest.c >&5configure:4743: $? = 0configure:4760: result: yesconfigure:4775: checking for library containing opendirconfigure:4816: clang -o conftest conftest.c >&5configure:4823: $? = 0configure:4854: result: none requiredconfigure:4952: checking for ANSI C header filesconfigure:5120: result: yesconfigure:5130: checking whether time.h and sys/time.h may both be includedconfigure:5160: clang -c conftest.c >&5configure:5167: $? = 0configure:5182: result: yesconfigure:5213: checking fcntl.h usabilityconfigure:5230: clang -c conftest.c >&5configure:5237: $? = 0configure:5251: result: yesconfigure:5255: checking fcntl.h presenceconfigure:5270: clang -E conftest.cconfigure:5277: $? = 0configure:5291: result: yesconfigure:5319: checking for fcntl.hconfigure:5328: result: yesconfigure:5213: checking limits.h usabilityconfigure:5230: clang -c conftest.c >&5configure:5237: $? = 0configure:5251: result: yesconfigure:5255: checking limits.h presenceconfigure:5270: clang -E conftest.cconfigure:5277: $? = 0configure:5291: result: yesconfigure:5319: checking for limits.hconfigure:5328: result: yesconfigure:5213: checking mntent.h usabilityconfigure:5230: clang -c conftest.c >&5configure:5237: $? = 0configure:5251: result: yesconfigure:5255: checking mntent.h presenceconfigure:5270: clang -E conftest.cconfigure:5277: $? = 0configure:5291: result: yesconfigure:5319: checking for mntent.hconfigure:5328: result: yesconfigure:5213: checking paths.h usabilityconfigure:5230: clang -c conftest.c >&5configure:5237: $? = 0configure:5251: result: yesconfigure:5255: checking paths.h presenceconfigure:5270: clang -E conftest.cconfigure:5277: $? = 0configure:5291: result: yesconfigure:5319: checking for paths.hconfigure:5328: result: yesconfigure:5213: checking sys/file.h usabilityconfigure:5230: clang -c conftest.c >&5configure:5237: $? = 0configure:5251: result: yesconfigure:5255: checking sys/file.h presenceconfigure:5270: clang -E conftest.cconfigure:5277: $? = 0configure:5291: result: yesconfigure:5319: checking for sys/file.hconfigure:5328: result: yesconfigure:5213: checking sys/ioctl.h usabilityconfigure:5230: clang -c conftest.c >&5configure:5237: $? = 0configure:5251: result: yesconfigure:5255: checking sys/ioctl.h presenceconfigure:5270: clang -E conftest.cconfigure:5277: $? = 0configure:5291: result: yesconfigure:5319: checking for sys/ioctl.hconfigure:5328: result: yesconfigure:5361: checking netinet/in.h usabilityconfigure:5378: clang -c conftest.c >&5configure:5385: $? = 0configure:5399: result: yesconfigure:5403: checking netinet/in.h presenceconfigure:5418: clang -E conftest.cconfigure:5425: $? = 0configure:5439: result: yesconfigure:5467: checking for netinet/in.hconfigure:5476: result: yesconfigure:5361: checking syslog.h usabilityconfigure:5378: clang -c conftest.c >&5configure:5385: $? = 0configure:5399: result: yesconfigure:5403: checking syslog.h presenceconfigure:5418: clang -E conftest.cconfigure:5425: $? = 0configure:5439: result: yesconfigure:5467: checking for syslog.hconfigure:5476: result: yesconfigure:5350: checking for unistd.hconfigure:5357: result: yesconfigure:5641: checking for an ANSI C-conforming constconfigure:5716: clang -c conftest.c >&5configure:5723: $? = 0configure:5738: result: yesconfigure:5748: checking for inlineconfigure:5774: clang -c conftest.c >&5configure:5781: $? = 0configure:5799: result: inlineconfigure:5819: checking for int16_tconfigure:5850: clang -c conftest.c >&5configure:5857: $? = 0configure:5886: clang -c conftest.c >&5conftest.c:71:24: error: 'test_array' declared as an array with a negative sizestatic int test_array [1 - 2 * !((int16_t) ((((int16_t) 1 << (16 - 2)) - 1) * 2 + 1)^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 error generated.configure:5893: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| static int test_array [1 - 2 * !((int16_t) ((((int16_t) 1 << (16 - 2)) - 1) * 2 + 1)| < (int16_t) ((((int16_t) 1 << (16 - 2)) - 1) * 2 + 2))];| test_array [0] = 0|| ;| return 0;| }configure:5922: result: yesconfigure:5935: checking for int32_tconfigure:5966: clang -c conftest.c >&5configure:5973: $? = 0configure:6002: clang -c conftest.c >&5conftest.c:71:24: error: 'test_array' declared as an array with a negative sizestatic int test_array [1 - 2 * !((int32_t) ((((int32_t) 1 << (32 - 2)) - 1) * 2 + 1)^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 error generated.configure:6009: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| static int test_array [1 - 2 * !((int32_t) ((((int32_t) 1 << (32 - 2)) - 1) * 2 + 1)| < (int32_t) ((((int32_t) 1 << (32 - 2)) - 1) * 2 + 2))];| test_array [0] = 0|| ;| return 0;| }configure:6038: result: yesconfigure:6051: checking for int64_tconfigure:6082: clang -c conftest.c >&5configure:6089: $? = 0configure:6118: clang -c conftest.c >&5conftest.c:71:24: error: 'test_array' declared as an array with a negative sizestatic int test_array [1 - 2 * !((int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 1)^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 error generated.configure:6125: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| static int test_array [1 - 2 * !((int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 1)| < (int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 2))];| test_array [0] = 0|| ;| return 0;| }configure:6154: result: yesconfigure:6167: checking for int8_tconfigure:6198: clang -c conftest.c >&5configure:6205: $? = 0configure:6234: clang -c conftest.c >&5conftest.c:71:24: error: 'test_array' declared as an array with a negative sizestatic int test_array [1 - 2 * !((int8_t) ((((int8_t) 1 << (8 - 2)) - 1) * 2 + 1)^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1 error generated.configure:6241: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| static int test_array [1 - 2 * !((int8_t) ((((int8_t) 1 << (8 - 2)) - 1) * 2 + 1)| < (int8_t) ((((int8_t) 1 << (8 - 2)) - 1) * 2 + 2))];| test_array [0] = 0|| ;| return 0;| }configure:6270: result: yesconfigure:6282: checking for mode_tconfigure:6310: clang -c conftest.c >&5configure:6317: $? = 0configure:6344: clang -c conftest.c >&5conftest.c:71:21: error: expected expressionif (sizeof ((mode_t)))^1 error generated.configure:6351: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| if (sizeof ((mode_t)))| return 0;| ;| return 0;| }configure:6374: result: yesconfigure:6386: checking for off_tconfigure:6414: clang -c conftest.c >&5configure:6421: $? = 0configure:6448: clang -c conftest.c >&5conftest.c:71:20: error: expected expressionif (sizeof ((off_t)))^1 error generated.configure:6455: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| if (sizeof ((off_t)))| return 0;| ;| return 0;| }configure:6478: result: yesconfigure:6490: checking for pid_tconfigure:6518: clang -c conftest.c >&5configure:6525: $? = 0configure:6552: clang -c conftest.c >&5conftest.c:71:20: error: expected expressionif (sizeof ((pid_t)))^1 error generated.configure:6559: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| if (sizeof ((pid_t)))| return 0;| ;| return 0;| }configure:6582: result: yesconfigure:6594: checking for size_tconfigure:6622: clang -c conftest.c >&5configure:6629: $? = 0configure:6656: clang -c conftest.c >&5conftest.c:71:21: error: expected expressionif (sizeof ((size_t)))^1 error generated.configure:6663: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| /* end confdefs.h. */| #include | #ifdef HAVE_SYS_TYPES_H| # include | #endif| #ifdef HAVE_SYS_STAT_H| # include | #endif| #ifdef STDC_HEADERS| # include | # include | #else| # ifdef HAVE_STDLIB_H| # include | # endif| #endif| #ifdef HAVE_STRING_H| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H| # include | # endif| # include | #endif| #ifdef HAVE_STRINGS_H| # include | #endif| #ifdef HAVE_INTTYPES_H| # include | #endif| #ifdef HAVE_STDINT_H| # include | #endif| #ifdef HAVE_UNISTD_H| # include | #endif| int| main ()| {| if (sizeof ((size_t)))| return 0;| ;| return 0;| }configure:6686: result: yesconfigure:6699: checking for uint16_tconfigure:6730: clang -c conftest.c >&5configure:6737: $? = 0configure:6758: result: yesconfigure:6772: checking for uint32_tconfigure:6803: clang -c conftest.c >&5configure:6810: $? = 0configure:6831: result: yesconfigure:6849: checking for uint64_tconfigure:6880: clang -c conftest.c >&5configure:6887: $? = 0configure:6908: result: yesconfigure:6926: checking for uint8_tconfigure:6957: clang -c conftest.c >&5configure:6964: $? = 0configure:6985: result: yesconfigure:7003: checking for struct stat.st_rdevconfigure:7031: clang -c conftest.c >&5configure:7038: $? = 0configure:7096: result: yesconfigure:7149: checking whether to enable debuggingconfigure:7151: result: noconfigure:7161: checking whether to enable malloc debuggingconfigure:7163: result: noconfigure:7223: checking whether to disable native metadata loggingconfigure:7225: result: yesconfigure:7251: checking whether to disable testing with mapped devicesconfigure:7253: result: yesconfigure:7332: checking whether clang needs -traditionalconfigure:7374: result: noconfigure:7381: checking return type of signal handlersconfigure:7409: clang -c -O2 conftest.c >&5conftest.c:47:8: error: indirection requires pointer operand ('void' invalid)return *(signal (0, 0)) (0) == 1;^~~~~~~~~~~~~~~~~~~~1 error generated.configure:7416: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| #define HAVE_STRUCT_STAT_ST_RDEV 1| #define HAVE_ST_RDEV 1| #define DMRAID_NATIVE_LOG 1| #define DMRAID_INTEL_LED 1| #define DMRAID_LED 1| #define DMRAID_TEST 1| /* end confdefs.h. */| #include | #include || int| main ()| {| return *(signal (0, 0)) (0) == 1;| ;| return 0;| }configure:7431: result: voidconfigure:7443: checking for vprintfconfigure:7499: clang -o conftest -O2 conftest.c >&5conftest.c:65:6: warning: incompatible redeclaration of library function 'vprintf' [-Wincompatible-library-redeclaration]char vprintf ();^conftest.c:65:6: note: 'vprintf' is a builtin with type 'int (const char *, struct __va_list_tag *)'1 warning generated.configure:7506: $? = 0configure:7528: result: yesconfigure:7537: checking for _doprntconfigure:7593: clang -o conftest -O2 conftest.c >&5/tmp/conftest-ee1c26.o: In function `main':conftest.c:(.text+0x4): undefined reference to `_doprnt'clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)configure:7600: $? = 1configure: failed program was:| /* confdefs.h. */| #define PACKAGE_NAME ""| #define PACKAGE_TARNAME ""| #define PACKAGE_VERSION ""| #define PACKAGE_STRING ""| #define PACKAGE_BUGREPORT ""| #define STDC_HEADERS 1| #define HAVE_SYS_TYPES_H 1| #define HAVE_SYS_STAT_H 1| #define HAVE_STDLIB_H 1| #define HAVE_STRING_H 1| #define HAVE_MEMORY_H 1| #define HAVE_STRINGS_H 1| #define HAVE_INTTYPES_H 1| #define HAVE_STDINT_H 1| #define HAVE_UNISTD_H 1| #define __EXTENSIONS__ 1| #define _ALL_SOURCE 1| #define _GNU_SOURCE 1| #define _POSIX_PTHREAD_SEMANTICS 1| #define _TANDEM_SOURCE 1| #define HAVE_DIRENT_H 1| #define STDC_HEADERS 1| #define TIME_WITH_SYS_TIME 1| #define HAVE_FCNTL_H 1| #define HAVE_LIMITS_H 1| #define HAVE_MNTENT_H 1| #define HAVE_PATHS_H 1| #define HAVE_SYS_FILE_H 1| #define HAVE_SYS_IOCTL_H 1| #define HAVE_NETINET_IN_H 1| #define HAVE_SYSLOG_H 1| #define HAVE_UNISTD_H 1| #define HAVE_STRUCT_STAT_ST_RDEV 1| #define HAVE_ST_RDEV 1| #define DMRAID_NATIVE_LOG 1| #define DMRAID_INTEL_LED 1| #define DMRAID_LED 1| #define DMRAID_TEST 1| #define RETSIGTYPE void| #define HAVE_VPRINTF 1| /* end confdefs.h. */| /* Define _doprnt to an innocuous variant, in case declares _doprnt. | For example, HP-UX 11i declares gettimeofday. */ | #define _doprnt innocuous__doprnt|| /* System header to define __stub macros and hopefully few prototypes,| which can conflict with char _doprnt (); below.| Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ || #ifdef __STDC__| # include | #else| # include | #endif|| #undef _doprnt|| /* Override any GCC internal prototype to avoid an error.| Use char because int might match the return type of a GCC| builtin and then its argument prototype would still apply. */| #ifdef __cplusplus| extern "C"| #endif| char _doprnt ();| /* The GNU C library defines this for functions which it implements| to always fail with ENOSYS. Some functions are actually named| something starting with __ and the normal name is an alias. */| #if defined __stub__doprnt || defined __stub____doprnt| choke me| #endif|| int| main ()| {| return _doprnt ();| ;| return 0;| }configure:7620: result: noconfigure:7636: checking for library containing getmntentconfigure:7677: clang -o conftest -O2 conftest.c >&5configure:7684: $? = 0configure:7715: result: none requiredconfigure:7731: checking whether lstat dereferences a symlink specified with a trailing slashconfigure:7767: clang -o conftest -O2 conftest.c >&5configure:7771: $? = 0configure:7777: ./conftestconfigure:7781: $? = 0configure:7805: result: yesconfigure:7829: checking for stdlib.hconfigure:7836: result: yesconfigure:7970: checking for GNU libc compatible mallocconfigure:8004: clang -o conftest -O2 conftest.c >&5configure:8008: $? = 0configure:8014: ./conftestconfigure:8018: $? = 0configure:8035: result: yesconfigure:8068: checking for stdlib.hconfigure:8075: result: yesconfigure:8209: checking for GNU libc compatible reallocconfigure:8243: clang -o conftest -O2 conftest.c >&5configure:8247: $? = 0configure:8253: ./conftestconfigure:8257: $? = 0configure:8274: result: yesconfigure:8302: checking for working strtodconfigure:8353: clang -o conftest -O2 conftest.c >&5configure:8357: $? = 0configure:8363: ./conftestconfigure:8367: $? = 0configure:8384: result: yesconfigure:8565: checking for getmntentconfigure:8650: result: yesconfigure:8565: checking for memmoveconfigure:8621: clang -o conftest -O2 conftest.c >&5conftest.c:73:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]char memmove ();^conftest.c:73:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'1 warning generated.configure:8628: $? = 0configure:8650: result: yesconfigure:8565: checking for memsetconfigure:8621: clang -o conftest -O2 conftest.c >&5conftest.c:74:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]char memset ();^conftest.c:74:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'1 warning generated.configure:8628: $? = 0configure:8650: result: yesconfigure:8565: checking for mkdirconfigure:8621: clang -o conftest -O2 conftest.c >&5configure:8628: $? = 0configure:8650: result: yesconfigure:8565: checking for rmdirconfigure:8621: clang -o conftest -O2 conftest.c >&5configure:8628: $? = 0configure:8650: result: yesconfigure:8565: checking for unameconfigure:8621: clang -o conftest -O2 conftest.c >&5configure:8628: $? = 0configure:8650: result: yesconfigure:8670: checking for strchrconfigure:8726: clang -o conftest -O2 conftest.c >&5conftest.c:78:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration]char strchr ();^conftest.c:78:6: note: 'strchr' is a builtin with type 'char *(const char *, int)'1 warning generated.configure:8733: $? = 0configure:8755: result: yesconfigure:8670: checking for strerrorconfigure:8726: clang -o conftest -O2 conftest.c >&5conftest.c:79:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]char strerror ();^conftest.c:79:6: note: 'strerror' is a builtin with type 'char *(int)'1 warning generated.configure:8733: $? = 0configure:8755: result: yesconfigure:8670: checking for strpbrkconfigure:8726: clang -o conftest -O2 conftest.c >&5conftest.c:80:6: warning: incompatible redeclaration of library function 'strpbrk' [-Wincompatible-library-redeclaration]char strpbrk ();^conftest.c:80:6: note: 'strpbrk' is a builtin with type 'char *(const char *, const char *)'1 warning generated.configure:8733: $? = 0configure:8755: result: yesconfigure:8670: checking for strrchrconfigure:8726: clang -o conftest -O2 conftest.c >&5conftest.c:81:6: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration]char strrchr ();^conftest.c:81:6: note: 'strrchr' is a builtin with type 'char *(const char *, int)'1 warning generated.configure:8733: $? = 0configure:8755: result: yesconfigure:8670: checking for strstrconfigure:8726: clang -o conftest -O2 conftest.c >&5conftest.c:82:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]char strstr ();^conftest.c:82:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'1 warning generated.configure:8733: $? = 0configure:8755: result: yesconfigure:8785: checking getopt.h usabilityconfigure:8802: clang -c -O2 conftest.c >&5configure:8809: $? = 0configure:8823: result: yesconfigure:8827: checking getopt.h presenceconfigure:8842: clang -E conftest.cconfigure:8849: $? = 0configure:8863: result: yesconfigure:8891: checking for getopt.hconfigure:8900: result: yesconfigure:8921: checking for dlopen in -ldlconfigure:8956: clang -o conftest -O2 conftest.c -ldl >&5configure:8963: $? = 0configure:8984: result: yesconfigure:8995: checking for pthread_mutex_lock in -lpthreadconfigure:9030: clang -o conftest -O2 conftest.c -lpthread >&5configure:9037: $? = 0configure:9058: result: yesconfigure:9083: checking for dm_event_handler_create in -ldevmapper-eventconfigure:9118: clang -o conftest -O2 conftest.c -ldevmapper-event >&5configure:9125: $? = 0configure:9146: result: yesconfigure:9156: checking for dm_task_set_name in -ldevmapperconfigure:9191: clang -o conftest -O2 conftest.c -ldevmapper >&5configure:9198: $? = 0configure:9219: result: yesconfigure:9246: checking libdevmapper.h usabilityconfigure:9263: clang -c -O2 conftest.c >&5configure:9270: $? = 0configure:9284: result: yesconfigure:9288: checking libdevmapper.h presenceconfigure:9303: clang -E conftest.cconfigure:9310: $? = 0configure:9324: result: yesconfigure:9352: checking for libdevmapper.hconfigure:9361: result: yesconfigure:9246: checking libdevmapper-event.h usabilityconfigure:9263: clang -c -O2 conftest.c >&5configure:9270: $? = 0configure:9284: result: yesconfigure:9288: checking libdevmapper-event.h presenceconfigure:9303: clang -E conftest.cconfigure:9310: $? = 0configure:9324: result: yesconfigure:9352: checking for libdevmapper-event.hconfigure:9361: result: yesconfigure:9521: creating ./config.status## ---------------------- #### Running config.status. #### ---------------------- ##This file was extended by config.status, which wasgenerated by GNU Autoconf 2.63. Invocation command line wasCONFIG_FILES =CONFIG_HEADERS =CONFIG_LINKS =CONFIG_COMMANDS =$ ./config.statuson 3b14f78ab183config.status:829: creating include/Makefileconfig.status:829: creating lib/Makefileconfig.status:829: creating lib/version.hconfig.status:829: creating man/Makefileconfig.status:829: creating tools/Makefileconfig.status:829: creating tools/version.hconfig.status:829: creating Makefileconfig.status:829: creating make.tmplconfig.status:829: creating include/config.h## ---------------- #### Cache variables. #### ---------------- ##ac_cv_build=x86_64-unknown-linux-gnuac_cv_c_compiler_gnu=yesac_cv_c_const=yesac_cv_c_inline=inlineac_cv_c_int16_t=yesac_cv_c_int32_t=yesac_cv_c_int64_t=yesac_cv_c_int8_t=yesac_cv_c_uint16_t=yesac_cv_c_uint32_t=yesac_cv_c_uint64_t=yesac_cv_c_uint8_t=yesac_cv_env_CC_set=setac_cv_env_CC_value=clangac_cv_env_CFLAGS_set=setac_cv_env_CFLAGS_value=ac_cv_env_CPPFLAGS_set=setac_cv_env_CPPFLAGS_value=ac_cv_env_CPP_set=ac_cv_env_CPP_value=ac_cv_env_LDFLAGS_set=setac_cv_env_LDFLAGS_value=ac_cv_env_LIBS_set=ac_cv_env_LIBS_value=ac_cv_env_build_alias_set=ac_cv_env_build_alias_value=ac_cv_env_host_alias_set=setac_cv_env_host_alias_value=x86_64-unknown-linuxac_cv_env_target_alias_set=ac_cv_env_target_alias_value=ac_cv_func__doprnt=noac_cv_func_getmntent=yesac_cv_func_lstat_dereferences_slashed_symlink=yesac_cv_func_malloc_0_nonnull=yesac_cv_func_memmove=yesac_cv_func_memset=yesac_cv_func_mkdir=yesac_cv_func_realloc_0_nonnull=yesac_cv_func_rmdir=yesac_cv_func_strchr=yesac_cv_func_strerror=yesac_cv_func_strpbrk=yesac_cv_func_strrchr=yesac_cv_func_strstr=yesac_cv_func_strtod=yesac_cv_func_uname=yesac_cv_func_vprintf=yesac_cv_header_dirent_dirent_h=yesac_cv_header_fcntl_h=yesac_cv_header_getopt_h=yesac_cv_header_inttypes_h=yesac_cv_header_libdevmapper_event_h=yesac_cv_header_libdevmapper_h=yesac_cv_header_limits_h=yesac_cv_header_memory_h=yesac_cv_header_minix_config_h=noac_cv_header_mntent_h=yesac_cv_header_netinet_in_h=yesac_cv_header_paths_h=yesac_cv_header_stdc=yesac_cv_header_stdint_h=yesac_cv_header_stdlib_h=yesac_cv_header_string_h=yesac_cv_header_strings_h=yesac_cv_header_sys_file_h=yesac_cv_header_sys_ioctl_h=yesac_cv_header_sys_stat_h=yesac_cv_header_sys_types_h=yesac_cv_header_syslog_h=yesac_cv_header_time=yesac_cv_header_unistd_h=yesac_cv_host=x86_64-unknown-linux-gnuac_cv_lib_devmapper_dm_task_set_name=yesac_cv_lib_devmapper_event_dm_event_handler_create=yesac_cv_lib_dl_dlopen=yesac_cv_lib_pthread_pthread_mutex_lock=yesac_cv_member_struct_stat_st_rdev=yesac_cv_objext=oac_cv_path_EGREP='/usr/bin/grep -E'ac_cv_path_GREP=/usr/bin/grepac_cv_path_SED=/usr/bin/sedac_cv_path_install='/usr/bin/install -c'ac_cv_path_mkdir=/usr/bin/mkdirac_cv_prog_AWK=gawkac_cv_prog_CC=clangac_cv_prog_CPP='clang -E'ac_cv_prog_ac_ct_RANLIB=ranlibac_cv_prog_cc_c89=ac_cv_prog_cc_g=yesac_cv_prog_gcc_traditional=noac_cv_prog_make_make_set=yesac_cv_safe_to_define___extensions__=yesac_cv_search_getmntent='none required'ac_cv_search_opendir='none required'ac_cv_sys_file_offset_bits=noac_cv_sys_largefile_CC=noac_cv_target=x86_64-unknown-linux-gnuac_cv_type_mode_t=yesac_cv_type_off_t=yesac_cv_type_pid_t=yesac_cv_type_signal=voidac_cv_type_size_t=yes## ----------------- #### Output variables. #### ----------------- ##AWK='gawk'CC='clang'CFLAGS='-O2'CLDFLAGS='-Wl,--version-script,$(top_srcdir)/lib/.export.sym'CPP='clang -E'CPPFLAGS=''DEBUG='no'DEBUG_MALLOC='no'DEFS='-DHAVE_CONFIG_H'DEVMAPPEREVENT_CFLAGS=''DEVMAPPEREVENT_LIBS=' -ldevmapper-event'DEVMAPPER_CFLAGS=''DEVMAPPER_LIBS=' -ldevmapper'DIETLIBC='no'DL_LIBS='-ldl'DMRAID_LIB_DATE='(2010.11.12)'DMRAID_LIB_MAJOR='1'DMRAID_LIB_MINOR='0'DMRAID_LIB_SUBMINOR='0'DMRAID_LIB_SUFFIX='rc16-3'ECHO_C=''ECHO_N='-n'ECHO_T=''EGREP='/usr/bin/grep -E'EXEEXT=''FLAVOUR=''GREP='/usr/bin/grep'INSTALL_DATA='${INSTALL} -m 644'INSTALL_PROGRAM='${INSTALL}'INSTALL_SCRIPT='${INSTALL}'JOBS='-j1'KLCC=''KLIBC='no'KLIBC_BIN_DIR=''KLIBC_INCLUDE_DIR=''KLIBC_LIB_DIR=''KLIBC_PREFIX=''KLIBC_SBIN_DIR=''LDFLAGS=''LD_DEPS='$(top_srcdir)/lib/.export.sym'LIBOBJS=''LIBS=''LIB_SO='no'LN_S='ln -s'LTLIBOBJS=''MKDIR_P='/usr/bin/mkdir -p'OBJEXT='o'PACKAGE_BUGREPORT=''PACKAGE_NAME=''PACKAGE_STRING=''PACKAGE_TARNAME=''PACKAGE_VERSION=''PATH_SEPARATOR=':'POW_LIB=''PTHREAD_LIBS='-lpthread'RANLIB='ranlib'SED='/usr/bin/sed'SET_MAKE=''SHELL='/bin/sh'SOFLAG='-shared'STATIC_LINK='no'ac_ct_CC=''bindir='${exec_prefix}/bin'build='x86_64-unknown-linux-gnu'build_alias=''build_cpu='x86_64'build_os='linux-gnu'build_vendor='unknown'datadir='${datarootdir}'datarootdir='${prefix}/share'docdir='${datarootdir}/doc/${PACKAGE}'dvidir='${docdir}'exec_prefix=''host='x86_64-unknown-linux-gnu'host_alias='x86_64-unknown-linux'host_cpu='x86_64'host_os='linux-gnu'host_vendor='unknown'htmldir='${docdir}'includedir='${prefix}/include'infodir='${datarootdir}/info'libdir='${exec_prefix}/lib'libexecdir='${exec_prefix}/libexec'localedir='${datarootdir}/locale'localstatedir='${prefix}/var'mandir='${datarootdir}/man'oldincludedir='/usr/include'pdfdir='${docdir}'prefix='/usr/local'program_transform_name='s,x,x,'psdir='${docdir}'sbindir='${exec_prefix}/sbin'sharedstatedir='${prefix}/com'staticdir='${exec_prefix}/sbin'sysconfdir='${prefix}/etc'target='x86_64-unknown-linux-gnu'target_alias=''target_cpu='x86_64'target_os='linux-gnu'target_vendor='unknown'usrlibdir='${prefix}/lib'## ----------- #### confdefs.h. #### ----------- ###define PACKAGE_NAME ""#define PACKAGE_TARNAME ""#define PACKAGE_VERSION ""#define PACKAGE_STRING ""#define PACKAGE_BUGREPORT ""#define STDC_HEADERS 1#define HAVE_SYS_TYPES_H 1#define HAVE_SYS_STAT_H 1#define HAVE_STDLIB_H 1#define HAVE_STRING_H 1#define HAVE_MEMORY_H 1#define HAVE_STRINGS_H 1#define HAVE_INTTYPES_H 1#define HAVE_STDINT_H 1#define HAVE_UNISTD_H 1#define __EXTENSIONS__ 1#define _ALL_SOURCE 1#define _GNU_SOURCE 1#define _POSIX_PTHREAD_SEMANTICS 1#define _TANDEM_SOURCE 1#define HAVE_DIRENT_H 1#define STDC_HEADERS 1#define TIME_WITH_SYS_TIME 1#define HAVE_FCNTL_H 1#define HAVE_LIMITS_H 1#define HAVE_MNTENT_H 1#define HAVE_PATHS_H 1#define HAVE_SYS_FILE_H 1#define HAVE_SYS_IOCTL_H 1#define HAVE_NETINET_IN_H 1#define HAVE_SYSLOG_H 1#define HAVE_UNISTD_H 1#define HAVE_STRUCT_STAT_ST_RDEV 1#define HAVE_ST_RDEV 1#define DMRAID_NATIVE_LOG 1#define DMRAID_INTEL_LED 1#define DMRAID_LED 1#define DMRAID_TEST 1#define RETSIGTYPE void#define HAVE_VPRINTF 1#define HAVE_GETMNTENT 1#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1#define HAVE_STDLIB_H 1#define HAVE_MALLOC 1#define HAVE_STDLIB_H 1#define HAVE_REALLOC 1#define HAVE_GETMNTENT 1#define HAVE_MEMMOVE 1#define HAVE_MEMSET 1#define HAVE_MKDIR 1#define HAVE_RMDIR 1#define HAVE_UNAME 1#define HAVE_STRCHR 1#define HAVE_STRERROR 1#define HAVE_STRPBRK 1#define HAVE_STRRCHR 1#define HAVE_STRSTR 1#define HAVE_GETOPT_H 1#define HAVE_GETOPTLONG 1#define HAVE_LIBDEVMAPPER_H 1#define HAVE_LIBDEVMAPPER_EVENT_H 1configure: exit 0