From: Sergey Vlasov <vsu@altlinux.ru>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: [git patches] 2.4.x SATA update
Date: Sat, 30 Jul 2005 21:37:28 +0400 [thread overview]
Message-ID: <20050730213728.58d4b667.vsu@altlinux.ru> (raw)
In-Reply-To: <42E93618.2070902@pobox.com>
[-- Attachment #1: Type: text/plain, Size: 1530 bytes --]
On Thu, 28 Jul 2005 15:46:32 -0400 Jeff Garzik wrote:
> +/**
> + * ata_sg_init_one - Associate command with memory buffer
> + * @qc: Command to be associated
> + * @buf: Memory buffer
> + * @buflen: Length of memory buffer, in bytes.
> + *
> + * Initialize the data-related elements of queued_cmd @qc
> + * to point to a single memory buffer, @buf of byte length @buflen.
> + *
> + * LOCKING:
> + * spin_lock_irqsave(host_set lock)
> + */
> +
> +
> +
> +/**
> + * ata_sg_init_one - Prepare a one-entry scatter-gather list.
> + * @qc: Queued command
> + * @buf: transfer buffer
> + * @buflen: length of buf
> + *
> + * Builds a single-entry scatter-gather list to initiate a
> + * transfer utilizing the specified buffer.
> + *
> + * LOCKING:
> + */
Which one of the above duplicated comments for ata_sg_init_one is
correct?
> +/**
> + * ata_sg_init - Associate command with scatter-gather table.
> + * @qc: Command to be associated
> + * @sg: Scatter-gather table.
> + * @n_elem: Number of elements in s/g table.
> + *
> + * Initialize the data-related elements of queued_cmd @qc
> + * to point to a scatter-gather table @sg, containing @n_elem
> + * elements.
> + *
> + * LOCKING:
> + * spin_lock_irqsave(host_set lock)
> + */
> +
> +
> +/**
> + * ata_sg_init - Assign a scatter gather list to a queued command
> + * @qc: Queued command
> + * @sg: Scatter-gather list
> + * @n_elem: length of sg list
> + *
> + * Attaches a scatter-gather list to a queued command.
> + *
> + * LOCKING:
> + */
More duplicated comments.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2005-07-30 17:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-28 19:46 [git patches] 2.4.x SATA update Jeff Garzik
2005-07-30 17:37 ` Sergey Vlasov [this message]
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=20050730213728.58d4b667.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
/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).