mirror of https://gitee.com/openkylin/linux.git
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:
parent
73fd546aa7
commit
9335432959
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue