> "Akinobu" == Akinobu Mita writes:
+ sector += len / sizeof(*dif_storep);
I'd rather see sizeof(struct scsi_dif_tuple) here. But that's just
personal preference. Otherwise ok.
--
Martin K. Petersen Oracle Linux Engineering
--
To unsubscribe from this list: send the line
dif_storep is declared as pointer to unsigned char type. But it is
actually used to store vmalloced array of struct sd_dif_tuple.
This changes the type of dif_storep to the pointer to struct sd_dif_tuple.
It simplifies offset calculation for dif_storep and enables to remove
hardcoded size of stru
2 matches
Mail list logo