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........  :(

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to