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/libexec
CMD: 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-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for x86_64-unknown-linux-ranlib... no
checking for ranlib... ranlib
checking for x86_64-unknown-linux-gcc... clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for struct stat.st_rdev... yes
checking whether to enable debugging... no
checking whether to enable malloc debugging... no
checking whether to disable native metadata logging... yes
checking whether to disable testing with mapped devices... yes
checking whether clang needs -traditional... no
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for library containing getmntent... none required
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking for getmntent... (cached) yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for rmdir... yes
checking for uname... yes
checking for strchr... yes
checking for strerror... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strstr... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for dlopen in -ldl... yes
checking for pthread_mutex_lock in -lpthread... yes
checking for dm_event_handler_create in -ldevmapper-event... yes
checking for dm_task_set_name in -ldevmapper... yes
checking libdevmapper.h usability... yes
checking libdevmapper.h presence... yes
checking for libdevmapper.h... yes
checking libdevmapper-event.h usability... yes
checking libdevmapper-event.h presence... yes
checking for libdevmapper-event.h... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/version.h
config.status: creating man/Makefile
config.status: creating tools/Makefile
config.status: creating tools/version.h
config.status: creating Makefile
config.status: creating make.tmpl
config.status: creating include/config.h
which: no ctags in (/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
make -C lib
make[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.d
In 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.d
In 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.d
In 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.d
In 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.c
In 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.c
In 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.c
device/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.c
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: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.c
clang -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.c
device/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.c
In 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.c
format/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.c
clang -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.c
clang -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.c
metadata/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.c
In 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.c
metadata/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.c
clang -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.c
clang -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.c
clang -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.c
clang -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.c
clang -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.c
clang -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.c
format/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.c
format/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.c
format/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.c
format/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.c
format/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.c
format/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.c
format/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.c
format/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.c
format/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 warning
9 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.c
format/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.c
format/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.c
format/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.c
clang -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.c
format/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.c
format/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.c
clang -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.c
rm -f libdmraid.a
ar 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.o
ar: creating libdmraid.a
ranlib libdmraid.a
clang -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.c
events/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 tools
make[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.d
clang -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.c
clang -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.c
clang -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.c
clang -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.c
clang -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 include
make[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 man
make[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 lib
make[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 tools
make[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 include
make[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 man
make[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 install
make[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 install
make[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/lib
ln -s -f libdmraid.so.1.0.0 /tmp/dmraid/pkg/dmraid/usr/lib/libdmraid.so.1
ln -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.so
ln -s -f device-mapper/libdmraid-events-isw.so /tmp/dmraid/pkg/dmraid/usr/lib/libdmraid-events-isw.so
make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/lib'
make -C man install
make[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/man8
make[1]: Leaving directory '/tmp/dmraid/src/dmraid/1.0.0.rc16-3/dmraid/man'
make -C tools install
make[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/bin
make[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.h
Generating .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 while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --host=x86_64-unknown-linux --enable-led --enable-intel_led
## --------- ##
## Platform. ##
## --------- ##
hostname = 3b14f78ab183
uname -m = x86_64
uname -r = 4.10.6-1-ARCH
uname -s = Linux
uname -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 = unknown
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1911: checking build system type
configure:1929: result: x86_64-unknown-linux-gnu
configure:1951: checking host system type
configure:1966: result: x86_64-unknown-linux-gnu
configure:1988: checking target system type
configure:2003: result: x86_64-unknown-linux-gnu
configure:2032: checking for a sed that does not truncate output
configure:2098: result: /usr/bin/sed
configure:2107: checking for gawk
configure:2123: found /usr/bin/gawk
configure:2134: result: gawk
configure:2159: checking for a BSD-compatible install
configure:2227: result: /usr/bin/install -c
configure:2238: checking whether ln -s works
configure:2242: result: yes
configure:2249: checking whether make sets $(MAKE)
configure:2271: result: yes
configure:2280: checking for a thread-safe mkdir -p
configure:2319: result: /usr/bin/mkdir -p
configure:2325: checking for x86_64-unknown-linux-ranlib
configure:2355: result: no
configure:2365: checking for ranlib
configure:2381: found /usr/bin/ranlib
configure:2392: result: ranlib
configure:2558: checking for x86_64-unknown-linux-gcc
configure:2585: result: clang
configure:2857: checking for C compiler version
configure:2865: clang --version >&5
clang version 3.8.0 (tags/RELEASE_380/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
configure:2869: $? = 0
configure:2876: clang -v >&5
clang version 3.8.0 (tags/RELEASE_380/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/6.1.1
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.1
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/6.1.1
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/6.1.1
Candidate multilib: .;@m64
Selected multilib: .;@m64
configure:2880: $? = 0
configure:2887: clang -V >&5
clang-3.8: error: argument to '-V' is missing (expected 1 value)
clang-3.8: error: no input files
configure:2891: $? = 1
configure:2914: checking for C compiler default output file name
configure:2936: clang conftest.c >&5
configure:2940: $? = 0
configure:2978: result: a.out
configure:2997: checking whether the C compiler works
configure:3007: ./a.out
configure:3011: $? = 0
configure:3030: result: yes
configure:3037: checking whether we are cross compiling
configure:3039: result: no
configure:3042: checking for suffix of executables
configure:3049: clang -o conftest conftest.c >&5
configure:3053: $? = 0
configure:3079: result:
configure:3085: checking for suffix of object files
configure:3111: clang -c conftest.c >&5
configure:3115: $? = 0
configure:3140: result: o
configure:3144: checking whether we are using the GNU C compiler
configure:3173: clang -c conftest.c >&5
configure:3180: $? = 0
configure:3197: result: yes
configure:3206: checking whether clang accepts -g
configure:3236: clang -c -g conftest.c >&5
configure:3243: $? = 0
configure:3344: result: yes
configure:3361: checking for clang option to accept ISO C89
configure:3435: clang -c conftest.c >&5
configure:3442: $? = 0
configure:3465: result: none needed
configure:3496: checking how to run the C preprocessor
configure:3536: clang -E conftest.c
configure:3543: $? = 0
configure:3574: clang -E conftest.c
conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
#include
^
1 error generated.
configure:3581: $? = 1
configure: 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 -E
configure:3643: clang -E conftest.c
configure:3650: $? = 0
configure:3681: clang -E conftest.c
conftest.c:8:10: fatal error: 'ac_nonexistent.h' file not found
#include
^
1 error generated.
configure:3688: $? = 1
configure: 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 -e
configure:3788: result: /usr/bin/grep
configure:3793: checking for egrep
configure:3857: result: /usr/bin/grep -E
configure:3862: checking for ANSI C header files
configure:3892: clang -c conftest.c >&5
configure:3899: $? = 0
configure:3998: clang -o conftest conftest.c >&5
configure:4002: $? = 0
configure:4008: ./conftest
configure:4012: $? = 0
configure:4030: result: yes
configure:4054: checking for sys/types.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for sys/stat.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for stdlib.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for string.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for memory.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for strings.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for inttypes.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for stdint.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4054: checking for unistd.h
configure:4075: clang -c conftest.c >&5
configure:4082: $? = 0
configure:4099: result: yes
configure:4124: checking minix/config.h usability
configure:4141: clang -c conftest.c >&5
conftest.c:51:10: fatal error: 'minix/config.h' file not found
#include
^
1 error generated.
configure:4148: $? = 1
configure: 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: no
configure:4166: checking minix/config.h presence
configure:4181: clang -E conftest.c
conftest.c:18:10: fatal error: 'minix/config.h' file not found
#include
^
1 error generated.
configure:4188: $? = 1
configure: 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: no
configure:4230: checking for minix/config.h
configure:4237: result: no
configure:4268: checking whether it is safe to define __EXTENSIONS__
configure:4296: clang -c conftest.c >&5
configure:4303: $? = 0
configure:4318: result: yes
configure:4349: checking for special C compiler options needed for large files
configure:4444: result: no
configure:4450: checking for _FILE_OFFSET_BITS value needed for large files
configure:4485: clang -c conftest.c >&5
configure:4492: $? = 0
configure:4561: result: no
configure:4707: checking for dirent.h that defines DIR
configure:4736: clang -c conftest.c >&5
configure:4743: $? = 0
configure:4760: result: yes
configure:4775: checking for library containing opendir
configure:4816: clang -o conftest conftest.c >&5
configure:4823: $? = 0
configure:4854: result: none required
configure:4952: checking for ANSI C header files
configure:5120: result: yes
configure:5130: checking whether time.h and sys/time.h may both be included
configure:5160: clang -c conftest.c >&5
configure:5167: $? = 0
configure:5182: result: yes
configure:5213: checking fcntl.h usability
configure:5230: clang -c conftest.c >&5
configure:5237: $? = 0
configure:5251: result: yes
configure:5255: checking fcntl.h presence
configure:5270: clang -E conftest.c
configure:5277: $? = 0
configure:5291: result: yes
configure:5319: checking for fcntl.h
configure:5328: result: yes
configure:5213: checking limits.h usability
configure:5230: clang -c conftest.c >&5
configure:5237: $? = 0
configure:5251: result: yes
configure:5255: checking limits.h presence
configure:5270: clang -E conftest.c
configure:5277: $? = 0
configure:5291: result: yes
configure:5319: checking for limits.h
configure:5328: result: yes
configure:5213: checking mntent.h usability
configure:5230: clang -c conftest.c >&5
configure:5237: $? = 0
configure:5251: result: yes
configure:5255: checking mntent.h presence
configure:5270: clang -E conftest.c
configure:5277: $? = 0
configure:5291: result: yes
configure:5319: checking for mntent.h
configure:5328: result: yes
configure:5213: checking paths.h usability
configure:5230: clang -c conftest.c >&5
configure:5237: $? = 0
configure:5251: result: yes
configure:5255: checking paths.h presence
configure:5270: clang -E conftest.c
configure:5277: $? = 0
configure:5291: result: yes
configure:5319: checking for paths.h
configure:5328: result: yes
configure:5213: checking sys/file.h usability
configure:5230: clang -c conftest.c >&5
configure:5237: $? = 0
configure:5251: result: yes
configure:5255: checking sys/file.h presence
configure:5270: clang -E conftest.c
configure:5277: $? = 0
configure:5291: result: yes
configure:5319: checking for sys/file.h
configure:5328: result: yes
configure:5213: checking sys/ioctl.h usability
configure:5230: clang -c conftest.c >&5
configure:5237: $? = 0
configure:5251: result: yes
configure:5255: checking sys/ioctl.h presence
configure:5270: clang -E conftest.c
configure:5277: $? = 0
configure:5291: result: yes
configure:5319: checking for sys/ioctl.h
configure:5328: result: yes
configure:5361: checking netinet/in.h usability
configure:5378: clang -c conftest.c >&5
configure:5385: $? = 0
configure:5399: result: yes
configure:5403: checking netinet/in.h presence
configure:5418: clang -E conftest.c
configure:5425: $? = 0
configure:5439: result: yes
configure:5467: checking for netinet/in.h
configure:5476: result: yes
configure:5361: checking syslog.h usability
configure:5378: clang -c conftest.c >&5
configure:5385: $? = 0
configure:5399: result: yes
configure:5403: checking syslog.h presence
configure:5418: clang -E conftest.c
configure:5425: $? = 0
configure:5439: result: yes
configure:5467: checking for syslog.h
configure:5476: result: yes
configure:5350: checking for unistd.h
configure:5357: result: yes
configure:5641: checking for an ANSI C-conforming const
configure:5716: clang -c conftest.c >&5
configure:5723: $? = 0
configure:5738: result: yes
configure:5748: checking for inline
configure:5774: clang -c conftest.c >&5
configure:5781: $? = 0
configure:5799: result: inline
configure:5819: checking for int16_t
configure:5850: clang -c conftest.c >&5
configure:5857: $? = 0
configure:5886: clang -c conftest.c >&5
conftest.c:71:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !((int16_t) ((((int16_t) 1 << (16 - 2)) - 1) * 2 + 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:5893: $? = 1
configure: 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: yes
configure:5935: checking for int32_t
configure:5966: clang -c conftest.c >&5
configure:5973: $? = 0
configure:6002: clang -c conftest.c >&5
conftest.c:71:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !((int32_t) ((((int32_t) 1 << (32 - 2)) - 1) * 2 + 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:6009: $? = 1
configure: 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: yes
configure:6051: checking for int64_t
configure:6082: clang -c conftest.c >&5
configure:6089: $? = 0
configure:6118: clang -c conftest.c >&5
conftest.c:71:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !((int64_t) ((((int64_t) 1 << (64 - 2)) - 1) * 2 + 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:6125: $? = 1
configure: 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: yes
configure:6167: checking for int8_t
configure:6198: clang -c conftest.c >&5
configure:6205: $? = 0
configure:6234: clang -c conftest.c >&5
conftest.c:71:24: error: 'test_array' declared as an array with a negative size
static int test_array [1 - 2 * !((int8_t) ((((int8_t) 1 << (8 - 2)) - 1) * 2 + 1)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:6241: $? = 1
configure: 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: yes
configure:6282: checking for mode_t
configure:6310: clang -c conftest.c >&5
configure:6317: $? = 0
configure:6344: clang -c conftest.c >&5
conftest.c:71:21: error: expected expression
if (sizeof ((mode_t)))
^
1 error generated.
configure:6351: $? = 1
configure: 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: yes
configure:6386: checking for off_t
configure:6414: clang -c conftest.c >&5
configure:6421: $? = 0
configure:6448: clang -c conftest.c >&5
conftest.c:71:20: error: expected expression
if (sizeof ((off_t)))
^
1 error generated.
configure:6455: $? = 1
configure: 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: yes
configure:6490: checking for pid_t
configure:6518: clang -c conftest.c >&5
configure:6525: $? = 0
configure:6552: clang -c conftest.c >&5
conftest.c:71:20: error: expected expression
if (sizeof ((pid_t)))
^
1 error generated.
configure:6559: $? = 1
configure: 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: yes
configure:6594: checking for size_t
configure:6622: clang -c conftest.c >&5
configure:6629: $? = 0
configure:6656: clang -c conftest.c >&5
conftest.c:71:21: error: expected expression
if (sizeof ((size_t)))
^
1 error generated.
configure:6663: $? = 1
configure: 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: yes
configure:6699: checking for uint16_t
configure:6730: clang -c conftest.c >&5
configure:6737: $? = 0
configure:6758: result: yes
configure:6772: checking for uint32_t
configure:6803: clang -c conftest.c >&5
configure:6810: $? = 0
configure:6831: result: yes
configure:6849: checking for uint64_t
configure:6880: clang -c conftest.c >&5
configure:6887: $? = 0
configure:6908: result: yes
configure:6926: checking for uint8_t
configure:6957: clang -c conftest.c >&5
configure:6964: $? = 0
configure:6985: result: yes
configure:7003: checking for struct stat.st_rdev
configure:7031: clang -c conftest.c >&5
configure:7038: $? = 0
configure:7096: result: yes
configure:7149: checking whether to enable debugging
configure:7151: result: no
configure:7161: checking whether to enable malloc debugging
configure:7163: result: no
configure:7223: checking whether to disable native metadata logging
configure:7225: result: yes
configure:7251: checking whether to disable testing with mapped devices
configure:7253: result: yes
configure:7332: checking whether clang needs -traditional
configure:7374: result: no
configure:7381: checking return type of signal handlers
configure:7409: clang -c -O2 conftest.c >&5
conftest.c:47:8: error: indirection requires pointer operand ('void' invalid)
return *(signal (0, 0)) (0) == 1;
^~~~~~~~~~~~~~~~~~~~
1 error generated.
configure:7416: $? = 1
configure: 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: void
configure:7443: checking for vprintf
configure:7499: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:7528: result: yes
configure:7537: checking for _doprnt
configure: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: $? = 1
configure: 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: no
configure:7636: checking for library containing getmntent
configure:7677: clang -o conftest -O2 conftest.c >&5
configure:7684: $? = 0
configure:7715: result: none required
configure:7731: checking whether lstat dereferences a symlink specified with a trailing slash
configure:7767: clang -o conftest -O2 conftest.c >&5
configure:7771: $? = 0
configure:7777: ./conftest
configure:7781: $? = 0
configure:7805: result: yes
configure:7829: checking for stdlib.h
configure:7836: result: yes
configure:7970: checking for GNU libc compatible malloc
configure:8004: clang -o conftest -O2 conftest.c >&5
configure:8008: $? = 0
configure:8014: ./conftest
configure:8018: $? = 0
configure:8035: result: yes
configure:8068: checking for stdlib.h
configure:8075: result: yes
configure:8209: checking for GNU libc compatible realloc
configure:8243: clang -o conftest -O2 conftest.c >&5
configure:8247: $? = 0
configure:8253: ./conftest
configure:8257: $? = 0
configure:8274: result: yes
configure:8302: checking for working strtod
configure:8353: clang -o conftest -O2 conftest.c >&5
configure:8357: $? = 0
configure:8363: ./conftest
configure:8367: $? = 0
configure:8384: result: yes
configure:8565: checking for getmntent
configure:8650: result: yes
configure:8565: checking for memmove
configure:8621: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:8650: result: yes
configure:8565: checking for memset
configure:8621: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:8650: result: yes
configure:8565: checking for mkdir
configure:8621: clang -o conftest -O2 conftest.c >&5
configure:8628: $? = 0
configure:8650: result: yes
configure:8565: checking for rmdir
configure:8621: clang -o conftest -O2 conftest.c >&5
configure:8628: $? = 0
configure:8650: result: yes
configure:8565: checking for uname
configure:8621: clang -o conftest -O2 conftest.c >&5
configure:8628: $? = 0
configure:8650: result: yes
configure:8670: checking for strchr
configure:8726: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:8755: result: yes
configure:8670: checking for strerror
configure:8726: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:8755: result: yes
configure:8670: checking for strpbrk
configure:8726: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:8755: result: yes
configure:8670: checking for strrchr
configure:8726: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:8755: result: yes
configure:8670: checking for strstr
configure:8726: clang -o conftest -O2 conftest.c >&5
conftest.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: $? = 0
configure:8755: result: yes
configure:8785: checking getopt.h usability
configure:8802: clang -c -O2 conftest.c >&5
configure:8809: $? = 0
configure:8823: result: yes
configure:8827: checking getopt.h presence
configure:8842: clang -E conftest.c
configure:8849: $? = 0
configure:8863: result: yes
configure:8891: checking for getopt.h
configure:8900: result: yes
configure:8921: checking for dlopen in -ldl
configure:8956: clang -o conftest -O2 conftest.c -ldl >&5
configure:8963: $? = 0
configure:8984: result: yes
configure:8995: checking for pthread_mutex_lock in -lpthread
configure:9030: clang -o conftest -O2 conftest.c -lpthread >&5
configure:9037: $? = 0
configure:9058: result: yes
configure:9083: checking for dm_event_handler_create in -ldevmapper-event
configure:9118: clang -o conftest -O2 conftest.c -ldevmapper-event >&5
configure:9125: $? = 0
configure:9146: result: yes
configure:9156: checking for dm_task_set_name in -ldevmapper
configure:9191: clang -o conftest -O2 conftest.c -ldevmapper >&5
configure:9198: $? = 0
configure:9219: result: yes
configure:9246: checking libdevmapper.h usability
configure:9263: clang -c -O2 conftest.c >&5
configure:9270: $? = 0
configure:9284: result: yes
configure:9288: checking libdevmapper.h presence
configure:9303: clang -E conftest.c
configure:9310: $? = 0
configure:9324: result: yes
configure:9352: checking for libdevmapper.h
configure:9361: result: yes
configure:9246: checking libdevmapper-event.h usability
configure:9263: clang -c -O2 conftest.c >&5
configure:9270: $? = 0
configure:9284: result: yes
configure:9288: checking libdevmapper-event.h presence
configure:9303: clang -E conftest.c
configure:9310: $? = 0
configure:9324: result: yes
configure:9352: checking for libdevmapper-event.h
configure:9361: result: yes
configure:9521: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on 3b14f78ab183
config.status:829: creating include/Makefile
config.status:829: creating lib/Makefile
config.status:829: creating lib/version.h
config.status:829: creating man/Makefile
config.status:829: creating tools/Makefile
config.status:829: creating tools/version.h
config.status:829: creating Makefile
config.status:829: creating make.tmpl
config.status:829: creating include/config.h
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_c_int16_t=yes
ac_cv_c_int32_t=yes
ac_cv_c_int64_t=yes
ac_cv_c_int8_t=yes
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_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=set
ac_cv_env_host_alias_value=x86_64-unknown-linux
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func__doprnt=no
ac_cv_func_getmntent=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memmove=yes
ac_cv_func_memset=yes
ac_cv_func_mkdir=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_rmdir=yes
ac_cv_func_strchr=yes
ac_cv_func_strerror=yes
ac_cv_func_strpbrk=yes
ac_cv_func_strrchr=yes
ac_cv_func_strstr=yes
ac_cv_func_strtod=yes
ac_cv_func_uname=yes
ac_cv_func_vprintf=yes
ac_cv_header_dirent_dirent_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_getopt_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libdevmapper_event_h=yes
ac_cv_header_libdevmapper_h=yes
ac_cv_header_limits_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_mntent_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_paths_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_file_h=yes
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_syslog_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_devmapper_dm_task_set_name=yes
ac_cv_lib_devmapper_event_dm_event_handler_create=yes
ac_cv_lib_dl_dlopen=yes
ac_cv_lib_pthread_pthread_mutex_lock=yes
ac_cv_member_struct_stat_st_rdev=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=clang
ac_cv_prog_CPP='clang -E'
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_gcc_traditional=no
ac_cv_prog_make_make_set=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_search_getmntent='none required'
ac_cv_search_opendir='none required'
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_target=x86_64-unknown-linux-gnu
ac_cv_type_mode_t=yes
ac_cv_type_off_t=yes
ac_cv_type_pid_t=yes
ac_cv_type_signal=void
ac_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 1
configure: exit 0