From: Jens Axboe <jens.axboe@oracle.com>
To: Tony Breeds <tony@bakeyournoodle.com>
Cc: Linux Kernel ML <linux-kernel@vger.kernel.org>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Heiko Carstens <heiko.carstens@de.ibm.com>
Subject: Re: [PATCH] Update zfcp_sg_to_address() for new SG chanegs.
Date: Tue, 30 Oct 2007 09:04:39 +0100 [thread overview]
Message-ID: <20071030080439.GD4993@kernel.dk> (raw)
In-Reply-To: <20071030035138.GV24243@bakeyournoodle.com>
On Tue, Oct 30 2007, Tony Breeds wrote:
> Commit 642f149031d70415d9318b919d50b71e4724adbd Added args to
> zfcp_sg_to_address() but didn't update the defn. to know about them.
>
> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
> ---
>
> Only compile tested.
>
> drivers/s390/scsi/zfcp_def.h | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h
> index 0754542..e70cd95 100644
> --- a/drivers/s390/scsi/zfcp_def.h
> +++ b/drivers/s390/scsi/zfcp_def.h
> @@ -70,11 +70,12 @@ zfcp_sg_to_address(struct scatterlist *list)
> * zfcp_address_to_sg - set up struct scatterlist from kernel address
> * @address: kernel address
> * @list: struct scatterlist
> + * @len: buffer length
> */
> static inline void
> -zfcp_address_to_sg(void *address, struct scatterlist *list)
> +zfcp_address_to_sg(void *address, struct scatterlist *list, unsigned int len)
> {
> - sg_set_buf(list, address, 0);
> + sg_set_buf(list, address, len);
> }
>
> #define REQUEST_LIST_SIZE 128
Patch for that was merged yesterday.
--
Jens Axboe
prev parent reply other threads:[~2007-10-30 8:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-30 3:51 [PATCH] Update zfcp_sg_to_address() for new SG chanegs Tony Breeds
2007-10-30 8:04 ` Jens Axboe [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=20071030080439.GD4993@kernel.dk \
--to=jens.axboe@oracle.com \
--cc=heiko.carstens@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
--cc=tony@bakeyournoodle.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