Make task->residual a size_t instead of an int

Update and improve the log messages for failures for the read10 invalid test
This commit is contained in:
Ronnie Sahlberg
2013-03-23 11:23:02 -07:00
parent 2d10d0a2d8
commit 808eed9680
8 changed files with 88 additions and 29 deletions

View File

@@ -267,7 +267,7 @@ struct scsi_task {
unsigned char cdb[SCSI_CDB_MAX_SIZE];
enum scsi_residual residual_status;
int residual;
size_t residual;
struct scsi_sense sense;
struct scsi_data datain;
struct scsi_allocated_memory *mem;