+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/istgt-20150713nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/istgt-20150713nb2/work.log ===> Building for istgt-20150713nb2 --- all --- for subdir in src etc doc; do (cd $subdir; /opt/pkg/bin/bmake all) || exit $?; done --- stamp-depend --- --- istgt.o --- --- istgt_iscsi.o --- --- istgt_iscsi_param.o --- --- istgt.o --- gcc -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -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 -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -I.. -I. -c -o istgt.o istgt.c --- istgt_iscsi_param.o --- gcc -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -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 -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -I.. -I. -c -o istgt_iscsi_param.o istgt_iscsi_param.c --- istgt_iscsi.o --- gcc -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -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 -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -I.. -I. -c -o istgt_iscsi.o istgt_iscsi.c --- stamp-depend --- /opt/pkg/bin/bmake depend --- depend --- if [ "x" != "x" ]; then -MM -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -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 -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -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 touch stamp-depend --- istgt_lu.o --- gcc -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -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 -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -I.. -I. -c -o istgt_lu.o istgt_lu.c --- istgt_iscsi.o --- istgt_iscsi.c: In function 'istgt_iscsi_read_pdu': istgt_iscsi.c:708:27: error: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'ISCSI_AHS *' {aka 'struct iscsi_ahs_t *'} [-Wincompatible-pointer-types] 708 | iovec[0].iov_base = pdu->ahs; | ^ istgt_iscsi.c:712:27: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign] 712 | iovec[1].iov_base = pdu->header_digest; | ^ istgt_iscsi.c:744:27: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign] 744 | iovec[2].iov_base = pdu->data; | ^ istgt_iscsi.c:748:27: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign] 748 | iovec[3].iov_base = pdu->data_digest; | ^ 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:840:18: note: in expansion of macro 'BGET8W' 840 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:1192:18: note: in expansion of macro 'BGET8W' 1192 | opcode = BGET8W(&cp[0], 5, 6); | ^~~~~~ istgt_iscsi.c:1199:27: error: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'ISCSI_BHS *' {aka 'struct iscsi_bhs_t *'} [-Wincompatible-pointer-types] 1199 | iovec[0].iov_base = &pdu->bhs; | ^ istgt_iscsi.c:1204:27: error: assignment to 'caddr_t' {aka 'char *'} from incompatible pointer type 'ISCSI_AHS *' {aka 'struct iscsi_ahs_t *'} [-Wincompatible-pointer-types] 1204 | iovec[1].iov_base = pdu->ahs; | ^ istgt_iscsi.c:1209:27: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign] 1209 | iovec[2].iov_base = pdu->header_digest; | ^ istgt_iscsi.c:1235:27: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign] 1235 | iovec[3].iov_base = pdu->data; | ^ istgt_iscsi.c:1240:27: warning: pointer targets in assignment from 'uint8_t *' {aka 'unsigned char *'} to 'caddr_t' {aka 'char *'} differ in signedness [-Wpointer-sign] 1240 | iovec[4].iov_base = pdu->data_digest; | ^ istgt_iscsi.c: In function 'istgt_iscsi_reject': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 2167 | BDADD8W(&rsp[1], 1, 7, 1); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 2167 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:2362:17: note: in expansion of macro 'BGET8' 2362 | T_bit = BGET8(&cp[1], 7); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:2363:17: note: in expansion of macro 'BGET8' 2363 | C_bit = BGET8(&cp[1], 6); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:2364:15: note: in expansion of macro 'BGET8W' 2364 | CSG = BGET8W(&cp[1], 3, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:2365:15: note: in expansion of macro 'BGET8W' 2365 | NSG = BGET8W(&cp[1], 1, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:2955:9: note: in expansion of macro 'BDADD8' 2955 | BDADD8(&rsp[1], T_bit, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:2955:9: note: in expansion of macro 'BDADD8' 2955 | BDADD8(&rsp[1], T_bit, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:2956:9: note: in expansion of macro 'BDADD8' 2956 | BDADD8(&rsp[1], C_bit, 6); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:2956:9: note: in expansion of macro 'BDADD8' 2956 | BDADD8(&rsp[1], C_bit, 6); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 2957 | BDADD8W(&rsp[1], CSG, 3, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 2957 | BDADD8W(&rsp[1], CSG, 3, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 2958 | BDADD8W(&rsp[1], NSG, 1, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 2958 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3047:17: note: in expansion of macro 'BGET8' 3047 | I_bit = BGET8(&cp[0], 7); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3048:17: note: in expansion of macro 'BGET8' 3048 | F_bit = BGET8(&cp[1], 7); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3049:17: note: in expansion of macro 'BGET8' 3049 | C_bit = BGET8(&cp[1], 6); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3151:9: note: in expansion of macro 'BDADD8' 3151 | BDADD8(&rsp[1], F_bit, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3151:9: note: in expansion of macro 'BDADD8' 3151 | BDADD8(&rsp[1], F_bit, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3152:9: note: in expansion of macro 'BDADD8' 3152 | BDADD8(&rsp[1], C_bit, 6); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3152:9: note: in expansion of macro 'BDADD8' 3152 | BDADD8(&rsp[1], C_bit, 6); | ^~~~~~ istgt_iscsi.c:3029:21: warning: variable 'iiqn' set but not used [-Wunused-but-set-variable] 3029 | const char *iiqn; | ^~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_logout': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:3221:18: note: in expansion of macro 'BGET8W' 3221 | reason = BGET8W(&cp[1], 6, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 3271 | BDADD8W(&rsp[1], 1, 7, 1); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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:9: note: in expansion of macro 'BDADD8W' 3271 | BDADD8W(&rsp[1], 1, 7, 1); | ^~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_transfer_in_internal': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3437:17: note: in expansion of macro 'BDADD8' 3437 | BDADD8(&rsp[1], F_bit, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3437:17: note: in expansion of macro 'BDADD8' 3437 | BDADD8(&rsp[1], F_bit, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3438:17: note: in expansion of macro 'BDADD8' 3438 | BDADD8(&rsp[1], 0, 6); // A_bit Acknowledge | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3438:17: note: in expansion of macro 'BDADD8' 3438 | BDADD8(&rsp[1], 0, 6); // A_bit Acknowledge | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3440:25: note: in expansion of macro 'BDADD8' 3440 | BDADD8(&rsp[1], O_bit, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3440:25: note: in expansion of macro 'BDADD8' 3440 | BDADD8(&rsp[1], O_bit, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3441:25: note: in expansion of macro 'BDADD8' 3441 | BDADD8(&rsp[1], U_bit, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3441:25: note: in expansion of macro 'BDADD8' 3441 | BDADD8(&rsp[1], U_bit, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3443:25: note: in expansion of macro 'BDADD8' 3443 | BDADD8(&rsp[1], 0, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3443:25: note: in expansion of macro 'BDADD8' 3443 | BDADD8(&rsp[1], 0, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3444:25: note: in expansion of macro 'BDADD8' 3444 | BDADD8(&rsp[1], 0, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3444:25: note: in expansion of macro 'BDADD8' 3444 | BDADD8(&rsp[1], 0, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3446:17: note: in expansion of macro 'BDADD8' 3446 | BDADD8(&rsp[1], S_bit, 0); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3446:17: note: in expansion of macro 'BDADD8' 3446 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3529:17: note: in expansion of macro 'BGET8' 3529 | I_bit = BGET8(&cp[0], 6); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3530:17: note: in expansion of macro 'BGET8' 3530 | F_bit = BGET8(&cp[1], 7); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3531:17: note: in expansion of macro 'BGET8' 3531 | R_bit = BGET8(&cp[1], 6); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3532:17: note: in expansion of macro 'BGET8' 3532 | W_bit = BGET8(&cp[1], 5); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:3533:20: note: in expansion of macro 'BGET8W' 3533 | Attr_bit = BGET8W(&cp[1], 2, 3); | ^~~~~~ --- istgt_lu.o --- istgt_lu.c: In function 'istgt_lu_parse_size': istgt_lu.c:799:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 799 | case 'Z': val1 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:800:17: note: here 800 | case 'E': val1 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:800:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 800 | case 'E': val1 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:801:17: note: here 801 | case 'P': val1 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:801:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 801 | case 'P': val1 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:802:17: note: here 802 | case 'T': val1 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:802:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 802 | case 'T': val1 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:803:17: note: here 803 | case 'G': val1 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:803:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 803 | case 'G': val1 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:804:17: note: here 804 | case 'M': val1 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:804:32: warning: this statement may fall through [-Wimplicit-fallthrough=] 804 | case 'M': val1 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ --- istgt_iscsi.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3766:9: note: in expansion of macro 'BDADD8' 3766 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ --- istgt_lu.o --- istgt_lu.c:805:17: note: here 805 | case 'K': val1 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:820:48: warning: this statement may fall through [-Wimplicit-fallthrough=] 820 | case 'Z': val2 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:821:33: note: here 821 | case 'E': val2 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:821:48: warning: this statement may fall through [-Wimplicit-fallthrough=] 821 | case 'E': val2 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ --- istgt_iscsi.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3766:9: note: in expansion of macro 'BDADD8' 3766 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ --- istgt_lu.o --- istgt_lu.c:822:33: note: here 822 | case 'P': val2 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:822:48: warning: this statement may fall through [-Wimplicit-fallthrough=] 822 | case 'P': val2 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:823:33: note: here 823 | case 'T': val2 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:823:48: warning: this statement may fall through [-Wimplicit-fallthrough=] 823 | case 'T': val2 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:824:33: note: here 824 | case 'G': val2 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:824:48: warning: this statement may fall through [-Wimplicit-fallthrough=] 824 | case 'G': val2 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ --- istgt_iscsi.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3767:9: note: in expansion of macro 'BDADD8' 3767 | BDADD8(&rsp[1], o_bit, 4); | ^~~~~~ --- istgt_lu.o --- istgt_lu.c:825:33: note: here 825 | case 'M': val2 *= (uint64_t) 1024ULL; | ^~~~ istgt_lu.c:825:48: warning: this statement may fall through [-Wimplicit-fallthrough=] 825 | case 'M': val2 *= (uint64_t) 1024ULL; | ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:826:33: note: here 826 | case 'K': val2 *= (uint64_t) 1024ULL; | ^~~~ --- istgt_iscsi.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3767:9: note: in expansion of macro 'BDADD8' 3767 | BDADD8(&rsp[1], o_bit, 4); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3768:9: note: in expansion of macro 'BDADD8' 3768 | BDADD8(&rsp[1], u_bit, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3768:9: note: in expansion of macro 'BDADD8' 3768 | BDADD8(&rsp[1], u_bit, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3769:9: note: in expansion of macro 'BDADD8' 3769 | BDADD8(&rsp[1], O_bit, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3769:9: note: in expansion of macro 'BDADD8' 3769 | BDADD8(&rsp[1], O_bit, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3770:9: note: in expansion of macro 'BDADD8' 3770 | BDADD8(&rsp[1], U_bit, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3770:9: note: in expansion of macro 'BDADD8' 3770 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3890:9: note: in expansion of macro 'BDADD8' 3890 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3890:9: note: in expansion of macro 'BDADD8' 3890 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3891:9: note: in expansion of macro 'BDADD8' 3891 | BDADD8(&rsp[1], o_bit, 4); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3891:9: note: in expansion of macro 'BDADD8' 3891 | BDADD8(&rsp[1], o_bit, 4); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3892:9: note: in expansion of macro 'BDADD8' 3892 | BDADD8(&rsp[1], u_bit, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3892:9: note: in expansion of macro 'BDADD8' 3892 | BDADD8(&rsp[1], u_bit, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3893:9: note: in expansion of macro 'BDADD8' 3893 | BDADD8(&rsp[1], O_bit, 2); | ^~~~~~ --- istgt_lu_disk.o --- --- istgt_iscsi.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3893:9: note: in expansion of macro 'BDADD8' 3893 | BDADD8(&rsp[1], O_bit, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3894:9: note: in expansion of macro 'BDADD8' 3894 | BDADD8(&rsp[1], U_bit, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:3894:9: note: in expansion of macro 'BDADD8' 3894 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:3955:17: note: in expansion of macro 'BGET8' 3955 | I_bit = BGET8(&cp[0], 6); | ^~~~~ --- istgt_lu_disk.o --- gcc -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -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 -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -I.. -I. -c -o istgt_lu_disk.o istgt_lu_disk.c --- istgt_iscsi.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:3956:20: note: in expansion of macro 'BGET8W' 3956 | function = BGET8W(&cp[1], 6, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:4077:9: note: in expansion of macro 'BDADD8' 4077 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:4077:9: note: in expansion of macro 'BDADD8' 4077 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_iscsi.c:3943:18: warning: variable 'ExpDataSN' set but not used [-Wunused-but-set-variable] 3943 | uint32_t ExpDataSN; | ^~~~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_nopout': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:4137:17: note: in expansion of macro 'BGET8' 4137 | I_bit = BGET8(&cp[0], 6); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:4219:9: note: in expansion of macro 'BDADD8' 4219 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:4219:9: note: in expansion of macro 'BDADD8' 4219 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_data': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:4493:17: note: in expansion of macro 'BGET8' 4493 | F_bit = BGET8(&cp[1], 7); | ^~~~~ istgt_iscsi.c:4459:18: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] 4459 | uint64_t current_lun; | ^~~~~~~~~~~ istgt_iscsi.c:4458:18: warning: variable 'lun' set but not used [-Wunused-but-set-variable] 4458 | uint64_t lun; | ^~~ istgt_iscsi.c: In function 'istgt_iscsi_send_r2t': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:4569:9: note: in expansion of macro 'BDADD8' 4569 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:4569:9: note: in expansion of macro 'BDADD8' 4569 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:4767:37: note: in expansion of macro 'BGET8W' 4767 | immediate = BGET8W(&data_pdu.bhs.opcode, 6, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:4768:34: note: in expansion of macro 'BGET8W' 4768 | opcode = BGET8W(&data_pdu.bhs.opcode, 5, 6); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:4771:33: note: in expansion of macro 'BGET8' 4771 | F_bit = BGET8(&cp[1], 7); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:4942:25: note: in expansion of macro 'BGET8' 4942 | F_bit = BGET8(&cp[1], 7); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_iscsi.c:4949:25: note: in expansion of macro 'BGET8' 4949 | F_bit = BGET8(&cp[1], 7); | ^~~~~ istgt_iscsi.c:4627:13: warning: variable 'r2t_offset' set but not used [-Wunused-but-set-variable] 4627 | int r2t_offset; | ^~~~~~~~~~ istgt_iscsi.c:4623:13: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] 4623 | int immediate, opcode; | ^~~~~~~~~ istgt_iscsi.c:4608:18: warning: variable 'lun' set but not used [-Wunused-but-set-variable] 4608 | uint64_t lun; | ^~~ istgt_iscsi.c:4607:18: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] 4607 | uint64_t current_lun; | ^~~~~~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_send_nopin': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:5001:9: note: in expansion of macro 'BDADD8' 5001 | BDADD8(&rsp[1], 1, 7); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_iscsi.c:5001:9: note: in expansion of macro 'BDADD8' 5001 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:5037:21: note: in expansion of macro 'BGET8W' 5037 | immediate = BGET8W(&conn->pdu.bhs.opcode, 6, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:5038:18: note: in expansion of macro 'BGET8W' 5038 | opcode = BGET8W(&conn->pdu.bhs.opcode, 5, 6); | ^~~~~~ istgt_iscsi.c:5031:13: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] 5031 | int immediate, opcode; | ^~~~~~~~~ istgt_iscsi.c: In function 'worker': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_iscsi.c:5706:34: note: in expansion of macro 'BGET8W' 5706 | opcode = BGET8W(&conn->pdu.bhs.opcode, 5, 6); | ^~~~~~ --- istgt_lu_disk.o --- istgt_lu_disk.c: In function 'istgt_lu_disk_init': istgt_lu_disk.c:456:13: warning: variable 'newfile' set but not used [-Wunused-but-set-variable] 456 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:1113:16: note: in expansion of macro 'BGET8' 1113 | evpd = BGET8(&cdb[1], 0); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1120 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1120 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1151 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1151 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1184 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1184 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1197 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1197 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1200 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1200 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1201 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1201 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1224 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1224 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1227 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1227 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1228 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1228 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1260 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1260 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1263 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1263 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1264 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1264 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1282 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1282 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1285 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1285 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1286 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1286 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1304 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1304 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1307 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1307 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1308 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1308 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1333 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1333 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1336 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1336 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1337 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1337 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1360 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1360 | BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1363 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1363 | BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1364 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1364 | BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1391 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1391 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1405:33: note: in expansion of macro 'BDADD8' 1405 | BDADD8(&data[5], 1, 2); /* HEADSUP */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1405:33: note: in expansion of macro 'BDADD8' 1405 | BDADD8(&data[5], 1, 2); /* HEADSUP */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1407:33: note: in expansion of macro 'BDADD8' 1407 | BDADD8(&data[5], 1, 0); /* SIMPSUP */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1407:33: note: in expansion of macro 'BDADD8' 1407 | BDADD8(&data[5], 1, 0); /* SIMPSUP */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1422 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1422 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1458 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1458 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1475 | BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1475 | BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1493 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1493 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:33: note: in expansion of macro 'BDADD8W' 1533 | BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:33: note: in expansion of macro 'BDADD8W' 1533 | BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:33: note: in expansion of macro 'BDADD8W' 1536 | BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:33: note: in expansion of macro 'BDADD8W' 1536 | BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:33: note: in expansion of macro 'BDADD8W' 1537 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:33: note: in expansion of macro 'BDADD8W' 1537 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1566 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1566 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1622:33: note: in expansion of macro 'BDADD8' 1622 | BDADD8(&data[32], 0, 7); /* not valid ALIGNMENT */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1622:33: note: in expansion of macro 'BDADD8' 1622 | BDADD8(&data[32], 0, 7); /* not valid ALIGNMENT */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1636 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1636 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1676 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 1676 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:17: note: in expansion of macro 'BDADD8W' 1712 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:17: note: in expansion of macro 'BDADD8W' 1712 | BDADD8W(&data[0], pd, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1720:17: note: in expansion of macro 'BDADD8' 1720 | BDADD8(&data[1], 1, 4); /* hierarchical support */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1720:17: note: in expansion of macro 'BDADD8' 1720 | BDADD8(&data[1], 1, 4); /* hierarchical support */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:17: note: in expansion of macro 'BDADD8W' 1728 | BDADD8W(&data[5], 0x00, 5, 2); /* Not support TPGS */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:17: note: in expansion of macro 'BDADD8W' 1728 | BDADD8W(&data[5], 0x00, 5, 2); /* Not support TPGS */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:17: note: in expansion of macro 'BDADD8W' 1734 | BDADD8W(&data[6], 1, 4, 1); /* MULTIP */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:17: note: in expansion of macro 'BDADD8W' 1734 | BDADD8W(&data[6], 1, 4, 1); /* MULTIP */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1738:25: note: in expansion of macro 'BDADD8' 1738 | BDADD8(&data[7], 1, 1); /* CMDQUE */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1738:25: note: in expansion of macro 'BDADD8' 1738 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1869:17: note: in expansion of macro 'BDADD8' 1869 | BDADD8(&cp[0], 1, 7); /* PS */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1869:17: note: in expansion of macro 'BDADD8' 1869 | BDADD8(&cp[0], 1, 7); /* PS */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1872:25: note: in expansion of macro 'BDADD8' 1872 | BDADD8(&cp[2], 1, 2); /* WCE */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1872:25: note: in expansion of macro 'BDADD8' 1872 | BDADD8(&cp[2], 1, 2); /* WCE */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1873:25: note: in expansion of macro 'BDADD8' 1873 | BDADD8(&cp[2], 1, 0); /* RCD */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1873:25: note: in expansion of macro 'BDADD8' 1873 | BDADD8(&cp[2], 1, 0); /* RCD */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1877:17: note: in expansion of macro 'BDADD8' 1877 | BDADD8(&cp[2], 1, 2); /* WCE */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1877:17: note: in expansion of macro 'BDADD8' 1877 | BDADD8(&cp[2], 1, 2); /* WCE */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1884:33: note: in expansion of macro 'BDADD8' 1884 | BDADD8(&cp[2], 1, 2); /* WCE=1 */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1884:33: note: in expansion of macro 'BDADD8' 1884 | BDADD8(&cp[2], 1, 2); /* WCE=1 */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1886:33: note: in expansion of macro 'BDADD8' 1886 | BDADD8(&cp[2], 0, 2); /* WCE=0 */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1886:33: note: in expansion of macro 'BDADD8' 1886 | BDADD8(&cp[2], 0, 2); /* WCE=0 */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1890:25: note: in expansion of macro 'BDADD8' 1890 | BDADD8(&cp[2], 1, 0); /* RCD=1 */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1890:25: note: in expansion of macro 'BDADD8' 1890 | BDADD8(&cp[2], 1, 0); /* RCD=1 */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1892:25: note: in expansion of macro 'BDADD8' 1892 | BDADD8(&cp[2], 0, 0); /* RCD=0 */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:1892:25: note: in expansion of macro 'BDADD8' 1892 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2080:17: note: in expansion of macro 'BDADD8' 2080 | BDADD8(&data[2], 1, 7); /* WP */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2080:17: note: in expansion of macro 'BDADD8' 2080 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2135:17: note: in expansion of macro 'BDADD8' 2135 | BDADD8(&data[3], 1, 7); /* WP */ | ^~~~~~ --- istgt_iscsi.o --- *** [istgt_iscsi.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/net/istgt/work/istgt-20150713/src --- istgt_lu_disk.o --- istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2135:17: note: in expansion of macro 'BDADD8' 2135 | BDADD8(&data[3], 1, 7); /* WP */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:2218:14: note: in expansion of macro 'BGET8' 2218 | ps = BGET8(&data[0], 7); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:2219:15: note: in expansion of macro 'BGET8' 2219 | spf = BGET8(&data[0], 6); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:2257:31: note: in expansion of macro 'BGET8' 2257 | wce = BGET8(&data[2], 2); /* WCE */ | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:2258:31: note: in expansion of macro 'BGET8' 2258 | rcd = BGET8(&data[2], 0); /* RCD */ | ^~~~~ istgt_lu_disk.c:2208:13: warning: variable 'ps' set but not used [-Wunused-but-set-variable] 2208 | int ps, spf, page, subpage; | ^~ 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2316:17: note: in expansion of macro 'BDADD8' 2316 | BDADD8(&data[1], 1, 4); /* PLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2316:17: note: in expansion of macro 'BDADD8' 2316 | BDADD8(&data[1], 1, 4); /* PLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2319:17: note: in expansion of macro 'BDADD8' 2319 | BDADD8(&data[1], 1, 3); /* GLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2319:17: note: in expansion of macro 'BDADD8' 2319 | BDADD8(&data[1], 1, 3); /* GLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 2321 | BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 2321 | BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ | ^~~~~~~ istgt_lu_disk.c:2305:18: warning: variable 'cp' set but not used [-Wunused-but-set-variable] 2305 | uint8_t *cp; | ^~ 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2348:17: note: in expansion of macro 'BDADD8' 2348 | BDADD8(&data[1], 1, 4); /* PLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2348:17: note: in expansion of macro 'BDADD8' 2348 | BDADD8(&data[1], 1, 4); /* PLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2351:17: note: in expansion of macro 'BDADD8' 2351 | BDADD8(&data[1], 1, 3); /* GLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2351:17: note: in expansion of macro 'BDADD8' 2351 | BDADD8(&data[1], 1, 3); /* GLISTV */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 2353 | BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 2353 | BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ | ^~~~~~~ istgt_lu_disk.c:2337:18: warning: variable 'cp' set but not used [-Wunused-but-set-variable] 2337 | uint8_t *cp; | ^~ 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2488 | BDADD8W(&cp[0], AAS_ACTIVE_OPTIMIZED, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2488 | BDADD8W(&cp[0], AAS_ACTIVE_OPTIMIZED, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2491 | BDADD8W(&cp[0], AAS_ACTIVE_NON_OPTIMIZED, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2491 | BDADD8W(&cp[0], AAS_ACTIVE_NON_OPTIMIZED, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2494 | BDADD8W(&cp[0], AAS_STANDBY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2494 | BDADD8W(&cp[0], AAS_STANDBY, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2497 | BDADD8W(&cp[0], AAS_UNAVAILABLE, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2497 | BDADD8W(&cp[0], AAS_UNAVAILABLE, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2500 | BDADD8W(&cp[0], AAS_TRANSITIONING, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2500 | BDADD8W(&cp[0], AAS_TRANSITIONING, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2511:17: note: in expansion of macro 'BDADD8' 2511 | BDADD8(&cp[1], 1, 1); /* active/non-optimized supported */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2511:17: note: in expansion of macro 'BDADD8' 2511 | BDADD8(&cp[1], 1, 1); /* active/non-optimized supported */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2512:17: note: in expansion of macro 'BDADD8' 2512 | BDADD8(&cp[1], 1, 0); /* active/optimized supported */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2512:17: note: in expansion of macro 'BDADD8' 2512 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:2598:15: note: in expansion of macro 'BGET8W' 2598 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:2857:14: note: in expansion of macro 'BGET8W' 2857 | fc = BGET8W(&data[0], 7, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:2858:14: note: in expansion of macro 'BGET8W' 2858 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2949 | BDADD8W(&data[21], spec->rsv_type, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 2949 | BDADD8W(&data[21], spec->rsv_type, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2968:17: note: in expansion of macro 'BDADD8' 2968 | BDADD8(&data[2], 1, 3); /* Specify Initiator Ports Capable */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2968:17: note: in expansion of macro 'BDADD8' 2968 | BDADD8(&data[2], 1, 3); /* Specify Initiator Ports Capable */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2969:17: note: in expansion of macro 'BDADD8' 2969 | BDADD8(&data[2], 1, 2); /* All Target Ports Capable */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:2969:17: note: in expansion of macro 'BDADD8' 2969 | BDADD8(&data[2], 1, 2); /* All Target Ports Capable */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:3005:33: note: in expansion of macro 'BDADD8' 3005 | BDADD8(&cp[12], 1, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:3005:33: note: in expansion of macro 'BDADD8' 3005 | BDADD8(&cp[12], 1, 1); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:3011:41: note: in expansion of macro 'BDADD8' 3011 | BDADD8(&cp[12], 1, 0); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #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' 137 | #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) | ^~~~~~~ istgt_lu_disk.c:3011:41: note: in expansion of macro 'BDADD8' 3011 | BDADD8(&cp[12], 1, 0); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:41: note: in expansion of macro 'BDADD8W' 3012 | BDADD8W(&cp[13], spec->rsv_scope & 0x0f, 7, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:41: note: in expansion of macro 'BDADD8W' 3012 | BDADD8W(&cp[13], spec->rsv_scope & 0x0f, 7, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:41: note: in expansion of macro 'BDADD8W' 3013 | BDADD8W(&cp[13], spec->rsv_type & 0x0f, 3, 4); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:41: note: in expansion of macro 'BDADD8W' 3013 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:3074:21: note: in expansion of macro 'BGET8' 3074 | spec_i_pt = BGET8(&data[20], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:3075:21: note: in expansion of macro 'BGET8' 3075 | all_tg_pt = BGET8(&data[20], 2); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:3076:17: note: in expansion of macro 'BGET8' 3076 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 3906 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 3906 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 4021 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 4021 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 4463 | BDADD8W(&cp[0], resp_code, 6, 7); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 4463 | BDADD8W(&cp[0], resp_code, 6, 7); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 4532 | BDADD8W(&cp[0], resp_code, 6, 7); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:9: note: in expansion of macro 'BDADD8W' 4532 | BDADD8W(&cp[0], resp_code, 6, 7); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 4968 | BDADD8W(&data[0], 0x1f, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 4968 | BDADD8W(&data[0], 0x1f, 4, 5); | ^~~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_queue_start': istgt_lu_disk.c:5130:19: warning: variable 'istgt' set but not used [-Wunused-but-set-variable] 5130 | ISTGT_Ptr istgt; | ^~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' 130 | #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' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 5547 | BDADD8W(&data[0], 0x1f, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:39:52: note: in definition of macro 'DSET8' 39 | #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) | ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' 131 | #define 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:25: note: in expansion of macro 'BDADD8W' 5547 | BDADD8W(&data[0], 0x1f, 4, 5); | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:5698:30: note: in expansion of macro 'BGET8W' 5698 | pc = BGET8W(&cdb[4], 7, 4); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5699:32: note: in expansion of macro 'BGET8' 5699 | loej = BGET8(&cdb[4], 1); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5700:33: note: in expansion of macro 'BGET8' 5700 | start = BGET8(&cdb[4], 0); | ^~~~~ istgt_lu_disk.c:5696:33: warning: variable 'loej' set but not used [-Wunused-but-set-variable] 5696 | int pc, loej, start; | ^~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:5740:25: note: in expansion of macro 'BGET8W' 5740 | switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5789:30: note: in expansion of macro 'BGET8' 5789 | pf = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5790:30: note: in expansion of macro 'BGET8' 5790 | sp = BGET8(&cdb[1], 0); | ^~~~~ istgt_lu_disk.c:5779:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] 5779 | int mdlen, mt, dsp, bdlen; | ^~~ istgt_lu_disk.c:5779:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] 5779 | int mdlen, mt, dsp, bdlen; | ^~ istgt_lu_disk.c:5779:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] 5779 | int mdlen, mt, dsp, bdlen; | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5853:30: note: in expansion of macro 'BGET8' 5853 | pf = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5854:30: note: in expansion of macro 'BGET8' 5854 | sp = BGET8(&cdb[1], 0); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5883:32: note: in expansion of macro 'BGET8' 5883 | llba = BGET8(&data[4], 0); /* Long LBA */ | ^~~~~ istgt_lu_disk.c:5842:40: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] 5842 | int mdlen, mt, dsp, bdlen; | ^~~ istgt_lu_disk.c:5842:36: warning: variable 'mt' set but not used [-Wunused-but-set-variable] 5842 | int mdlen, mt, dsp, bdlen; | ^~ istgt_lu_disk.c:5842:29: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] 5842 | int mdlen, mt, dsp, bdlen; | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5929:31: note: in expansion of macro 'BGET8' 5929 | dbd = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:5930:30: note: in expansion of macro 'BGET8W' 5930 | pc = BGET8W(&cdb[2], 7, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:5931:32: note: in expansion of macro 'BGET8W' 5931 | page = BGET8W(&cdb[2], 5, 6); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5980:33: note: in expansion of macro 'BGET8' 5980 | llbaa = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:5981:31: note: in expansion of macro 'BGET8' 5981 | dbd = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:5982:30: note: in expansion of macro 'BGET8W' 5982 | pc = BGET8W(&cdb[2], 7, 2); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:5983:32: note: in expansion of macro 'BGET8W' 5983 | page = BGET8W(&cdb[2], 5, 6); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6028:32: note: in expansion of macro 'BGET8' 6028 | desc = BGET8(&cdb[1], 0); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6124:31: note: in expansion of macro 'BGET8' 6124 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6125:31: note: in expansion of macro 'BGET8' 6125 | fua = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6126:34: note: in expansion of macro 'BGET8' 6126 | fua_nv = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6108:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6108 | int dpo, fua, fua_nv; | ^~~~~~ istgt_lu_disk.c:6108:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6108 | int dpo, fua, fua_nv; | ^~~ istgt_lu_disk.c:6108:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6108 | int dpo, fua, fua_nv; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6160:31: note: in expansion of macro 'BGET8' 6160 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6161:31: note: in expansion of macro 'BGET8' 6161 | fua = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6162:34: note: in expansion of macro 'BGET8' 6162 | fua_nv = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6144:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6144 | int dpo, fua, fua_nv; | ^~~~~~ istgt_lu_disk.c:6144:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6144 | int dpo, fua, fua_nv; | ^~~ istgt_lu_disk.c:6144:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6144 | int dpo, fua, fua_nv; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6196:31: note: in expansion of macro 'BGET8' 6196 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6197:31: note: in expansion of macro 'BGET8' 6197 | fua = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6198:34: note: in expansion of macro 'BGET8' 6198 | fua_nv = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6180:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6180 | int dpo, fua, fua_nv; | ^~~~~~ istgt_lu_disk.c:6180:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6180 | int dpo, fua, fua_nv; | ^~~ istgt_lu_disk.c:6180:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6180 | int dpo, fua, fua_nv; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6267:31: note: in expansion of macro 'BGET8' 6267 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6268:31: note: in expansion of macro 'BGET8' 6268 | fua = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6269:34: note: in expansion of macro 'BGET8' 6269 | fua_nv = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6251:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6251 | int dpo, fua, fua_nv; | ^~~~~~ istgt_lu_disk.c:6251:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6251 | int dpo, fua, fua_nv; | ^~~ istgt_lu_disk.c:6251:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6251 | int dpo, fua, fua_nv; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6304:31: note: in expansion of macro 'BGET8' 6304 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6305:31: note: in expansion of macro 'BGET8' 6305 | fua = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6306:34: note: in expansion of macro 'BGET8' 6306 | fua_nv = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6288:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6288 | int dpo, fua, fua_nv; | ^~~~~~ istgt_lu_disk.c:6288:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6288 | int dpo, fua, fua_nv; | ^~~ istgt_lu_disk.c:6288:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6288 | int dpo, fua, fua_nv; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6341:31: note: in expansion of macro 'BGET8' 6341 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6342:31: note: in expansion of macro 'BGET8' 6342 | fua = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6343:34: note: in expansion of macro 'BGET8' 6343 | fua_nv = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6325:39: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6325 | int dpo, fua, fua_nv; | ^~~~~~ istgt_lu_disk.c:6325:34: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6325 | int dpo, fua, fua_nv; | ^~~ istgt_lu_disk.c:6325:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6325 | int dpo, fua, fua_nv; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6371:31: note: in expansion of macro 'BGET8' 6371 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6372:34: note: in expansion of macro 'BGET8' 6372 | bytchk = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6361:34: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] 6361 | int dpo, bytchk; | ^~~~~~ istgt_lu_disk.c:6361:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6361 | int dpo, bytchk; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6395:31: note: in expansion of macro 'BGET8' 6395 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6396:34: note: in expansion of macro 'BGET8' 6396 | bytchk = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6385:34: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] 6385 | int dpo, bytchk; | ^~~~~~ istgt_lu_disk.c:6385:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6385 | int dpo, bytchk; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6419:31: note: in expansion of macro 'BGET8' 6419 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6420:34: note: in expansion of macro 'BGET8' 6420 | bytchk = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6409:34: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] 6409 | int dpo, bytchk; | ^~~~~~ istgt_lu_disk.c:6409:29: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6409 | int dpo, bytchk; | ^~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6449:36: note: in expansion of macro 'BGET8W' 6449 | wprotect = BGET8W(&cdb[1], 7, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6450:34: note: in expansion of macro 'BGET8' 6450 | pbdata = BGET8(&cdb[1], 2); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6451:34: note: in expansion of macro 'BGET8' 6451 | lbdata = BGET8(&cdb[1], 1); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6454:36: note: in expansion of macro 'BGET8W' 6454 | group_no = BGET8W(&cdb[6], 4, 5); | ^~~~~~ istgt_lu_disk.c:6433:55: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] 6433 | int wprotect, pbdata, lbdata, group_no; | ^~~~~~~~ istgt_lu_disk.c:6433:29: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] 6433 | int wprotect, pbdata, lbdata, group_no; | ^~~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6498:36: note: in expansion of macro 'BGET8W' 6498 | wprotect = BGET8W(&cdb[1], 7, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6499:34: note: in expansion of macro 'BGET8' 6499 | anchor = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6500:33: note: in expansion of macro 'BGET8' 6500 | unmap = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6501:34: note: in expansion of macro 'BGET8' 6501 | pbdata = BGET8(&cdb[1], 2); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6502:34: note: in expansion of macro 'BGET8' 6502 | lbdata = BGET8(&cdb[1], 1); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6505:36: note: in expansion of macro 'BGET8W' 6505 | group_no = BGET8W(&cdb[14], 4, 5); | ^~~~~~ istgt_lu_disk.c:6479:70: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] 6479 | int wprotect, anchor, unmap, pbdata, lbdata, group_no; | ^~~~~~~~ istgt_lu_disk.c:6479:47: warning: variable 'unmap' set but not used [-Wunused-but-set-variable] 6479 | int wprotect, anchor, unmap, pbdata, lbdata, group_no; | ^~~~~ istgt_lu_disk.c:6479:29: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] 6479 | int wprotect, anchor, unmap, pbdata, lbdata, group_no; | ^~~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6562:36: note: in expansion of macro 'BGET8W' 6562 | wprotect = BGET8W(&cdb[1], 7, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6563:31: note: in expansion of macro 'BGET8' 6563 | dpo = BGET8(&cdb[1], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6564:31: note: in expansion of macro 'BGET8' 6564 | fua = BGET8(&cdb[1], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6565:34: note: in expansion of macro 'BGET8' 6565 | fua_nv = BGET8(&cdb[1], 1); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6568:36: note: in expansion of macro 'BGET8W' 6568 | group_no = BGET8W(&cdb[14], 4, 5); | ^~~~~~ istgt_lu_disk.c:6537:57: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] 6537 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~~~~~~ istgt_lu_disk.c:6537:49: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] 6537 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~~~~ istgt_lu_disk.c:6537:44: warning: variable 'fua' set but not used [-Wunused-but-set-variable] 6537 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~ istgt_lu_disk.c:6537:39: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] 6537 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~ istgt_lu_disk.c:6537:29: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] 6537 | int wprotect, dpo, fua, fua_nv, group_no; | ^~~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6607:35: note: in expansion of macro 'BGET8' 6607 | sync_nv = BGET8(&cdb[1], 2); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6608:33: note: in expansion of macro 'BGET8' 6608 | immed = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6597:38: warning: variable 'immed' set but not used [-Wunused-but-set-variable] 6597 | int sync_nv, immed; | ^~~~~ istgt_lu_disk.c:6597:29: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] 6597 | int sync_nv, immed; | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6641:35: note: in expansion of macro 'BGET8' 6641 | sync_nv = BGET8(&cdb[1], 2); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6642:33: note: in expansion of macro 'BGET8' 6642 | immed = BGET8(&cdb[1], 1); | ^~~~~ istgt_lu_disk.c:6631:38: warning: variable 'immed' set but not used [-Wunused-but-set-variable] 6631 | int sync_nv, immed; | ^~~~~ istgt_lu_disk.c:6631:29: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] 6631 | int sync_nv, immed; | ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6673:37: note: in expansion of macro 'BGET8' 6673 | req_plist = BGET8(&cdb[2], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6674:37: note: in expansion of macro 'BGET8' 6674 | req_glist = BGET8(&cdb[2], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6675:39: note: in expansion of macro 'BGET8W' 6675 | list_format = BGET8W(&cdb[2], 2, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6707:37: note: in expansion of macro 'BGET8' 6707 | req_plist = BGET8(&cdb[2], 4); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' 140 | #define BGET8(B,N) (BGET8W((B),(N),1)) | ^~~~~~ istgt_lu_disk.c:6708:37: note: in expansion of macro 'BGET8' 6708 | req_glist = BGET8(&cdb[2], 3); | ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6709:39: note: in expansion of macro 'BGET8W' 6709 | list_format = BGET8W(&cdb[2], 2, 3); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6733:25: note: in expansion of macro 'BGET8W' 6733 | 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] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_log.h:71:29: note: in definition of macro 'ISTGT_TRACELOG' 71 | __VA_ARGS__); \ | ^~~~~~~~~~~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6761:29: note: in expansion of macro 'BGET8W' 6761 | BGET8W(&cdb[1], 4, 5)); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6771:25: note: in expansion of macro 'BGET8W' 6771 | switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_log.h:71:29: note: in definition of macro 'ISTGT_TRACELOG' 71 | __VA_ARGS__); \ | ^~~~~~~~~~~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6824:29: note: in expansion of macro 'BGET8W' 6824 | BGET8W(&cdb[1], 4, 5)); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6843:30: note: in expansion of macro 'BGET8W' 6843 | sa = BGET8W(&cdb[1], 4, 5); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6876:30: note: in expansion of macro 'BGET8W' 6876 | sa = BGET8W(&cdb[1], 4, 5); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6877:33: note: in expansion of macro 'BGET8W' 6877 | scope = BGET8W(&cdb[2], 7, 4); | ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] 128 | #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) | ^~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' 134 | #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) | ^~~~~~ istgt_lu_disk.c:6878:32: note: in expansion of macro 'BGET8W' 6878 | type = BGET8W(&cdb[2], 3, 4); | ^~~~~~ bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/net/istgt/work/istgt-20150713/src *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/net/istgt/work/istgt-20150713 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/istgt/work/istgt-20150713 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/istgt *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/istgt