James, > +static u32 > +lpfc_scsi_get_reftag(struct scsi_cmnd *sc) > +{ > + sector_t lba; > + > + lba = scsi_get_lba(sc); > + > + /* Now truncate the LBA to 4 bytes, reftag size */ > + return (u32)(lba & 0xffffffff); > +} > + ref_tag = t10_pi_ref_tag(sc->request); -- Martin K. Petersen Oracle Linux Engineering