Commit 93354329 authored by Jens Axboe's avatar Jens Axboe

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

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 73fd546a
...@@ -70,11 +70,12 @@ zfcp_sg_to_address(struct scatterlist *list) ...@@ -70,11 +70,12 @@ zfcp_sg_to_address(struct scatterlist *list)
* zfcp_address_to_sg - set up struct scatterlist from kernel address * zfcp_address_to_sg - set up struct scatterlist from kernel address
* @address: kernel address * @address: kernel address
* @list: struct scatterlist * @list: struct scatterlist
* @size: buffer size
*/ */
static inline void 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 #define REQUEST_LIST_SIZE 128
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment