On 04/04/2016 05:49 PM, Tejun Heo wrote:
> On Mon, Apr 04, 2016 at 11:47:48AM +0200, Hannes Reinecke wrote:
>> +/*
> 
> /**
> 
>> + * ata_scsi_report_zones_complete
>> + *
>> + * Convert T-13 little-endian field representation into
>> + * T-10 big-endian field representation.
>> + */
>> +static void ata_scsi_report_zones_complete(struct ata_queued_cmd *qc)
>> +{
>> +    struct scsi_cmnd *scmd = qc->scsicmd;
>> +    struct sg_mapping_iter miter;
>> +    unsigned long flags;
>> +    unsigned int bytes = 0;
>> +
>> +    sg_miter_start(&miter, scsi_sglist(scmd), scsi_sg_count(scmd),
>> +                   SG_MITER_TO_SG | SG_MITER_ATOMIC);
>> +
>> +    local_irq_save(flags);
>> +    while (sg_miter_next(&miter)) {
>> +            unsigned int offset = 0;
> 
> Not this patch's fault but ugh........  :(
> 
I know. I've been asking the very same questions to T-13.
But apparently it's by design ... gnaa.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Teamlead Storage & Networking
[email protected]                                   +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to