=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for istgt-20150713nb2 --- all --- for subdir in src etc doc; do (cd $subdir; /usr/bin/make all) || exit $?; done --- stamp-depend --- --- istgt.o --- --- istgt_iscsi.o --- --- istgt.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt.o istgt.c --- stamp-depend --- /usr/bin/make depend --- istgt_iscsi.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_iscsi.o istgt_iscsi.c --- stamp-depend --- --- depend --- if [ "x/usr/bin/mkdep" != "x" ]; then /usr/bin/mkdep -MM -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/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 --- istgt_iscsi.o --- In file included from istgt_iscsi.c:55:0: istgt_iscsi.c: In function 'istgt_update_pdu': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:840:11: note: in expansion of macro 'BGET8W' opcode = BGET8W(&rsp[0], 5, 6); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_write_pdu_internal': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:1192:11: note: in expansion of macro 'BGET8W' opcode = BGET8W(&cp[0], 5, 6); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_reject': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2167:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2167:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_login': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:2362:10: note: in expansion of macro 'BGET8' T_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:2363:10: note: in expansion of macro 'BGET8' C_bit = BGET8(&cp[1], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:2364:8: note: in expansion of macro 'BGET8W' CSG = BGET8W(&cp[1], 3, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:2365:8: note: in expansion of macro 'BGET8W' NSG = BGET8W(&cp[1], 1, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2955:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], T_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2955:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], T_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2956:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:2956:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2957:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], CSG, 3, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2957:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], CSG, 3, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2958:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], NSG, 1, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:2958:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], NSG, 1, 2); ^~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_text': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3047:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3048:10: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3049:10: note: in expansion of macro 'BGET8' C_bit = BGET8(&cp[1], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3151:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3151:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3152:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3152:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], C_bit, 6); ^~~~~~ istgt_iscsi.c:3029:14: warning: variable 'iiqn' set but not used [-Wunused-but-set-variable] const char *iiqn; ^~~~ In file included from istgt_iscsi.c:55:0: istgt_iscsi.c: In function 'istgt_iscsi_op_logout': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:3221:11: note: in expansion of macro 'BGET8W' reason = BGET8W(&cp[1], 6, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:3271:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_iscsi.c:3271:2: note: in expansion of macro 'BDADD8W' BDADD8W(&rsp[1], 1, 7, 1); ^~~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_transfer_in_internal': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3437:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3437:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], F_bit, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3438:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 6); // A_bit Acknowledge ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3438:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 6); // A_bit Acknowledge ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3440:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3440:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3441:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3441:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3443:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3443:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3444:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3444:4: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 0, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3446:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], S_bit, 0); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3446:3: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], S_bit, 0); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_scsi': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3529:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3530:10: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3531:10: note: in expansion of macro 'BGET8' R_bit = BGET8(&cp[1], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3532:10: note: in expansion of macro 'BGET8' W_bit = BGET8(&cp[1], 5); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:3533:13: note: in expansion of macro 'BGET8W' Attr_bit = BGET8W(&cp[1], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3766:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3766:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3767:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3767:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3768:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3768:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3769:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3769:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3770:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3770:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_task_response': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3890:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3890:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3891:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3891:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], o_bit, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3892:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3892:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], u_bit, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3893:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3893:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], O_bit, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3894:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:3894:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], U_bit, 1); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_task': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:3955:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:3956:13: note: in expansion of macro 'BGET8W' function = BGET8W(&cp[1], 6, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4077:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4077:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_iscsi.c:3943:11: warning: variable 'ExpDataSN' set but not used [-Wunused-but-set-variable] uint32_t ExpDataSN; ^~~~~~~~~ In file included from istgt_iscsi.c:55:0: istgt_iscsi.c: In function 'istgt_iscsi_op_nopout': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4137:10: note: in expansion of macro 'BGET8' I_bit = BGET8(&cp[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4219:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4219:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_op_data': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4493:10: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_iscsi.c:4459:11: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] uint64_t current_lun; ^~~~~~~~~~~ istgt_iscsi.c:4458:11: warning: variable 'lun' set but not used [-Wunused-but-set-variable] uint64_t lun; ^~~ In file included from istgt_iscsi.c:55:0: istgt_iscsi.c: In function 'istgt_iscsi_send_r2t': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4569:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:4569:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_transfer_out': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:4767:16: note: in expansion of macro 'BGET8W' immediate = BGET8W(&data_pdu.bhs.opcode, 6, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:4768:13: note: in expansion of macro 'BGET8W' opcode = BGET8W(&data_pdu.bhs.opcode, 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4771:12: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4942:11: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_iscsi.c:4949:11: note: in expansion of macro 'BGET8' F_bit = BGET8(&cp[1], 7); ^~~~~ istgt_iscsi.c:4627:6: warning: variable 'r2t_offset' set but not used [-Wunused-but-set-variable] int r2t_offset; ^~~~~~~~~~ istgt_iscsi.c:4623:6: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] int immediate, opcode; ^~~~~~~~~ istgt_iscsi.c:4608:11: warning: variable 'lun' set but not used [-Wunused-but-set-variable] uint64_t lun; ^~~ istgt_iscsi.c:4607:11: warning: variable 'current_lun' set but not used [-Wunused-but-set-variable] uint64_t current_lun; ^~~~~~~~~~~ In file included from istgt_iscsi.c:55:0: istgt_iscsi.c: In function 'istgt_iscsi_send_nopin': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:5001:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_iscsi.c:5001:2: note: in expansion of macro 'BDADD8' BDADD8(&rsp[1], 1, 7); ^~~~~~ istgt_iscsi.c: In function 'istgt_iscsi_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:5037:14: note: in expansion of macro 'BGET8W' immediate = BGET8W(&conn->pdu.bhs.opcode, 6, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:5038:11: note: in expansion of macro 'BGET8W' opcode = BGET8W(&conn->pdu.bhs.opcode, 5, 6); ^~~~~~ istgt_iscsi.c:5031:6: warning: variable 'immediate' set but not used [-Wunused-but-set-variable] int immediate, opcode; ^~~~~~~~~ In file included from istgt_iscsi.c:55:0: istgt_iscsi.c: In function 'worker': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_iscsi.c:5706:13: note: in expansion of macro 'BGET8W' opcode = BGET8W(&conn->pdu.bhs.opcode, 5, 6); ^~~~~~ --- stamp-depend --- touch stamp-depend --- istgt_iscsi_param.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_iscsi_param.o istgt_iscsi_param.c --- istgt_lu.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_lu.o istgt_lu.c istgt_lu.c: In function 'istgt_lu_parse_size': istgt_lu.c:799:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'Z': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:800:3: note: here case 'E': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:800:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'E': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:801:3: note: here case 'P': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:801:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'P': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:802:3: note: here case 'T': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:802:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'T': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:803:3: note: here case 'G': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:803:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'G': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:804:3: note: here case 'M': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:804:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'M': val1 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:805:3: note: here case 'K': val1 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:820:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'Z': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:821:5: note: here case 'E': val2 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:821:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'E': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:822:5: note: here case 'P': val2 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:822:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'P': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:823:5: note: here case 'T': val2 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:823:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'T': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:824:5: note: here case 'G': val2 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:824:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'G': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:825:5: note: here case 'M': val2 *= (uint64_t) 1024ULL; ^~~~ istgt_lu.c:825:20: warning: this statement may fall through [-Wimplicit-fallthrough=] case 'M': val2 *= (uint64_t) 1024ULL; ~~~~~^~~~~~~~~~~~~~~~~~~~~ istgt_lu.c:826:5: note: here case 'K': val2 *= (uint64_t) 1024ULL; ^~~~ --- istgt_lu_disk.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_lu_disk.o istgt_lu_disk.c istgt_lu_disk.c: In function 'istgt_lu_disk_init': istgt_lu_disk.c:456:6: warning: variable 'newfile' set but not used [-Wunused-but-set-variable] int newfile; ^~~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_inquiry': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:1113:9: note: in expansion of macro 'BGET8' evpd = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1120:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1120:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1151:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1151:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1184:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1184:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1197:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1197:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1200:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1200:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1201:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1201:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1224:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1224:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1227:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1227:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1228:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1228:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1260:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1260:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1263:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1263:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1264:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1264:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1282:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1282:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1285:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1285:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1286:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1286:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1304:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1304:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1307:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1307:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1308:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1308:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1333:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1333:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1336:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1336:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1337:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1337:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1360:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1360:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1363:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1363:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1364:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1364:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1391:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1391:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1405:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 2); /* HEADSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1405:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 2); /* HEADSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1407:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 0); /* SIMPSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1407:5: note: in expansion of macro 'BDADD8' BDADD8(&data[5], 1, 0); /* SIMPSUP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1422:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1422:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1458:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1458:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1475:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1475:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1493:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1493:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1533:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1533:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1536:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1536:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1537:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1537:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1566:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1566:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1622:5: note: in expansion of macro 'BDADD8' BDADD8(&data[32], 0, 7); /* not valid ALIGNMENT */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1622:5: note: in expansion of macro 'BDADD8' BDADD8(&data[32], 0, 7); /* not valid ALIGNMENT */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1636:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1636:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))<lu->lun[spec->lun].formfactor, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1676:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1676:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1712:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1712:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1720:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1720:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1728:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[5], 0x00, 5, 2); /* Not support TPGS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1728:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[5], 0x00, 5, 2); /* Not support TPGS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1734:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[6], 1, 4, 1); /* MULTIP */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:1734:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[6], 1, 4, 1); /* MULTIP */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1738:4: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 1); /* CMDQUE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1738:4: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 1); /* CMDQUE */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_sense_page': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1869:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1869:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1872:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1872:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1873:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1873:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1877:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1877:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1884:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1884:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1886:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1886:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1890:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1890:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1892:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:1892:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_sense6': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2080:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2080:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_mode_sense10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2135:3: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2135:3: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2218:7: note: in expansion of macro 'BGET8' ps = BGET8(&data[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2219:8: note: in expansion of macro 'BGET8' spf = BGET8(&data[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2257:10: note: in expansion of macro 'BGET8' wce = BGET8(&data[2], 2); /* WCE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:2258:10: note: in expansion of macro 'BGET8' rcd = BGET8(&data[2], 0); /* RCD */ ^~~~~ istgt_lu_disk.c:2208:6: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int ps, spf, page, subpage; ^~ In file included from istgt_lu_disk.c:53:0: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_read_defect10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2316:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2316:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2319:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2319:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2321:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2321:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ istgt_lu_disk.c:2305:11: warning: variable 'cp' set but not used [-Wunused-but-set-variable] uint8_t *cp; ^~ In file included from istgt_lu_disk.c:53:0: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_read_defect12': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2348:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2348:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* PLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2351:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2351:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 3); /* GLISTV */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2353:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2353:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], list_format, 2, 3); /* DEFECT LIST FORMAT */ ^~~~~~~ istgt_lu_disk.c:2337:11: warning: variable 'cp' set but not used [-Wunused-but-set-variable] uint8_t *cp; ^~ In file included from istgt_lu_disk.c:53:0: istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_report_target_port_groups': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2488:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_OPTIMIZED, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2488:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_OPTIMIZED, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2491:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_NON_OPTIMIZED, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2491:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_ACTIVE_NON_OPTIMIZED, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2494:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_STANDBY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2494:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_STANDBY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2497:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_UNAVAILABLE, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2497:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_UNAVAILABLE, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2500:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_TRANSITIONING, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2500:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], AAS_TRANSITIONING, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2511:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 1); /* active/non-optimized supported */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2511:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 1); /* active/non-optimized supported */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2512:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* active/optimized supported */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2512:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* active/optimized supported */ ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_set_target_port_groups': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:2598:8: note: in expansion of macro 'BGET8W' aas = BGET8W(&data[0], 3, 4); ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_parse_transport_id': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:2857:7: note: in expansion of macro 'BGET8W' fc = BGET8W(&data[0], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:2858:7: note: in expansion of macro 'BGET8W' pi = BGET8W(&data[0], 3, 4); ^~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_persistent_reserve_in': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))<rsv_scope, 7, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2949:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[21], spec->rsv_type, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:2949:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[21], spec->rsv_type, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2968:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 3); /* Specify Initiator Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2968:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 3); /* Specify Initiator Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2969:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 2); /* All Target Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:2969:3: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 2); /* All Target Ports Capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3005:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3005:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 1); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3011:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 0); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_disk.c:3011:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[12], 1, 0); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3012:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_scope & 0x0f, 7, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3012:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_scope & 0x0f, 7, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3013:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_type & 0x0f, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3013:6: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[13], spec->rsv_type & 0x0f, 3, 4); ^~~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_persistent_reserve_out': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:3074:14: note: in expansion of macro 'BGET8' spec_i_pt = BGET8(&data[20], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:3075:14: note: in expansion of macro 'BGET8' all_tg_pt = BGET8(&data[20], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:3076:10: note: in expansion of macro 'BGET8' aptpl = BGET8(&data[20], 0); ^~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_scsi_release': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3906:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:3906:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4021:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4021:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cdb[2], 0x03, 3, 4); /* ISTGT_LU_PR_TYPE_EXCLUSIVE_ACCESS */ ^~~~~~~ istgt_lu_disk.c: In function 'istgt_lu_scsi_build_sense_data': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4463:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4463:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4532:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4532:2: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], resp_code, 6, 7); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4968:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:4968:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_lu_disk.c: In function 'istgt_lu_disk_queue_start': istgt_lu_disk.c:5130:12: warning: variable 'istgt' set but not used [-Wunused-but-set-variable] ISTGT_Ptr istgt; ^~~~~ In file included from istgt_lu_disk.c:53:0: istgt_lu_disk.c: In function 'istgt_lu_disk_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:5547:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_disk.c:5547:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5698:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[4], 7, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5699:11: note: in expansion of macro 'BGET8' loej = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5700:12: note: in expansion of macro 'BGET8' start = BGET8(&cdb[4], 0); ^~~~~ istgt_lu_disk.c:5696:12: warning: variable 'loej' set but not used [-Wunused-but-set-variable] int pc, loej, start; ^~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5740:11: note: in expansion of macro 'BGET8W' switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5789:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5790:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_disk.c:5779:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_disk.c:5779:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_disk.c:5779:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5853:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5854:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5883:11: note: in expansion of macro 'BGET8' llba = BGET8(&data[4], 0); /* Long LBA */ ^~~~~ istgt_lu_disk.c:5842:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_disk.c:5842:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_disk.c:5842:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5929:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5930:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5931:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5980:12: note: in expansion of macro 'BGET8' llbaa = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:5981:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5982:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:5983:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6028:11: note: in expansion of macro 'BGET8' desc = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6124:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6125:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6126:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6108:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6108:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6108:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6160:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6161:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6162:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6144:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6144:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6144:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6196:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6197:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6198:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6180:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6180:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6180:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6267:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6268:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6269:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6251:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6251:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6251:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6304:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6305:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6306:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6288:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6288:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6288:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6341:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6342:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6343:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6325:18: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~~~~ istgt_lu_disk.c:6325:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ istgt_lu_disk.c:6325:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua, fua_nv; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6371:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6372:13: note: in expansion of macro 'BGET8' bytchk = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6361:13: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~~~~ istgt_lu_disk.c:6361:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6395:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6396:13: note: in expansion of macro 'BGET8' bytchk = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6385:13: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~~~~ istgt_lu_disk.c:6385:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6419:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6420:13: note: in expansion of macro 'BGET8' bytchk = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6409:13: warning: variable 'bytchk' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~~~~ istgt_lu_disk.c:6409:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, bytchk; ^~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6449:15: note: in expansion of macro 'BGET8W' wprotect = BGET8W(&cdb[1], 7, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6450:13: note: in expansion of macro 'BGET8' pbdata = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6451:13: note: in expansion of macro 'BGET8' lbdata = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6454:15: note: in expansion of macro 'BGET8W' group_no = BGET8W(&cdb[6], 4, 5); ^~~~~~ istgt_lu_disk.c:6433:34: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] int wprotect, pbdata, lbdata, group_no; ^~~~~~~~ istgt_lu_disk.c:6433:8: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] int wprotect, pbdata, lbdata, group_no; ^~~~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6498:15: note: in expansion of macro 'BGET8W' wprotect = BGET8W(&cdb[1], 7, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6499:13: note: in expansion of macro 'BGET8' anchor = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6500:12: note: in expansion of macro 'BGET8' unmap = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6501:13: note: in expansion of macro 'BGET8' pbdata = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6502:13: note: in expansion of macro 'BGET8' lbdata = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6505:15: note: in expansion of macro 'BGET8W' group_no = BGET8W(&cdb[14], 4, 5); ^~~~~~ istgt_lu_disk.c:6479:49: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] int wprotect, anchor, unmap, pbdata, lbdata, group_no; ^~~~~~~~ istgt_lu_disk.c:6479:26: warning: variable 'unmap' set but not used [-Wunused-but-set-variable] int wprotect, anchor, unmap, pbdata, lbdata, group_no; ^~~~~ istgt_lu_disk.c:6479:8: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] int wprotect, anchor, unmap, pbdata, lbdata, group_no; ^~~~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6562:15: note: in expansion of macro 'BGET8W' wprotect = BGET8W(&cdb[1], 7, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6563:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6564:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6565:13: note: in expansion of macro 'BGET8' fua_nv = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6568:15: note: in expansion of macro 'BGET8W' group_no = BGET8W(&cdb[14], 4, 5); ^~~~~~ istgt_lu_disk.c:6537:36: warning: variable 'group_no' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~~~~~~ istgt_lu_disk.c:6537:28: warning: variable 'fua_nv' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~~~~ istgt_lu_disk.c:6537:23: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~ istgt_lu_disk.c:6537:18: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~ istgt_lu_disk.c:6537:8: warning: variable 'wprotect' set but not used [-Wunused-but-set-variable] int wprotect, dpo, fua, fua_nv, group_no; ^~~~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6607:14: note: in expansion of macro 'BGET8' sync_nv = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6608:12: note: in expansion of macro 'BGET8' immed = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6597:17: warning: variable 'immed' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~ istgt_lu_disk.c:6597:8: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6641:14: note: in expansion of macro 'BGET8' sync_nv = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6642:12: note: in expansion of macro 'BGET8' immed = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_disk.c:6631:17: warning: variable 'immed' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~ istgt_lu_disk.c:6631:8: warning: variable 'sync_nv' set but not used [-Wunused-but-set-variable] int sync_nv, immed; ^~~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6673:16: note: in expansion of macro 'BGET8' req_plist = BGET8(&cdb[2], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6674:16: note: in expansion of macro 'BGET8' req_glist = BGET8(&cdb[2], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6675:18: note: in expansion of macro 'BGET8W' list_format = BGET8W(&cdb[2], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6707:16: note: in expansion of macro 'BGET8' req_plist = BGET8(&cdb[2], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_disk.c:6708:16: note: in expansion of macro 'BGET8' req_glist = BGET8(&cdb[2], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6709:18: note: in expansion of macro 'BGET8W' list_format = BGET8W(&cdb[2], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6733:11: note: in expansion of macro 'BGET8W' switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ ^~~~~~ In file included from istgt.h:51:0, from istgt_lu_disk.c:48: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_log.h:71:8: note: in definition of macro 'ISTGT_TRACELOG' __VA_ARGS__); \ ^~~~~~~~~~~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6761:8: note: in expansion of macro 'BGET8W' BGET8W(&cdb[1], 4, 5)); ^~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6771:11: note: in expansion of macro 'BGET8W' switch (BGET8W(&cdb[1], 4, 5)) { /* SERVICE ACTION */ ^~~~~~ In file included from istgt.h:51:0, from istgt_lu_disk.c:48: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_log.h:71:8: note: in definition of macro 'ISTGT_TRACELOG' __VA_ARGS__); \ ^~~~~~~~~~~ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6824:8: note: in expansion of macro 'BGET8W' BGET8W(&cdb[1], 4, 5)); ^~~~~~ In file included from istgt_lu_disk.c:53:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6843:9: note: in expansion of macro 'BGET8W' sa = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6876:9: note: in expansion of macro 'BGET8W' sa = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6877:12: note: in expansion of macro 'BGET8W' scope = BGET8W(&cdb[2], 7, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_disk.c:6878:11: note: in expansion of macro 'BGET8W' type = BGET8W(&cdb[2], 3, 4); ^~~~~~ --- istgt_lu_disk_vbox.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_lu_disk_vbox.o istgt_lu_disk_vbox.c --- istgt_lu_dvd.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_lu_dvd.o istgt_lu_dvd.c In file included from istgt_lu_dvd.c:54:0: istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_inquiry': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:704:9: note: in expansion of macro 'BGET8' evpd = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:711:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:711:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:736:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:736:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:759:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:759:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:772:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:772:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:775:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:775:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:776:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:776:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:799:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:799:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:802:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:802:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:803:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:803:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:830:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:830:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:833:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:833:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_DEVICE, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:834:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:834:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:852:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:852:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:855:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:855:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:856:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:856:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:874:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:874:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:877:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:877:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:878:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:878:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:903:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:903:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:906:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:906:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:907:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:907:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_TARGET_PORT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:930:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:930:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:933:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:933:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:934:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:934:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_LOGICAL_UNIT_GROUP, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:961:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:961:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:987:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:987:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1023:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1023:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1040:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1040:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1058:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1058:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1098:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1098:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1101:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1101:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1102:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1102:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1140:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1140:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1148:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1148:3: note: in expansion of macro 'BDADD8' BDADD8(&data[1], 1, 4); /* hierarchical support */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_sense_page': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1267:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1267:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 7); /* PS */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1270:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1270:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1271:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1271:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1275:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1275:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1278:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1278:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 2); /* WCE=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1280:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1280:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 2); /* WCE=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1283:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1283:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 0); /* RCD=1 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1285:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1285:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 0); /* RCD=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1362:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 3); /* DVD-ROM read */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1362:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 3); /* DVD-ROM read */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_sense6': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1430:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1430:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_mode_sense10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1507:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1507:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1608:7: note: in expansion of macro 'BGET8' ps = BGET8(&data[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1609:8: note: in expansion of macro 'BGET8' spf = BGET8(&data[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1647:10: note: in expansion of macro 'BGET8' wce = BGET8(&data[2], 2); /* WCE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1648:10: note: in expansion of macro 'BGET8' rcd = BGET8(&data[2], 0); /* RCD */ ^~~~~ istgt_lu_dvd.c:1598:6: warning: variable 'ps' set but not used [-Wunused-but-set-variable] int ps, spf, page, subpage; ^~ In file included from istgt_lu_dvd.c:54:0: istgt_lu_dvd.c: In function 'istgt_lu_dvd_get_feature_descriptor': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1699:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1700:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1708:4: note: in expansion of macro 'BSET8' BSET8(&cp[2], 0); /* CurrentP(0)=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1717:4: note: in expansion of macro 'BSET8' BSET8(&cp[2], 0); /* CurrentP(0)=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1731:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1732:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1738:3: note: in expansion of macro 'BCLR8' BCLR8(&data[8], 0); /* DBE=0*/ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1749:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1750:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1755:3: note: in expansion of macro 'BSET8' BSET8(&data[4], 3); /* eject via START/STOP YES */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1756:3: note: in expansion of macro 'BSET8' BSET8(&data[4], 0); /* locking YES */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1767:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1768:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1776:3: note: in expansion of macro 'BCLR8' BCLR8(&data[10], 0); /* PP=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1787:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 1); /* Persistent=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1788:3: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1800:3: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 1); /* Persistent=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1802:4: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1804:4: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 0); /* Current=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1809:3: note: in expansion of macro 'BCLR8' BCLR8(&data[4], 7); /* not support DAP */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1810:3: note: in expansion of macro 'BCLR8' BCLR8(&data[4], 1); /* not support C2 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1811:3: note: in expansion of macro 'BCLR8' BCLR8(&data[4], 0); /* not support CD-Text */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1822:3: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 1); /* Persistent=0 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1824:4: note: in expansion of macro 'BSET8' BSET8(&data[2], 0); /* Current=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:133:58: note: in expansion of macro 'BMASKW' #define BCLR8W(B,N,W) (*((uint8_t *)(B)) &= (uint8_t) (~(BMASKW((W))) << BSHIFTNW((N),(W)))) ^~~~~~ istgt_misc.h:139:21: note: in expansion of macro 'BCLR8W' #define BCLR8(B,N) (BCLR8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1826:4: note: in expansion of macro 'BCLR8' BCLR8(&data[2], 0); /* Current=0 */ ^~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_get_configuration': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:1872:8: note: in expansion of macro 'BGET8' if (BGET8(&cp[2], 0) == 1) { ^~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_get_event_status_notification': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1925:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1925:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1952:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:1952:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1974:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1974:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1981:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1981:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1991:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1991:5: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 1, 0); /* tray open */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1999:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:1999:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2006:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2006:6: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* tray close */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2024:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2024:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0, 3, 4); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2070:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x00, 6, 2); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2070:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x00, 6, 2); /* Ready */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2071:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], (selected_slot & 0x1f), 4, 5); /* slot low bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2071:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], (selected_slot & 0x1f), 4, 5); /* slot low bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2074:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], (selected_slot & 0xe0) >> 5, 2, 3); /* slot high bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2074:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[1], (selected_slot & 0xe0) >> 5, 2, 3); /* slot high bits */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2095:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 0); /* disc changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2095:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 1, 0); /* disc changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2104:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 0, 0); /* disc not changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2104:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[0], 0, 0); /* disc not changed */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2108:2: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* CWP=0 */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2108:2: note: in expansion of macro 'BDADD8' BDADD8(&cp[1], 0, 0); /* CWP=0 */ ^~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_scsi_read_disc_information': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2367:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0, 4, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2367:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0, 4, 1); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2368:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x03, 3, 2); /* Complete Session */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2368:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x03, 3, 2); /* Complete Session */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2369:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x02, 1, 2); /* Finalized Disc */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2369:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 0x02, 1, 2); /* Finalized Disc */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2380:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 6); /* Disc Bar Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2380:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 6); /* Disc Bar Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2381:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 5); /* Unrestricted Use Disc */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2381:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 1, 5); /* Unrestricted Use Disc */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2382:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 4); /* Disc Application Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_dvd.c:2382:3: note: in expansion of macro 'BDADD8' BDADD8(&data[7], 0, 4); /* Disc Application Code Valid */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2383:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[7], 0, 1, 2); /* BG Format Status */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2383:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[7], 0, 1, 2); /* BG Format Status */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2493:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 0x01, 3, 4); /* part 1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2493:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 0x01, 3, 4); /* part 1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2496:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0x0f, 3, 4); /* Not Specified */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2496:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], 0x0f, 3, 4); /* Not Specified */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2499:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 4, 1); /* Parallel Track Path */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2499:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 4, 1); /* Parallel Track Path */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2500:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 3, 4); /* embossed data */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2500:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 3, 4); /* embossed data */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2503:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0x00, 3, 4); /* 0.74 um/track */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2503:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0x00, 3, 4); /* 0.74 um/track */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2585:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 4, 5, 3); /* # of vendor */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2585:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 4, 5, 3); /* # of vendor */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2586:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 5, 2, 3); /* # of user */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2586:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], 5, 2, 3); /* # of user */ ^~~~~~~ istgt_lu_dvd.c: In function 'istgt_lu_dvd_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2948:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_dvd.c:2948:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3084:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[4], 7, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3085:9: note: in expansion of macro 'BGET8' fl = BGET8(&cdb[4], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3086:11: note: in expansion of macro 'BGET8' loej = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3087:12: note: in expansion of macro 'BGET8' start = BGET8(&cdb[4], 0); ^~~~~ istgt_lu_dvd.c:3082:12: warning: variable 'fl' set but not used [-Wunused-but-set-variable] int pc, fl, loej, start; ^~ istgt_lu_dvd.c:3082:8: warning: variable 'pc' set but not used [-Wunused-but-set-variable] int pc, fl, loej, start; ^~ In file included from istgt_lu_dvd.c:54:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3151:17: note: in expansion of macro 'BGET8' persistent = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3152:14: note: in expansion of macro 'BGET8' prevent = BGET8(&cdb[4], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3212:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3213:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_dvd.c:3210:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_dvd.c:3210:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_dvd.c:3210:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_dvd.c:54:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3254:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3255:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3273:11: note: in expansion of macro 'BGET8' llba = BGET8(&data[4], 0); /* Long LBA */ ^~~~~ istgt_lu_dvd.c:3251:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_dvd.c:3251:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_dvd.c:3251:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_dvd.c:54:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3308:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3309:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3310:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3348:12: note: in expansion of macro 'BGET8' llbaa = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3349:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3350:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3351:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3397:11: note: in expansion of macro 'BGET8' desc = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3470:9: note: in expansion of macro 'BGET8W' rt = BGET8W(&cdb[1], 1, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3513:13: note: in expansion of macro 'BGET8' polled = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3561:9: note: in expansion of macro 'BGET8W' dt = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_lu_dvd.c:3552:17: warning: variable 'type' set but not used [-Wunused-but-set-variable] int dt, mnd, type; ^~~~ istgt_lu_dvd.c:3552:12: warning: variable 'mnd' set but not used [-Wunused-but-set-variable] int dt, mnd, type; ^~~ istgt_lu_dvd.c:3552:8: warning: variable 'dt' set but not used [-Wunused-but-set-variable] int dt, mnd, type; ^~ In file included from istgt_lu_dvd.c:54:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3620:10: note: in expansion of macro 'BGET8' msf = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3621:13: note: in expansion of macro 'BGET8W' format = BGET8W(&cdb[2], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3663:15: note: in expansion of macro 'BGET8W' datatype = BGET8W(&cdb[1], 2, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3704:16: note: in expansion of macro 'BGET8W' mediatype = BGET8W(&cdb[1], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3707:11: note: in expansion of macro 'BGET8W' agid = BGET8W(&cdb[10], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3765:11: note: in expansion of macro 'BGET8W' agid = BGET8W(&cdb[10], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_dvd.c:3766:16: note: in expansion of macro 'BGET8W' keyformat = BGET8W(&cdb[10], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3822:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3823:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_lu_dvd.c:3807:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ istgt_lu_dvd.c:3807:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ In file included from istgt_lu_dvd.c:54:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3856:10: note: in expansion of macro 'BGET8' dpo = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_dvd.c:3857:10: note: in expansion of macro 'BGET8' fua = BGET8(&cdb[1], 3); ^~~~~ istgt_lu_dvd.c:3841:13: warning: variable 'fua' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ istgt_lu_dvd.c:3841:8: warning: variable 'dpo' set but not used [-Wunused-but-set-variable] int dpo, fua; ^~~ --- istgt_lu_tape.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_lu_tape.o istgt_lu_tape.c istgt_lu_tape.c: In function 'istgt_lu_tape_write_eof': istgt_lu_tape.c:479:32: warning: variable 'version' set but not used [-Wunused-but-set-variable] uint64_t lbpos, offset, prev, version, marklen; ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_write_bot': istgt_lu_tape.c:556:32: warning: variable 'version' set but not used [-Wunused-but-set-variable] uint64_t lbpos, offset, prev, version, marklen; ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_write_eod': istgt_lu_tape.c:620:6: warning: variable 'index_i' set but not used [-Wunused-but-set-variable] int index_i; ^~~~~~~ istgt_lu_tape.c:619:32: warning: variable 'version' set but not used [-Wunused-but-set-variable] uint64_t lbpos, offset, prev, version, marklen; ^~~~~~~ In file included from istgt_lu_tape.c:57:0: istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_inquiry': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:1596:9: note: in expansion of macro 'BGET8' evpd = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1603:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1603:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1647:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1647:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1670:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1670:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1683:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_ASCII, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1683:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_ASCII, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1686:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1686:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1687:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1687:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_T10_VENDOR_ID, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1713:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1713:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1716:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1716:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_LOGICAL_UNIT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1717:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1717:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1738:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1738:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1741:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1741:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1742:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1742:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_NAA, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1763:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1763:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[0], SPC_VPD_CODE_SET_BINARY, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1766:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1766:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1767:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1767:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[1], SPC_VPD_IDENTIFIER_TYPE_RELATIVE_TARGET_PORT, ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1983:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:1983:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2009:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2009:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2045:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2045:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2062:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2062:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[2], 0x00, 1, 2); /* Shared */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2080:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2080:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2120:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2120:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[0], SPC_VPD_CODE_SET_UTF8, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2123:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2123:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_ASSOCIATION_TARGET_PORT, 5, 2); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2124:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2124:5: note: in expansion of macro 'BDADD8W' BDADD8W(&cp2[1], SPC_VPD_IDENTIFIER_TYPE_SCSI_NAME, 3, 4); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2154:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2154:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2174:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2174:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2198:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2198:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2217:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2217:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2250:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2250:3: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], pd, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2422:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE data compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2422:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE data compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2423:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC data compression capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2423:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC data compression capable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2424:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE data decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2424:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE data decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2425:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED report exception on decompression */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2425:4: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED report exception on decompression */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2432:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE=1 compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2432:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 7); /* DCE=1 compression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2434:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 7); /* DCE=0 compression disable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2434:4: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 0, 7); /* DCE=0 compression disable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2437:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC=1 support compression */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2437:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[2], 1, 6); /* DCC=1 support compression */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2438:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE=1 decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2438:3: note: in expansion of macro 'BDADD8' BDADD8(&cp[3], 1, 7); /* DDE=1 decompression enable */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2439:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED=0 not support */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2439:3: note: in expansion of macro 'BDADD8W' BDADD8W(&cp[3], 0, 6, 2); /* RED=0 not support */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2463:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 0, 5); /* report setmarks not support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2463:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 0, 5); /* report setmarks not support */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2465:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 1, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2465:3: note: in expansion of macro 'BDADD8' BDADD8(&data[8], 1, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2467:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2467:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2468:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 3); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2468:3: note: in expansion of macro 'BDADD8' BDADD8(&data[10], 1, 3); ^~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_mode_sense6': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2601:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2601:4: note: in expansion of macro 'BDADD8' BDADD8(&data[2], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2607:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2607:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[2], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_mode_sense10': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2681:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_misc.h:137:24: note: in expansion of macro 'BDADD8W' #define BDADD8(B,D,N) (BDADD8W((B),(D),(N),1)) ^~~~~~~ istgt_lu_tape.c:2681:4: note: in expansion of macro 'BDADD8' BDADD8(&data[3], 1, 7); /* WP */ ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2687:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[3], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:2687:2: note: in expansion of macro 'BDADD8W' BDADD8W(&data[3], 1, 6, 3); /* Buffed Mode=1 */ ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2783:7: note: in expansion of macro 'BGET8' ps = BGET8(&data[0], 7); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2784:8: note: in expansion of macro 'BGET8' spf = BGET8(&data[0], 6); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2825:10: note: in expansion of macro 'BGET8' dce = BGET8(&data[2], 7); /* DCE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:2826:10: note: in expansion of macro 'BGET8' dde = BGET8(&data[3], 7); /* DDE */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:2827:10: note: in expansion of macro 'BGET8W' red = BGET8W(&data[3], 6, 2); /* RED */ ^~~~~~ istgt_lu_tape.c:2816:23: warning: variable 'decompalgo' set but not used [-Wunused-but-set-variable] uint32_t compalgo, decompalgo; ^~~~~~~~~~ istgt_lu_tape.c:2815:18: warning: variable 'red' set but not used [-Wunused-but-set-variable] int dce, dde, red; ^~~ istgt_lu_tape.c: In function 'istgt_lu_tape_shrink_media': istgt_lu_tape.c:2913:11: warning: variable 'marklen' set but not used [-Wunused-but-set-variable] uint64_t marklen; ^~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_space': istgt_lu_tape.c:3321:6: warning: variable 'found_bot' set but not used [-Wunused-but-set-variable] int found_bot = 0, found_eom = 0; ^~~~~~~~~ In file included from istgt_lu_tape.c:57:0: istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_read_position': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3565:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 7); /* BOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3568:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 6); /* EOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3571:3: note: in expansion of macro 'BSET8' BSET8(&data[0], 5); /* LOCU=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3573:3: note: in expansion of macro 'BSET8' BSET8(&data[0], 4); /* BYCU=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3577:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 0); /* PERR=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3600:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 7); /* BOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3603:4: note: in expansion of macro 'BSET8' BSET8(&data[0], 6); /* EOP=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3607:3: note: in expansion of macro 'BSET8' BSET8(&data[0], 3); /* MPU=1 */ ^~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_build_sense_data': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3656:3: note: in expansion of macro 'BSET8' BSET8(&cp[2], 7); /* FILEMARK=1 */ ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3659:3: note: in expansion of macro 'BSET8' BSET8(&cp[2], 6); /* EOM=1 */ ^~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_variable_lbread': istgt_lu_tape.c:3727:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ In file included from istgt_lu_tape.c:57:0: istgt_lu_tape.c: In function 'istgt_lu_tape_fixed_lbread': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:132:56: note: in expansion of macro 'BMASKW' #define BSET8W(B,N,W) (*((uint8_t *)(B)) |= (uint8_t) (BMASKW((W))) << BSHIFTNW((N),(W))) ^~~~~~ istgt_misc.h:138:21: note: in expansion of macro 'BSET8W' #define BSET8(B,N) (BSET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:3966:4: note: in expansion of macro 'BSET8' BSET8(&lu_cmd->sense_data[2+2], 5); /* ILI=1 */ ^~~~~ istgt_lu_tape.c:3859:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_variable_lbwrite': istgt_lu_tape.c:4020:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_fixed_lbwrite': istgt_lu_tape.c:4148:11: warning: variable 'mediasize' set but not used [-Wunused-but-set-variable] uint64_t mediasize; ^~~~~~~~~ In file included from istgt_lu_tape.c:57:0: istgt_lu_tape.c: In function 'istgt_lu_tape_execute': istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:130:42: note: in expansion of macro 'BMASKW' #define BDSET8W(B,D,N,W) DSET8((B),(((D)&BMASKW((W)))< 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:53: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:4388:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:39:52: note: in definition of macro 'DSET8' #define DSET8(B,D) (*((uint8_t *)(B)) = (uint8_t)(D)) ^ istgt_misc.h:131:108: note: in expansion of macro 'BMASKW' #define BDADD8W(B,D,N,W) DSET8((B),((DGET8((B)) & ~(BMASKW((W)) << BSHIFTNW((N),(W)))) | (uint8_t) (((D) & BMASKW((W))) << BSHIFTNW((N),(W))))) ^~~~~~ istgt_lu_tape.c:4388:4: note: in expansion of macro 'BDADD8W' BDADD8W(&data[0], 0x1f, 4, 5); ^~~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4537:11: note: in expansion of macro 'BGET8' hold = BGET8(&cdb[4], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4538:10: note: in expansion of macro 'BGET8' eot = BGET8(&cdb[4], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4539:12: note: in expansion of macro 'BGET8' reten = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4540:11: note: in expansion of macro 'BGET8' load = BGET8(&cdb[4], 0); ^~~~~ istgt_lu_tape.c:4535:19: warning: variable 'reten' set but not used [-Wunused-but-set-variable] int hold, eot, reten, load; ^~~~~ istgt_lu_tape.c:4535:14: warning: variable 'eot' set but not used [-Wunused-but-set-variable] int hold, eot, reten, load; ^~~ In file included from istgt_lu_tape.c:57:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4604:17: note: in expansion of macro 'BGET8' persistent = BGET8(&cdb[4], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4605:14: note: in expansion of macro 'BGET8' prevent = BGET8(&cdb[4], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4668:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4669:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_tape.c:4666:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_tape.c:4666:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_tape.c:4666:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_tape.c:57:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4716:9: note: in expansion of macro 'BGET8' pf = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4717:9: note: in expansion of macro 'BGET8' sp = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4735:11: note: in expansion of macro 'BGET8' llba = BGET8(&data[4], 0); /* Long LBA */ ^~~~~ istgt_lu_tape.c:4713:19: warning: variable 'dsp' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~ istgt_lu_tape.c:4713:15: warning: variable 'mt' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~ istgt_lu_tape.c:4713:8: warning: variable 'mdlen' set but not used [-Wunused-but-set-variable] int mdlen, mt, dsp, bdlen; ^~~~~ In file included from istgt_lu_tape.c:57:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4782:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4783:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4784:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4822:12: note: in expansion of macro 'BGET8' llbaa = BGET8(&cdb[1], 4); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4823:10: note: in expansion of macro 'BGET8' dbd = BGET8(&cdb[1], 3); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4824:9: note: in expansion of macro 'BGET8W' pc = BGET8W(&cdb[2], 7, 2); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:4825:11: note: in expansion of macro 'BGET8W' page = BGET8W(&cdb[2], 5, 6); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4886:11: note: in expansion of macro 'BGET8' desc = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:4960:12: note: in expansion of macro 'BGET8' xlong = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:5008:11: note: in expansion of macro 'BGET8W' code = BGET8W(&cdb[1], 3, 4); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5040:11: note: in expansion of macro 'BGET8' wsmk = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_lu_tape.c:5147:9: note: in expansion of macro 'BGET8W' sa = BGET8W(&cdb[1], 4, 5); ^~~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5185:9: note: in expansion of macro 'BGET8' bt = BGET8(&cdb[1], 2); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5186:9: note: in expansion of macro 'BGET8' cp = BGET8(&cdb[1], 1); ^~~~~ istgt_lu_tape.c:5176:16: warning: variable 'partition' set but not used [-Wunused-but-set-variable] int bt, cp, partition; ^~~~~~~~~ istgt_lu_tape.c:5176:8: warning: variable 'bt' set but not used [-Wunused-but-set-variable] int bt, cp, partition; ^~ In file included from istgt_lu_tape.c:57:0: istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5231:11: note: in expansion of macro 'BGET8' sili = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5232:12: note: in expansion of macro 'BGET8' fixed = BGET8(&cdb[1], 0); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5351:11: note: in expansion of macro 'BGET8' sili = BGET8(&cdb[1], 1); ^~~~~ istgt_misc.h:128:40: warning: left shift of negative value [-Wshift-negative-value] #define BMASKW(W) (((W) > 0) ? (~((~0) << (W))) : 0) ^ istgt_misc.h:134:67: note: in expansion of macro 'BMASKW' #define BGET8W(B,N,W) ((*((uint8_t *)(B)) >> BSHIFTNW((N),(W))) & BMASKW((W))) ^~~~~~ istgt_misc.h:140:21: note: in expansion of macro 'BGET8W' #define BGET8(B,N) (BGET8W((B),(N),1)) ^~~~~~ istgt_lu_tape.c:5352:12: note: in expansion of macro 'BGET8' fixed = BGET8(&cdb[1], 0); ^~~~~ istgt_lu_tape.c:5342:13: warning: variable 'rest' set but not used [-Wunused-but-set-variable] uint64_t rest; ^~~~ istgt_lu_tape.c: In function 'istgt_lu_tape_scsi_mode_select_page': istgt_lu_tape.c:2834:14: warning: this statement may fall through [-Wimplicit-fallthrough=] compalgo = TAPE_COMP_ALGORITHM; ^ istgt_lu_tape.c:2835:4: note: here case 0x03: /* ALDC 512 */ ^~~~ --- istgt_lu_pass.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_lu_pass.o istgt_lu_pass.c --- istgt_lu_ctl.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_lu_ctl.o istgt_lu_ctl.c --- istgt_log.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_log.o istgt_log.c --- istgt_conf.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_conf.o istgt_conf.c --- istgt_sock.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_sock.o istgt_sock.c --- istgt_misc.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_misc.o istgt_misc.c --- istgt_queue.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_queue.o istgt_queue.c --- istgt_crc32c.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_crc32c.o istgt_crc32c.c --- istgt_md5.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgt_md5.o istgt_md5.c --- istgtcontrol.o --- gcc -DHAVE_CONFIG_H -O2 -mieee -I/usr/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 -I/usr/include -I.. -I. -c -o istgtcontrol.o istgtcontrol.c --- istgtcontrol --- gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o istgtcontrol istgtcontrol.o istgt_conf.o istgt_log.o istgt_sock.o istgt_misc.o istgt_md5.o -lcrypto -lpthread --- istgt --- gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o istgt istgt.o istgt_iscsi.o istgt_iscsi_param.o istgt_lu.o istgt_lu_disk.o istgt_lu_disk_vbox.o istgt_lu_dvd.o istgt_lu_tape.o istgt_lu_pass.o istgt_lu_ctl.o istgt_log.o istgt_conf.o istgt_sock.o istgt_misc.o istgt_queue.o istgt_crc32c.o istgt_md5.o -lcrypto -lpthread --- istgt.large.conf --- --- istgt.conf --- --- istgt_netbsd.sh --- --- istgt.conf --- /usr/bin/sed -e 's:%%SYSCONFDIR%%:/usr/pkg/etc:g' -e 's:%%CONFIGDIR%%:/usr/pkg/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' < istgt.conf.in > istgt.conf --- istgt.large.conf --- /usr/bin/sed -e 's:%%SYSCONFDIR%%:/usr/pkg/etc:g' -e 's:%%CONFIGDIR%%:/usr/pkg/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' < istgt.large.conf.in > istgt.large.conf --- istgt_netbsd.sh --- /usr/bin/sed -e 's:%%SYSCONFDIR%%:/usr/pkg/etc:g' -e 's:%%CONFIGDIR%%:/usr/pkg/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' -e 's:%%BINDIR%%:/usr/pkg/bin:g' -e 's:%%SBINDIR%%:/usr/pkg/sbin:g' < istgt_netbsd.sh.in > istgt_netbsd.sh --- istgt.1 --- /usr/bin/sed -e 's:%%PREFIX%%:/usr/pkg:g' -e 's:%%CONFIGDIR%%:/usr/pkg/etc/istgt:g' -e 's:%%MEDIADIR%%:/var/istgt:g' < istgt.1.in > istgt.1 => Creating /tmp/pkgbuild/net/istgt/work.alpha/.rc.d/istgt