X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fiscsi%2Fscsi-lowlevel.c;h=2c1b5d15b71e6a1abfcb5ee1b83dc87a89d9235c;hb=9f06b8f85927202c05751e43f285cbef8054052b;hp=620916fe77c05898607056bde90906015e351dc6;hpb=5d4a434d90373bc99e4bacc97eca5a4abddd700f;p=ccan diff --git a/ccan/iscsi/scsi-lowlevel.c b/ccan/iscsi/scsi-lowlevel.c index 620916fe..2c1b5d15 100644 --- a/ccan/iscsi/scsi-lowlevel.c +++ b/ccan/iscsi/scsi-lowlevel.c @@ -118,7 +118,7 @@ struct scsi_task *scsi_reportluns_cdb(int report_type, int alloc_len) } /* - * parse the data in blob and calcualte the size of a full report luns datain structure + * parse the data in blob and calculate the size of a full report luns datain structure */ static int scsi_reportluns_datain_getfullsize(struct scsi_task *task) { @@ -198,10 +198,10 @@ struct scsi_task *scsi_cdb_readcapacity10(int lba, int pmi) } /* - * parse the data in blob and calcualte the size of a full readcapacity10 datain structure + * parse the data in blob and calculate the size of a full readcapacity10 datain structure */ static int scsi_readcapacity10_datain_getfullsize(struct scsi_task *task - UNNEEDED_ATTRIBUTE) + UNUSED) { return 8; } @@ -268,7 +268,7 @@ struct scsi_task *scsi_cdb_inquiry(int evpd, int page_code, int alloc_len) } /* - * parse the data in blob and calcualte the size of a full inquiry datain structure + * parse the data in blob and calculate the size of a full inquiry datain structure */ static int scsi_inquiry_datain_getfullsize(struct scsi_task *task) { @@ -412,7 +412,7 @@ struct scsi_task *scsi_cdb_modesense6(int dbd, enum scsi_modesense_page_control } /* - * parse the data in blob and calcualte the size of a full report luns datain structure + * parse the data in blob and calculate the size of a full report luns datain structure */ static int scsi_modesense6_datain_getfullsize(struct scsi_task *task) {