SG: s390-scsi: missing size parameter in zfcp_address_to_sg()

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
Jens Axboe 2007-10-26 13:55:40 +02:00
parent 73fd546aa7
commit 9335432959
1 changed files with 3 additions and 2 deletions

View File

@ -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
* @size: buffer size
*/
static inline void
zfcp_address_to_sg(void *address, struct scatterlist *list)
zfcp_address_to_sg(void *address, struct scatterlist *list, unsigned int size)
{
sg_set_buf(list, address, 0);
sg_set_buf(list, address, size);
}
#define REQUEST_LIST_SIZE 128