Re: [PATCH 1/4] libata: implement ZBC IN translation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux