=> Building net/istgt Started : Friday, 8 MAR 2019 at 01:56:13 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for istgt-20150713: DOCS=on: Build and/or install documentation SYMLNKDEV=off: Allow symbolic link for device file VBOXVD=off: VirtualBox VD support (no X11 required) ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/net/istgt XDG_CONFIG_HOME=/construction/net/istgt HOME=/construction/net/istgt TMPDIR="/tmp" PATH=/construction/net/istgt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/net/istgt XDG_CONFIG_HOME=/construction/net/istgt HOME=/construction/net/istgt TMPDIR="/tmp" PATH=/construction/net/istgt/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/net/istgt/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/istgt" EXAMPLESDIR="share/examples/istgt" DATADIR="share/istgt" WWWDIR="www/istgt" ETCDIR="etc/istgt" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/istgt DOCSDIR=/usr/local/share/doc/istgt EXAMPLESDIR=/usr/local/share/examples/istgt WWWDIR=/usr/local/www/istgt ETCDIR=/usr/local/etc/istgt -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.28.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The istgt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD2CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> istgt-20150713 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> istgt-20150713 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of istgt-20150713 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The istgt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by istgt-20150713 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The istgt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by istgt-20150713 for building => SHA256 Checksum OK for istgt-20150713.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The istgt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by istgt-20150713 for building ===> Extracting for istgt-20150713 ===> NOTICE: The istgt port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by istgt-20150713 for building => SHA256 Checksum OK for istgt-20150713.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for istgt-20150713 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> istgt-20150713 depends on file: /usr/local/lib/libcrypto.so.44 - not found ===> Installing existing package /packages/All/libressl-2.8.3.txz Installing libressl-2.8.3... Extracting libressl-2.8.3: .......... done ===> istgt-20150713 depends on file: /usr/local/lib/libcrypto.so.44 - found ===> Returning to build of istgt-20150713 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for istgt-20150713 configure: loading site script /xports/Templates/config.site checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking build system type... x86_64-portbld-dragonfly5.5 checking host system type... x86_64-portbld-dragonfly5.5 checking for pthread_create in -lpthread... yes checking for MD5Update in -lmd... yes checking for cam_open_spec_device in -lcam... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for inline... inline checking for int32_t... (cached) yes checking for int64_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for ssize_t... (cached) yes checking for struct stat.st_blocks... yes checking for uint16_t... (cached) yes checking for uint32_t... (cached) yes checking for uint64_t... (cached) yes checking for uint8_t... (cached) yes checking whether lstat correctly handles trailing slash... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for ftruncate... yes checking for memset... (cached) yes checking for realpath... (cached) yes checking for socket... yes checking for strcasecmp... (cached) yes checking for strchr... (cached) yes checking for strncasecmp... (cached) yes checking for strspn... yes checking for strtol... (cached) yes checking for strtoull... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking aio.h usability... yes checking aio.h presence... yes checking for aio.h... yes checking for sched.h... (cached) yes checking uuid.h usability... yes checking uuid.h presence... yes checking for uuid.h... yes checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... yes checking sys/disklabel.h presence... yes checking for sys/disklabel.h... yes checking for pthread.h... (cached) yes checking for pthread_np.h... yes checking for strlcpy... (cached) yes checking for arc4random... (cached) yes checking for srandomdev... yes checking for pthread_yield... yes checking for sched_yield... (cached) yes checking for pthread_set_name_np... yes checking for setproctitle... (cached) yes checking for mkdep... /usr/bin/mkdep checking whether the C compiler accepts -fstack-protector... yes checking whether the C compiler accepts -Wall... yes checking whether the C compiler accepts -Wextra... yes checking whether to use debug mode... no checking whether to use symlink device... no checking which syslog facility to use... "local7" checking which syslog priority to use... "info" checking VirtualBox Virtual Disk support... no checking for PTHREAD_MUTEX_ADAPTIVE_NP... no checking for sys/types.h... (cached) yes checking for machine/atomic.h... yes checking sys/atomic.h usability... no checking sys/atomic.h presence... no checking for sys/atomic.h... no checking for atomic operations... yes checking for gcc builtin atomic operations... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating etc/Makefile config.status: creating doc/Makefile config.status: creating src/build.h config.status: creating src/config.h -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for istgt-20150713 --- all --- for subdir in src etc doc; do (cd $subdir; /usr/bin/make all) || exit $?; done --- stamp-depend --- --- istgt.o --- --- istgt_iscsi.o --- --- istgt_iscsi_param.o --- --- istgt_lu.o --- --- stamp-depend --- /usr/bin/make depend --- istgt.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt.o istgt.c --- istgt_iscsi.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_iscsi.o istgt_iscsi.c --- istgt_lu.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_lu.o istgt_lu.c --- istgt_iscsi_param.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_iscsi_param.o istgt_iscsi_param.c --- stamp-depend --- --- depend --- if [ "x/usr/bin/mkdep" != "x" ]; then /usr/bin/mkdep -MM -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. istgt.c istgt_iscsi.c istgt_iscsi_param.c istgt_lu.c istgt_lu_disk.c istgt_lu_disk_vbox.c istgt_lu_dvd.c istgt_lu_tape.c istgt_lu_pass.c istgt_lu_ctl.c istgt_log.c istgt_conf.c istgt_sock.c istgt_misc.c istgt_queue.c istgt_crc32c.c istgt_md5.c; fi --- istgt_iscsi.o --- In file included from istgt_iscsi.c:55: istgt_iscsi.c: In function 'istgt_update_pdu': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:840:11: note: in expansion of macro 'BGET8W' opcode = BGET8W(&rsp[0], 5, 6); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_write_pdu_internal': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:1192:11: note: in expansion of macro 'BGET8W' opcode = BGET8W(&cp[0], 5, 6); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_reject': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2167:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2167:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_login': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:2362:10: note: in expansion of macro 'BGET8' T_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:2363:10: note: in expansion of macro 'BGET8' C_bit = BGET8(&cp[1], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:2364:8: note: in expansion of macro 'BGET8W' CSG = BGET8W(&cp[1], 3, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:2365:8: note: in expansion of macro 'BGET8W' NSG = BGET8W(&cp[1], 1, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2955:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], T_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2955:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], T_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2956:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2956:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2957:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], CSG, 3, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2957:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], CSG, 3, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2958:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], NSG, 1, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2958:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], NSG, 1, 2); ^~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_text': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3047:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3048:10: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3049:10: note: in expansion of macro 'BGET8' C_bit = BGET8(&cp[1], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3151:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3151:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3152:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3152:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_iscsi.c:3029:14: warning: variable 'iiqn' set but not used [-Wunused-but-set-variable] const char *iiqn; ^~~~ In file included from istgt_iscsi.c:55: istgt_iscsi.c: In function 'istgt_iscsi_op_logout': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:3221:11: note: in expansion of macro 'BGET8W' reason = BGET8W(&cp[1], 6, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:3271:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:3271:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ --- istgt_lu_disk.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_lu_disk.o istgt_lu_disk.c --- istgt_iscsi.o --- istgt_iscsi.c: In function 'istgt_iscsi_transfer_in_internal': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3437:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3437:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ --- istgt_lu_disk.o --- istgt_lu_disk.c: In function 'istgt_lu_disk_init': istgt_lu_disk.c:456:6: warning: variable 'newfile' set but not used [-Wunused-but-set-variable] int newfile; ^~~~~~~ In file included from istgt_lu_disk.c:53: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_inquiry': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:1113:9: note: in expansion of macro 'BGET8' evpd = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1120:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1120:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1151:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1151:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1184:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1184:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1197:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1197:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1200:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1200:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1201:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1201:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1224:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1224:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1227:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1227:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1228:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1228:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1260:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1260:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1263:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1263:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1264:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1264:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1282:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1282:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1285:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1285:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1286:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1286:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1304:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1304:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1307:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1307:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1308:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1308:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1333:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1333:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1336:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1336:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1337:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1337:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1360:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1360:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1363:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1363:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1364:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1364:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1391:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1391:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1405:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 2); /* HEADSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1405:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 2); /* HEADSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1407:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 0); /* SIMPSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1407:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 0); /* SIMPSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1422:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1422:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1458:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1458:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1475:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1475:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1493:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1493:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1533:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1533:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1536:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1536:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1537:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1537:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1566:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1566:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1622:5: note: in expansion of macro 'BDADD8' BDADD8(&data[32], 0, 7); /* not valid ALIGNMENT */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1622:5: note: in expansion of macro 'BDADD8' BDADD8(&data[32], 0, 7); /* not valid ALIGNMENT */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1636:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1636:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))<lu->lun[spec->lun].formfactor, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1676:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1676:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1712:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1712:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1720:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1720:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1728:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[5], 0x00, 5, 2); /* Not support TPGS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1728:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[5], 0x00, 5, 2); /* Not support TPGS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1734:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[6], 1, 4, 1); /* MULTIP */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1734:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[6], 1, 4, 1); /* MULTIP */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1738:4: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 1); /* CMDQUE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1738:4: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 1); /* CMDQUE */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_sense_page': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1869:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1869:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1872:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1872:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1873:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1873:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1877:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1877:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1884:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1884:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1886:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1886:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1890:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1890:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1892:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1892:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_sense6': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2080:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2080:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_sense10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2135:3: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2135:3: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2218:7: note: in expansion of macro 'BGET8' ps = BGET8(&data[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2219:8: note: in expansion of macro 'BGET8' spf = BGET8(&data[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2257:10: note: in expansion of macro 'BGET8' wce = BGET8(&data[2], 2); /* WCE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2258:10: note: in expansion of macro 'BGET8' rcd = BGET8(&data[2], 0); /* RCD */ ^~~~~ istgt_lu_disk.c:2208:6: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int ps, spf, page, subpage; ^~ In file included from istgt_lu_disk.c:53: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_read_defect10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2316:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2316:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2319:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2319:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2321:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2321:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ istgt_lu_disk.c:2305:11: warning: variable 'cp' set but not used [-Wunused-but-set-variable] uint8_t *cp; ^~ In file included from istgt_lu_disk.c:53: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_read_defect12': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2348:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2348:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ --- istgt_lu.o --- istgt_lu.c: In function 'istgt_lu_parse_size': --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2351:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ --- istgt_lu.o --- istgt_lu.c:799:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'Z': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:800:3: note: here case 'E': val1 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2351:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ --- istgt_lu.o --- istgt_lu.c:800:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'E': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:801:3: note: here case 'P': val1 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2353:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:801:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'P': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2353:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:802:3: note: here case 'T': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:802:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'T': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:803:3: note: here case 'G': val1 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- istgt_lu_disk.c:2337:11: warning: variable 'cp' set but not used [-Wunused-but-set-variable] uint8_t *cp; ^~ --- istgt_lu.o --- istgt_lu.c:803:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'G': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:804:3: note: here case 'M': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:804:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'M': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:805:3: note: here case 'K': val1 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- In file included from istgt_lu_disk.c:53: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_report_target_port_groups': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2488:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_OPTIMIZED, 3, 4); ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:821:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'E': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:822:5: note: here case 'P': val2 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2488:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_OPTIMIZED, 3, 4); ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:822:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'P': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:823:5: note: here case 'T': val2 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2491:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_NON_OPTIMIZED, 3, 4); ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:823:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'T': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2491:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_NON_OPTIMIZED, 3, 4); ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:824:5: note: here case 'G': val2 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:824:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'G': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2494:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_STANDBY, 3, 4); ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:825:5: note: here case 'M': val2 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2494:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_STANDBY, 3, 4); ^~~~~~~ --- istgt_lu.o --- istgt_lu.c:825:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'M': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:826:5: note: here case 'K': val2 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2497:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_UNAVAILABLE, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2497:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_UNAVAILABLE, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2500:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_TRANSITIONING, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2500:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_TRANSITIONING, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2511:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 1); /* active/non-optimized supported */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2511:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 1); /* active/non-optimized supported */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2512:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* active/optimized supported */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2512:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* active/optimized supported */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_set_target_port_groups': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:2598:8: note: in expansion of macro 'BGET8W' aas = BGET8W(&data[0], 3, 4); ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_parse_transport_id': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:2857:7: note: in expansion of macro 'BGET8W' fc = BGET8W(&data[0], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:2858:7: note: in expansion of macro 'BGET8W' pi = BGET8W(&data[0], 3, 4); ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_persistent_reserve_in': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))<rsv_scope, 7, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2949:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[21], spec->rsv_type, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2949:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[21], spec->rsv_type, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2968:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 3); /* Specify Initiator Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2968:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 3); /* Specify Initiator Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2969:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 2); /* All Target Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2969:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 2); /* All Target Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3005:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3005:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3011:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 0); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3011:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 0); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3012:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_scope & 0x0f, 7, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3012:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_scope & 0x0f, 7, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3013:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_type & 0x0f, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3013:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_type & 0x0f, 3, 4); ^~~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_persistent_reserve_out': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:3074:14: note: in expansion of macro 'BGET8' spec_i_pt = BGET8(&data[20], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:3075:14: note: in expansion of macro 'BGET8' all_tg_pt = BGET8(&data[20], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:3076:10: note: in expansion of macro 'BGET8' aptpl = BGET8(&data[20], 0); ^~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_release': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3906:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3906:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4021:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4021:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_lu_disk.c: In function 'istgt_lu_scsi_build_sense_data': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4463:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4463:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4532:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4532:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3438:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 6); // A_bit Acknowledge ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3438:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 6); // A_bit Acknowledge ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3440:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3440:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3441:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3441:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3443:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3443:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3444:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3444:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3446:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], S_bit, 0); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3446:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], S_bit, 0); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_scsi': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3529:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3530:10: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3531:10: note: in expansion of macro 'BGET8' R_bit = BGET8(&cp[1], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3532:10: note: in expansion of macro 'BGET8' W_bit = BGET8(&cp[1], 5); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:3533:13: note: in expansion of macro 'BGET8W' Attr_bit = BGET8W(&cp[1], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3766:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3766:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3767:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3767:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3768:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3768:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3769:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3769:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3770:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3770:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_task_response': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3890:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3890:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3891:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3891:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3892:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3892:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3893:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3893:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3894:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3894:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_task': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3955:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:3956:13: note: in expansion of macro 'BGET8W' function = BGET8W(&cp[1], 6, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4077:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4077:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_iscsi.c:3943:11: warning: variable 'ExpDataSN' set but not used [-Wunused-but-set-variable] uint32_t ExpDataSN; ^~~~~~~~~ In file included from istgt_iscsi.c:55: istgt_iscsi.c: In function 'istgt_iscsi_op_nopout': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4137:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4219:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4219:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ --- istgt_lu_disk.o --- istgt_lu_disk.c: In function 'istgt_lu_disk_queue': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4968:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4968:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_queue_start': istgt_lu_disk.c:5130:12: warning: variable 'istgt' set but not used [-Wunused-but-set-variable] ISTGT_Ptr istgt; ^~~~~ In file included from istgt_lu_disk.c:53: istgt_lu_disk.c: In function 'istgt_lu_disk_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:5547:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:5547:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5698:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[4], 7, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5699:11: note: in expansion of macro 'BGET8' loej = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5700:12: note: in expansion of macro 'BGET8' start = BGET8(&cdb[4], 0); ^~~~~ istgt_lu_disk.c:5696:12: warning: variable 'loej' set but not used [-Wunused-but-set-variable] int pc, loej, start; ^~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5740:11: note: in expansion of macro 'BGET8W' switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5789:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5790:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_disk.c:5779:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_disk.c:5779:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_disk.c:5779:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5853:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5854:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5883:11: note: in expansion of macro 'BGET8' llba = BGET8(&data[4], 0); /* Long LBA */ ^~~~~ istgt_lu_disk.c:5842:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_disk.c:5842:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_disk.c:5842:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5929:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5930:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5931:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5980:12: note: in expansion of macro 'BGET8' llbaa = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5981:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5982:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5983:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6028:11: note: in expansion of macro 'BGET8' desc = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6124:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6125:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6126:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6108:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6108:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6108:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6160:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6161:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6162:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6144:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6144:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6144:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6196:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6197:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6198:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6180:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6180:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6180:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6267:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6268:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6269:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6251:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6251:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6251:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6304:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6305:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6306:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6288:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6288:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6288:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6341:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6342:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6343:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6325:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6325:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6325:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6371:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6372:13: note: in expansion of macro 'BGET8' bytchk = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6361:13: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~~~~ istgt_lu_disk.c:6361:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6395:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6396:13: note: in expansion of macro 'BGET8' bytchk = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6385:13: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~~~~ istgt_lu_disk.c:6385:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6419:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6420:13: note: in expansion of macro 'BGET8' bytchk = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6409:13: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~~~~ istgt_lu_disk.c:6409:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6449:15: note: in expansion of macro 'BGET8W' wprotect = BGET8W(&cdb[1], 7, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6450:13: note: in expansion of macro 'BGET8' pbdata = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6451:13: note: in expansion of macro 'BGET8' lbdata = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6454:15: note: in expansion of macro 'BGET8W' group_no = BGET8W(&cdb[6], 4, 5); ^~~~~~ istgt_lu_disk.c:6433:34: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] int wprotect, pbdata, lbdata, group_no; ^~~~~~~~ istgt_lu_disk.c:6433:8: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] int wprotect, pbdata, lbdata, group_no; ^~~~~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6498:15: note: in expansion of macro 'BGET8W' wprotect = BGET8W(&cdb[1], 7, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6499:13: note: in expansion of macro 'BGET8' anchor = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6500:12: note: in expansion of macro 'BGET8' unmap = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6501:13: note: in expansion of macro 'BGET8' pbdata = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6502:13: note: in expansion of macro 'BGET8' lbdata = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6505:15: note: in expansion of macro 'BGET8W' group_no = BGET8W(&cdb[14], 4, 5); ^~~~~~ istgt_lu_disk.c:6479:49: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] int wprotect, anchor, unmap, pbdata, lbdata, group_no; ^~~~~~~~ istgt_lu_disk.c:6479:26: warning: variable 'unmap' set but not used [-Wunused-but-set-variable] int wprotect, anchor, unmap, pbdata, lbdata, group_no; ^~~~~ istgt_lu_disk.c:6479:8: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] int wprotect, anchor, unmap, pbdata, lbdata, group_no; ^~~~~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6562:15: note: in expansion of macro 'BGET8W' wprotect = BGET8W(&cdb[1], 7, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6563:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6564:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6565:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6568:15: note: in expansion of macro 'BGET8W' group_no = BGET8W(&cdb[14], 4, 5); ^~~~~~ istgt_lu_disk.c:6537:36: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~~~~~~ istgt_lu_disk.c:6537:28: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~~~~ istgt_lu_disk.c:6537:23: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~ istgt_lu_disk.c:6537:18: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~ istgt_lu_disk.c:6537:8: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~~~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6607:14: note: in expansion of macro 'BGET8' sync_nv = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6608:12: note: in expansion of macro 'BGET8' immed = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6597:17: warning: variable 'immed' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~ istgt_lu_disk.c:6597:8: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6641:14: note: in expansion of macro 'BGET8' sync_nv = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6642:12: note: in expansion of macro 'BGET8' immed = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6631:17: warning: variable 'immed' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~ istgt_lu_disk.c:6631:8: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6673:16: note: in expansion of macro 'BGET8' req_plist = BGET8(&cdb[2], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6674:16: note: in expansion of macro 'BGET8' req_glist = BGET8(&cdb[2], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6675:18: note: in expansion of macro 'BGET8W' list_format = BGET8W(&cdb[2], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6707:16: note: in expansion of macro 'BGET8' req_plist = BGET8(&cdb[2], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6708:16: note: in expansion of macro 'BGET8' req_glist = BGET8(&cdb[2], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6709:18: note: in expansion of macro 'BGET8W' list_format = BGET8W(&cdb[2], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6733:11: note: in expansion of macro 'BGET8W' switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ ^~~~~~ In file included from istgt.h:51, from istgt_lu_disk.c:48: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_log.h:71:8: note: in definition of macro 'ISTGT_TRACELOG' __VA_ARGS__); \ ^~~~~~~~~~~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6761:8: note: in expansion of macro 'BGET8W' BGET8W(&cdb[1], 4, 5)); ^~~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6771:11: note: in expansion of macro 'BGET8W' switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ ^~~~~~ In file included from istgt.h:51, from istgt_lu_disk.c:48: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_log.h:71:8: note: in definition of macro 'ISTGT_TRACELOG' __VA_ARGS__); \ ^~~~~~~~~~~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6824:8: note: in expansion of macro 'BGET8W' BGET8W(&cdb[1], 4, 5)); ^~~~~~ In file included from istgt_lu_disk.c:53: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6843:9: note: in expansion of macro 'BGET8W' sa = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6876:9: note: in expansion of macro 'BGET8W' sa = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6877:12: note: in expansion of macro 'BGET8W' scope = BGET8W(&cdb[2], 7, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6878:11: note: in expansion of macro 'BGET8W' type = BGET8W(&cdb[2], 3, 4); ^~~~~~ --- istgt_iscsi.o --- istgt_iscsi.c: In function 'istgt_iscsi_op_data': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4493:10: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_iscsi.c:4459:11: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] uint64_t current_lun; ^~~~~~~~~~~ istgt_iscsi.c:4458:11: warning: variable 'lun' set but not used [-Wunused-but-set-variable] uint64_t lun; ^~~ In file included from istgt_iscsi.c:55: istgt_iscsi.c: In function 'istgt_iscsi_send_r2t': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4569:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4569:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_transfer_out': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:4767:16: note: in expansion of macro 'BGET8W' immediate = BGET8W(&data_pdu.bhs.opcode, 6, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:4768:13: note: in expansion of macro 'BGET8W' opcode = BGET8W(&data_pdu.bhs.opcode, 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4771:12: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4942:11: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4949:11: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_iscsi.c:4627:6: warning: variable 'r2t_offset' set but not used [-Wunused-but-set-variable] int r2t_offset; ^~~~~~~~~~ istgt_iscsi.c:4623:6: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] int immediate, opcode; ^~~~~~~~~ istgt_iscsi.c:4608:11: warning: variable 'lun' set but not used [-Wunused-but-set-variable] uint64_t lun; ^~~ istgt_iscsi.c:4607:11: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] uint64_t current_lun; ^~~~~~~~~~~ In file included from istgt_iscsi.c:55: istgt_iscsi.c: In function 'istgt_iscsi_send_nopin': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:5001:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:5001:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:5037:14: note: in expansion of macro 'BGET8W' immediate = BGET8W(&conn->pdu.bhs.opcode, 6, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:5038:11: note: in expansion of macro 'BGET8W' opcode = BGET8W(&conn->pdu.bhs.opcode, 5, 6); ^~~~~~ istgt_iscsi.c:5031:6: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] int immediate, opcode; ^~~~~~~~~ In file included from istgt_iscsi.c:55: istgt_iscsi.c: In function 'worker': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:5706:13: note: in expansion of macro 'BGET8W' opcode = BGET8W(&conn->pdu.bhs.opcode, 5, 6); ^~~~~~ --- stamp-depend --- touch stamp-depend --- istgt_lu_disk_vbox.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_lu_disk_vbox.o istgt_lu_disk_vbox.c --- istgt_lu_dvd.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_lu_dvd.o istgt_lu_dvd.c In file included from istgt_lu_dvd.c:54: istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_inquiry': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:704:9: note: in expansion of macro 'BGET8' evpd = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:711:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:711:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:736:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:736:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:759:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:759:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:772:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:772:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:775:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:775:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:776:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:776:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:799:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:799:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:802:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:802:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:803:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:803:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:830:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:830:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:833:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:833:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:834:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:834:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:852:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:852:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:855:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:855:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:856:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:856:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:874:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:874:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:877:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:877:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:878:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:878:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:903:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:903:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:906:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:906:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:907:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:907:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:930:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:930:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:933:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:933:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:934:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:934:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:961:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:961:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:987:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:987:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1023:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1023:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1040:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1040:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1058:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1058:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1098:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1098:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1101:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1101:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1102:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1102:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1140:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1140:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1148:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1148:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_sense_page': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1267:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1267:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1270:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1270:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1271:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1271:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1275:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1275:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1278:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1278:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1280:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1280:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1283:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1283:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1285:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1285:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1362:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 3); /* DVD-ROM read */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1362:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 3); /* DVD-ROM read */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_sense6': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1430:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1430:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_sense10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1507:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1507:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1608:7: note: in expansion of macro 'BGET8' ps = BGET8(&data[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1609:8: note: in expansion of macro 'BGET8' spf = BGET8(&data[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1647:10: note: in expansion of macro 'BGET8' wce = BGET8(&data[2], 2); /* WCE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1648:10: note: in expansion of macro 'BGET8' rcd = BGET8(&data[2], 0); /* RCD */ ^~~~~ istgt_lu_dvd.c:1598:6: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int ps, spf, page, subpage; ^~ In file included from istgt_lu_dvd.c:54: istgt_lu_dvd.c: In function 'istgt_lu_dvd_get_feature_descriptor': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1699:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1700:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1708:4: note: in expansion of macro 'BSET8' BSET8(&cp[2], 0); /* CurrentP(0)=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1717:4: note: in expansion of macro 'BSET8' BSET8(&cp[2], 0); /* CurrentP(0)=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1731:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1732:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1738:3: note: in expansion of macro 'BCLR8' BCLR8(&data[8], 0); /* DBE=0*/ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1749:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1750:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1755:3: note: in expansion of macro 'BSET8' BSET8(&data[4], 3); /* eject via START/STOP YES */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1756:3: note: in expansion of macro 'BSET8' BSET8(&data[4], 0); /* locking YES */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1767:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1768:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1776:3: note: in expansion of macro 'BCLR8' BCLR8(&data[10], 0); /* PP=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1787:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1788:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1800:3: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 1); /* Persistent=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1802:4: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1804:4: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 0); /* Current=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1809:3: note: in expansion of macro 'BCLR8' BCLR8(&data[4], 7); /* not support DAP */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1810:3: note: in expansion of macro 'BCLR8' BCLR8(&data[4], 1); /* not support C2 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1811:3: note: in expansion of macro 'BCLR8' BCLR8(&data[4], 0); /* not support CD-Text */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1822:3: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 1); /* Persistent=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1824:4: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1826:4: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 0); /* Current=0 */ ^~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_get_configuration': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1872:8: note: in expansion of macro 'BGET8' if (BGET8(&cp[2], 0) == 1) { ^~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_get_event_status_notification': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1925:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1925:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1952:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1952:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1974:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1974:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1981:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1981:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1991:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1991:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1999:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1999:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2006:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2006:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2024:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2024:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2070:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x00, 6, 2); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2070:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x00, 6, 2); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2071:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], (selected_slot & 0x1f), 4, 5); /* slot low bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2071:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], (selected_slot & 0x1f), 4, 5); /* slot low bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2074:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], (selected_slot & 0xe0) >> 5, 2, 3); /* slot high bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2074:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], (selected_slot & 0xe0) >> 5, 2, 3); /* slot high bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2095:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 0); /* disc changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2095:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 0); /* disc changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2104:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 0, 0); /* disc not changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2104:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 0, 0); /* disc not changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2108:2: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* CWP=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2108:2: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* CWP=0 */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_read_disc_information': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2367:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0, 4, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2367:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0, 4, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2368:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x03, 3, 2); /* Complete Session */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2368:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x03, 3, 2); /* Complete Session */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2369:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x02, 1, 2); /* Finalized Disc */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2369:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x02, 1, 2); /* Finalized Disc */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2380:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 6); /* Disc Bar Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2380:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 6); /* Disc Bar Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2381:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 5); /* Unrestricted Use Disc */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2381:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 5); /* Unrestricted Use Disc */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2382:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 4); /* Disc Application Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2382:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 4); /* Disc Application Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2383:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[7], 0, 1, 2); /* BG Format Status */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2383:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[7], 0, 1, 2); /* BG Format Status */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2493:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 0x01, 3, 4); /* part 1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2493:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 0x01, 3, 4); /* part 1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2496:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0x0f, 3, 4); /* Not Specified */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2496:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0x0f, 3, 4); /* Not Specified */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2499:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 4, 1); /* Parallel Track Path */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2499:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 4, 1); /* Parallel Track Path */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2500:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 3, 4); /* embossed data */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2500:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 3, 4); /* embossed data */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2503:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0x00, 3, 4); /* 0.74 um/track */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2503:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0x00, 3, 4); /* 0.74 um/track */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2585:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 4, 5, 3); /* # of vendor */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2585:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 4, 5, 3); /* # of vendor */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2586:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 5, 2, 3); /* # of user */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2586:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 5, 2, 3); /* # of user */ ^~~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2948:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2948:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3084:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[4], 7, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3085:9: note: in expansion of macro 'BGET8' fl = BGET8(&cdb[4], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3086:11: note: in expansion of macro 'BGET8' loej = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3087:12: note: in expansion of macro 'BGET8' start = BGET8(&cdb[4], 0); ^~~~~ istgt_lu_dvd.c:3082:12: warning: variable 'fl' set but not used [-Wunused-but-set-variable] int pc, fl, loej, start; ^~ istgt_lu_dvd.c:3082:8: warning: variable 'pc' set but not used [-Wunused-but-set-variable] int pc, fl, loej, start; ^~ In file included from istgt_lu_dvd.c:54: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3151:17: note: in expansion of macro 'BGET8' persistent = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3152:14: note: in expansion of macro 'BGET8' prevent = BGET8(&cdb[4], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3212:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3213:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_dvd.c:3210:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_dvd.c:3210:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_dvd.c:3210:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_dvd.c:54: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3254:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3255:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3273:11: note: in expansion of macro 'BGET8' llba = BGET8(&data[4], 0); /* Long LBA */ ^~~~~ istgt_lu_dvd.c:3251:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_dvd.c:3251:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_dvd.c:3251:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_dvd.c:54: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3308:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3309:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3310:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3348:12: note: in expansion of macro 'BGET8' llbaa = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3349:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3350:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3351:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3397:11: note: in expansion of macro 'BGET8' desc = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3470:9: note: in expansion of macro 'BGET8W' rt = BGET8W(&cdb[1], 1, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3513:13: note: in expansion of macro 'BGET8' polled = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3561:9: note: in expansion of macro 'BGET8W' dt = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_lu_dvd.c:3552:17: warning: variable 'type' set but not used [-Wunused-but-set-variable] int dt, mnd, type; ^~~~ istgt_lu_dvd.c:3552:12: warning: variable 'mnd' set but not used [-Wunused-but-set-variable] int dt, mnd, type; ^~~ istgt_lu_dvd.c:3552:8: warning: variable 'dt' set but not used [-Wunused-but-set-variable] int dt, mnd, type; ^~ In file included from istgt_lu_dvd.c:54: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3620:10: note: in expansion of macro 'BGET8' msf = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3621:13: note: in expansion of macro 'BGET8W' format = BGET8W(&cdb[2], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3663:15: note: in expansion of macro 'BGET8W' datatype = BGET8W(&cdb[1], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3704:16: note: in expansion of macro 'BGET8W' mediatype = BGET8W(&cdb[1], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3707:11: note: in expansion of macro 'BGET8W' agid = BGET8W(&cdb[10], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3765:11: note: in expansion of macro 'BGET8W' agid = BGET8W(&cdb[10], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3766:16: note: in expansion of macro 'BGET8W' keyformat = BGET8W(&cdb[10], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3822:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3823:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_lu_dvd.c:3807:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ istgt_lu_dvd.c:3807:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ In file included from istgt_lu_dvd.c:54: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3856:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3857:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_lu_dvd.c:3841:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ istgt_lu_dvd.c:3841:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ --- istgt_lu_tape.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_lu_tape.o istgt_lu_tape.c istgt_lu_tape.c: In function 'istgt_lu_tape_write_eof': istgt_lu_tape.c:479:32: warning: variable 'version' set but not used [-Wunused-but-set-variable] uint64_t lbpos, offset, prev, version, marklen; ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_write_bot': istgt_lu_tape.c:556:32: warning: variable 'version' set but not used [-Wunused-but-set-variable] uint64_t lbpos, offset, prev, version, marklen; ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_write_eod': istgt_lu_tape.c:620:6: warning: variable 'index_i' set but not used [-Wunused-but-set-variable] int index_i; ^~~~~~~ istgt_lu_tape.c:619:32: warning: variable 'version' set but not used [-Wunused-but-set-variable] uint64_t lbpos, offset, prev, version, marklen; ^~~~~~~ In file included from istgt_lu_tape.c:57: istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_inquiry': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:1596:9: note: in expansion of macro 'BGET8' evpd = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1603:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1603:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1647:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1647:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1670:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1670:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1683:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_ASCII, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1683:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_ASCII, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1686:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1686:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1687:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1687:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1713:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1713:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1716:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1716:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1717:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1717:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1738:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1738:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1741:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1741:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1742:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1742:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1763:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1763:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1766:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1766:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1767:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1767:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1983:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1983:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2009:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2009:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2045:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2045:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2062:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2062:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2080:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2080:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2120:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2120:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2123:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2123:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2124:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2124:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2154:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2154:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2174:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2174:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2198:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2198:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2217:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2217:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2250:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2250:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2422:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE data compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2422:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE data compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2423:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC data compression capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2423:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC data compression capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2424:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE data decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2424:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE data decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2425:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED report exception on decompression */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2425:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED report exception on decompression */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2432:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE=1 compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2432:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE=1 compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2434:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 7); /* DCE=0 compression disable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2434:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 7); /* DCE=0 compression disable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2437:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC=1 support compression */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2437:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC=1 support compression */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2438:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE=1 decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2438:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE=1 decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2439:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED=0 not support */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2439:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED=0 not support */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2463:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 0, 5); /* report setmarks not support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2463:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 0, 5); /* report setmarks not support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2465:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 1, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2465:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 1, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2467:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2467:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2468:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2468:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 3); ^~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_mode_sense6': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2601:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2601:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2607:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2607:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_mode_sense10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2681:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2681:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2687:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[3], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2687:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[3], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2783:7: note: in expansion of macro 'BGET8' ps = BGET8(&data[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2784:8: note: in expansion of macro 'BGET8' spf = BGET8(&data[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2825:10: note: in expansion of macro 'BGET8' dce = BGET8(&data[2], 7); /* DCE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2826:10: note: in expansion of macro 'BGET8' dde = BGET8(&data[3], 7); /* DDE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:2827:10: note: in expansion of macro 'BGET8W' red = BGET8W(&data[3], 6, 2); /* RED */ ^~~~~~ istgt_lu_tape.c:2816:23: warning: variable 'decompalgo' set but not used [-Wunused-but-set-variable] uint32_t compalgo, decompalgo; ^~~~~~~~~~ istgt_lu_tape.c:2815:18: warning: variable 'red' set but not used [-Wunused-but-set-variable] int dce, dde, red; ^~~ istgt_lu_tape.c: In function 'istgt_lu_tape_shrink_media': istgt_lu_tape.c:2913:11: warning: variable 'marklen' set but not used [-Wunused-but-set-variable] uint64_t marklen; ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_space': istgt_lu_tape.c:3321:6: warning: variable 'found_bot' set but not used [-Wunused-but-set-variable] int found_bot = 0, found_eom = 0; ^~~~~~~~~ In file included from istgt_lu_tape.c:57: istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_read_position': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3565:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 7); /* BOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3568:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 6); /* EOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3571:3: note: in expansion of macro 'BSET8' BSET8(&data[0], 5); /* LOCU=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3573:3: note: in expansion of macro 'BSET8' BSET8(&data[0], 4); /* BYCU=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3577:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 0); /* PERR=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3600:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 7); /* BOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3603:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 6); /* EOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3607:3: note: in expansion of macro 'BSET8' BSET8(&data[0], 3); /* MPU=1 */ ^~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_build_sense_data': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3656:3: note: in expansion of macro 'BSET8' BSET8(&cp[2], 7); /* FILEMARK=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3659:3: note: in expansion of macro 'BSET8' BSET8(&cp[2], 6); /* EOM=1 */ ^~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_variable_lbread': istgt_lu_tape.c:3727:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ In file included from istgt_lu_tape.c:57: istgt_lu_tape.c: In function 'istgt_lu_tape_fixed_lbread': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3966:4: note: in expansion of macro 'BSET8' BSET8(&lu_cmd->sense_data[2+2], 5); /* ILI=1 */ ^~~~~ istgt_lu_tape.c:3859:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_variable_lbwrite': istgt_lu_tape.c:4020:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_fixed_lbwrite': istgt_lu_tape.c:4148:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ In file included from istgt_lu_tape.c:57: istgt_lu_tape.c: In function 'istgt_lu_tape_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:4388:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:4388:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4537:11: note: in expansion of macro 'BGET8' hold = BGET8(&cdb[4], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4538:10: note: in expansion of macro 'BGET8' eot = BGET8(&cdb[4], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4539:12: note: in expansion of macro 'BGET8' reten = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4540:11: note: in expansion of macro 'BGET8' load = BGET8(&cdb[4], 0); ^~~~~ istgt_lu_tape.c:4535:19: warning: variable 'reten' set but not used [-Wunused-but-set-variable] int hold, eot, reten, load; ^~~~~ istgt_lu_tape.c:4535:14: warning: variable 'eot' set but not used [-Wunused-but-set-variable] int hold, eot, reten, load; ^~~ In file included from istgt_lu_tape.c:57: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4604:17: note: in expansion of macro 'BGET8' persistent = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4605:14: note: in expansion of macro 'BGET8' prevent = BGET8(&cdb[4], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4668:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4669:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_tape.c:4666:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_tape.c:4666:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_tape.c:4666:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_tape.c:57: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4716:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4717:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4735:11: note: in expansion of macro 'BGET8' llba = BGET8(&data[4], 0); /* Long LBA */ ^~~~~ istgt_lu_tape.c:4713:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_tape.c:4713:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_tape.c:4713:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_tape.c:57: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4782:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4783:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4784:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4822:12: note: in expansion of macro 'BGET8' llbaa = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4823:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4824:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4825:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4886:11: note: in expansion of macro 'BGET8' desc = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4960:12: note: in expansion of macro 'BGET8' xlong = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:5008:11: note: in expansion of macro 'BGET8W' code = BGET8W(&cdb[1], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5040:11: note: in expansion of macro 'BGET8' wsmk = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:5147:9: note: in expansion of macro 'BGET8W' sa = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5185:9: note: in expansion of macro 'BGET8' bt = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5186:9: note: in expansion of macro 'BGET8' cp = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_tape.c:5176:16: warning: variable 'partition' set but not used [-Wunused-but-set-variable] int bt, cp, partition; ^~~~~~~~~ istgt_lu_tape.c:5176:8: warning: variable 'bt' set but not used [-Wunused-but-set-variable] int bt, cp, partition; ^~ In file included from istgt_lu_tape.c:57: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5231:11: note: in expansion of macro 'BGET8' sili = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5232:12: note: in expansion of macro 'BGET8' fixed = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5351:11: note: in expansion of macro 'BGET8' sili = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5352:12: note: in expansion of macro 'BGET8' fixed = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_tape.c:5342:13: warning: variable 'rest' set but not used [-Wunused-but-set-variable] uint64_t rest; ^~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_mode_select_page': istgt_lu_tape.c:2834:14: warning: this statement may fall through [-Wimplicit-fallthrough=] compalgo = TAPE_COMP_ALGORITHM; ^ istgt_lu_tape.c:2835:4: note: here case 0x03: /* ALDC 512 */ ^~~~ --- istgt_lu_pass.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_lu_pass.o istgt_lu_pass.c In file included from istgt_lu_pass.c:51: istgt_lu_pass.c: In function 'istgt_lu_pass_parse_sense_key': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:118:8: note: in expansion of macro 'BGET8W' rsp = BGET8W(&sense_data[0], 6, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:121:8: note: in expansion of macro 'BGET8W' sk = BGET8W(&sense_data[2], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:126:8: note: in expansion of macro 'BGET8W' sk = BGET8W(&sense_data[2], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:131:8: note: in expansion of macro 'BGET8W' sk = BGET8W(&sense_data[2], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:136:8: note: in expansion of macro 'BGET8W' sk = BGET8W(&sense_data[2], 3, 4); ^~~~~~ istgt_lu_pass.c: In function 'istgt_lu_pass_set_modesense': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_pass.c:267:2: note: in expansion of macro 'BDADD8' BDADD8(&cdb[1], 0, 3); /* DBD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_pass.c:267:2: note: in expansion of macro 'BDADD8' BDADD8(&cdb[1], 0, 3); /* DBD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_pass.c:270:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x3f, 5, 6); /* PAGE CODE */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_pass.c:270:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x3f, 5, 6); /* PAGE CODE */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_pass.c:374:3: note: in expansion of macro 'BDADD8' BDADD8(&cdb[1], 0, 3); /* DBD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_pass.c:374:3: note: in expansion of macro 'BDADD8' BDADD8(&cdb[1], 0, 3); /* DBD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_pass.c:377:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x3f, 5, 6); /* PAGE CODE */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_pass.c:377:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x3f, 5, 6); /* PAGE CODE */ ^~~~~~~ istgt_lu_pass.c: In function 'istgt_lu_pass_set_capacity': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:824:8: note: in expansion of macro 'BGET8W' pq = BGET8W(&spec->inq_standard[0], 7, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:825:8: note: in expansion of macro 'BGET8W' pd = BGET8W(&spec->inq_standard[0], 4, 5); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:827:9: note: in expansion of macro 'BGET8W' rmb = BGET8W(&spec->inq_standard[1], 7, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:829:9: note: in expansion of macro 'BGET8W' ver = BGET8W(&spec->inq_standard[2], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:831:9: note: in expansion of macro 'BGET8W' fmt = BGET8W(&spec->inq_standard[3], 3, 4); ^~~~~~ istgt_lu_pass.c: In function 'istgt_lu_pass_do_cam': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1169:8: note: in expansion of macro 'BGET8W' if (BGET8W(&sense_data[2+0], 6, 7) == 0x70 ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1170:8: note: in expansion of macro 'BGET8W' || BGET8W(&sense_data[2+0], 6, 7) == 0x71) { ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1192:8: note: in expansion of macro 'BGET8W' if (BGET8W(&sense_data[2+0], 6, 7) == 0x70 ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1193:8: note: in expansion of macro 'BGET8W' || BGET8W(&sense_data[2+0], 6, 7) == 0x71) { ^~~~~~ istgt_lu_pass.c: In function 'istgt_lu_pass_do_cam_seg': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1430:9: note: in expansion of macro 'BGET8W' if (BGET8W(&sense_data[2+0], 6, 7) == 0x70 ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1431:12: note: in expansion of macro 'BGET8W' || BGET8W(&sense_data[2+0], 6, 7) == 0x71) { ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1453:9: note: in expansion of macro 'BGET8W' if (BGET8W(&sense_data[2+0], 6, 7) == 0x70 ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_pass.c:1454:12: note: in expansion of macro 'BGET8W' || BGET8W(&sense_data[2+0], 6, 7) == 0x71) { ^~~~~~ istgt_lu_pass.c: In function 'istgt_lu_pass_reset': istgt_lu_pass.c:1521:17: warning: variable 'spec' set but not used [-Wunused-but-set-variable] ISTGT_LU_PASS *spec; ^~~~ In file included from istgt_lu_pass.c:51: istgt_lu_pass.c: In function 'istgt_lu_pass_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_pass.c:1600:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_pass.c:1600:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ --- istgt_lu_ctl.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_lu_ctl.o istgt_lu_ctl.c --- istgt_log.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_log.o istgt_log.c --- istgt_conf.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_conf.o istgt_conf.c --- istgt_sock.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_sock.o istgt_sock.c --- istgt_misc.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_misc.o istgt_misc.c --- istgt_queue.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_queue.o istgt_queue.c --- istgt_crc32c.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_crc32c.o istgt_crc32c.c --- istgt_md5.o --- --- istgtcontrol.o --- --- istgt_md5.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgt_md5.o istgt_md5.c --- istgtcontrol.o --- cc -DHAVE_CONFIG_H -pipe -I/usr/local/include -O2 -fno-strict-aliasing -fstack-protector -Wall -Wextra -DDEBUG -fno-strict-aliasing -Wstrict-aliasing -Wformat=2 -Wreturn-type -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings -I.. -I. -c -o istgtcontrol.o istgtcontrol.c --- istgtcontrol --- cc -Wl,-rpath,/usr/local/lib -o istgtcontrol istgtcontrol.o istgt_conf.o istgt_log.o istgt_sock.o istgt_misc.o istgt_md5.o -lcam -lmd -lpthread --- istgt --- cc -Wl,-rpath,/usr/local/lib -o istgt istgt.o istgt_iscsi.o istgt_iscsi_param.o istgt_lu.o istgt_lu_disk.o istgt_lu_disk_vbox.o istgt_lu_dvd.o istgt_lu_tape.o istgt_lu_pass.o istgt_lu_ctl.o istgt_log.o istgt_conf.o istgt_sock.o istgt_misc.o istgt_queue.o istgt_crc32c.o istgt_md5.o -lcam -lmd -lpthread --- istgt.large.conf --- --- istgt.conf --- --- istgt.sh --- --- istgt.large.conf --- /usr/bin/sed -e 's:%%SYSCONFDIR%%:/usr/local/etc:g' -e 's:%%CONFIGDIR%%:/usr/local/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' < istgt.large.conf.in > istgt.large.conf --- istgt.conf --- /usr/bin/sed -e 's:%%SYSCONFDIR%%:/usr/local/etc:g' -e 's:%%CONFIGDIR%%:/usr/local/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' < istgt.conf.in > istgt.conf --- istgt.sh --- /usr/bin/sed -e 's:%%SYSCONFDIR%%:/usr/local/etc:g' -e 's:%%CONFIGDIR%%:/usr/local/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' -e 's:%%BINDIR%%:/usr/local/bin:g' -e 's:%%SBINDIR%%:/usr/local/sbin:g' < istgt.sh.in > istgt.sh --- istgt.1 --- /usr/bin/sed -e 's:%%PREFIX%%:/usr/local:g' -e 's:%%CONFIGDIR%%:/usr/local/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' < istgt.1.in > istgt.1 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> istgt-20150713 depends on file: /usr/local/lib/libcrypto.so.44 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for istgt-20150713 ===> Generating temporary packing list for subdir in src etc doc; do (cd $subdir; /usr/bin/make install) || exit $?; done /bin/mkdir -p /construction/net/istgt/stage/usr/local/bin /usr/bin/install -c -s -m 0755 istgt /construction/net/istgt/stage/usr/local/bin /usr/bin/install -c -s -m 0755 istgtcontrol /construction/net/istgt/stage/usr/local/bin /bin/mkdir -p /construction/net/istgt/stage/usr/local/etc/istgt if [ -n "istgt.sh" ] && [ -f "istgt.sh" ]; then if [ -n "/construction/net/istgt/stage/usr/local/etc/rc.d" ] && [ ! -d "/construction/net/istgt/stage/usr/local/etc/rc.d" ]; then /bin/mkdir -p /construction/net/istgt/stage/usr/local/etc/rc.d; fi fi /usr/bin/install -c -m 0644 istgt.conf /construction/net/istgt/stage/usr/local/etc/istgt/istgt.conf.sample /usr/bin/install -c -m 0644 istgt.large.conf /construction/net/istgt/stage/usr/local/etc/istgt/istgt.large.conf.sample /usr/bin/install -c -m 0600 auth.conf /construction/net/istgt/stage/usr/local/etc/istgt/auth.conf.sample /usr/bin/install -c -m 0600 istgtcontrol.conf /construction/net/istgt/stage/usr/local/etc/istgt/istgtcontrol.conf.sample if [ "xistgt.sh" != "x" -a -f "istgt.sh" ]; then /usr/bin/install -c -m 0555 istgt.sh /construction/net/istgt/stage/usr/local/etc/rc.d/istgt; fi /bin/mkdir -p /construction/net/istgt/stage/usr/local/man/man1 /usr/bin/install -c -m 0644 istgt.1 /construction/net/istgt/stage/usr/local/man/man1/ rm -f /construction/net/istgt/stage/usr/local/man/man1/istgt.1.gz gzip -9 /construction/net/istgt/stage/usr/local/man/man1/istgt.1 install -m 0644 /construction/net/istgt/istgt-20150713/ChangeLog.jp /construction/net/istgt/istgt-20150713/README /construction/net/istgt/istgt-20150713/doc/QUICKSTART /construction/net/istgt/istgt-20150713/doc/QUICKSTART.jp /construction/net/istgt/stage/usr/local/share/doc/istgt ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for istgt-20150713 file sizes/checksums [15]: . done packing files [15]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 01:56:39 UTC Duration: 00:00:26