compiler warnings
This commit is contained in:
@@ -28,7 +28,7 @@ int T0182_writesame10_beyondeol(const char *initiator, const char *url, int data
|
|||||||
int ret, i, lun;
|
int ret, i, lun;
|
||||||
uint32_t block_size;
|
uint32_t block_size;
|
||||||
uint64_t num_blocks;
|
uint64_t num_blocks;
|
||||||
char buf[512];
|
unsigned char buf[512];
|
||||||
|
|
||||||
printf("0182_writesame10_beyondeol:\n");
|
printf("0182_writesame10_beyondeol:\n");
|
||||||
printf("=======================\n");
|
printf("=======================\n");
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ int T0183_writesame10_wrprotect(const char *initiator, const char *url, int data
|
|||||||
int ret, i, lun;
|
int ret, i, lun;
|
||||||
uint32_t block_size;
|
uint32_t block_size;
|
||||||
uint64_t num_blocks;
|
uint64_t num_blocks;
|
||||||
char buf[512];
|
unsigned char buf[512];
|
||||||
|
|
||||||
printf("0183_writesame10_wrptotect:\n");
|
printf("0183_writesame10_wrptotect:\n");
|
||||||
printf("=======================\n");
|
printf("=======================\n");
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ int T0184_writesame10_0blocks(const char *initiator, const char *url, int data_l
|
|||||||
struct iscsi_context *iscsi;
|
struct iscsi_context *iscsi;
|
||||||
struct scsi_task *task;
|
struct scsi_task *task;
|
||||||
struct scsi_readcapacity16 *rc16;
|
struct scsi_readcapacity16 *rc16;
|
||||||
int ret, i, lun;
|
int ret, lun;
|
||||||
uint32_t block_size;
|
uint32_t block_size;
|
||||||
uint64_t num_blocks;
|
uint64_t num_blocks;
|
||||||
unsigned char buf[512];
|
unsigned char buf[512];
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ int T0193_writesame16_wrprotect(const char *initiator, const char *url, int data
|
|||||||
int ret, i, lun;
|
int ret, i, lun;
|
||||||
uint32_t block_size;
|
uint32_t block_size;
|
||||||
uint64_t num_blocks;
|
uint64_t num_blocks;
|
||||||
char buf[512];
|
unsigned char buf[512];
|
||||||
|
|
||||||
printf("0193_writesame16_wrptotect:\n");
|
printf("0193_writesame16_wrptotect:\n");
|
||||||
printf("=======================\n");
|
printf("=======================\n");
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ int T0194_writesame16_0blocks(const char *initiator, const char *url, int data_l
|
|||||||
struct iscsi_context *iscsi;
|
struct iscsi_context *iscsi;
|
||||||
struct scsi_task *task;
|
struct scsi_task *task;
|
||||||
struct scsi_readcapacity16 *rc16;
|
struct scsi_readcapacity16 *rc16;
|
||||||
int ret, i, lun;
|
int ret, lun;
|
||||||
uint32_t block_size;
|
uint32_t block_size;
|
||||||
uint64_t num_blocks;
|
uint64_t num_blocks;
|
||||||
unsigned char buf[512];
|
unsigned char buf[512];
|
||||||
|
|||||||
Reference in New Issue
Block a user