提交 93354329 编写于 作者: J Jens Axboe

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

Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
上级 73fd546a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册