linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Brian King <brking@us.ibm.com>
Cc: linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: [PATCH 01/15] libata: Setup nbytes in ata_sg_init_one
Date: Tue, 21 Mar 2006 20:46:57 -0500	[thread overview]
Message-ID: <4420AC91.4070007@pobox.com> (raw)
In-Reply-To: <200603172303.k2HN3voJ028508@d01av02.pok.ibm.com>

Brian King wrote:
> Setup nbytes in ata_sg_init_one to the total transfer length
> of the command.
> 
> Signed-off-by: Brian King <brking@us.ibm.com>
> ---
> 
>  libata-dev-bjking1/drivers/scsi/libata-core.c |    1 +
>  1 files changed, 1 insertion(+)
> 
> diff -puN drivers/scsi/libata-core.c~libata_setup_nbytes drivers/scsi/libata-core.c
> --- libata-dev/drivers/scsi/libata-core.c~libata_setup_nbytes	2006-03-17 15:35:26.000000000 -0600
> +++ libata-dev-bjking1/drivers/scsi/libata-core.c	2006-03-17 15:35:26.000000000 -0600
> @@ -2887,6 +2887,7 @@ void ata_sg_init_one(struct ata_queued_c
>  	qc->n_elem = 1;
>  	qc->orig_n_elem = 1;
>  	qc->buf_virt = buf;
> +	qc->nbytes = buflen;

Why?

This is largely an internal variable used by the ATAPI code.

	Jeff




  reply	other threads:[~2006-03-22  1:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-17 23:03 [PATCH 01/15] libata: Setup nbytes in ata_sg_init_one Brian King
2006-03-22  1:46 ` Jeff Garzik [this message]
2006-03-22 14:36   ` Brian King
  -- strict thread matches above, loose matches on Subject: below --
2006-02-06 15:42 [patch " brking
2006-02-09  7:14 ` Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4420AC91.4070007@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=brking@us.ibm.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).