From: Jens Axboe Date: Fri, 26 Oct 2007 11:55:40 +0000 (+0200) Subject: SG: s390-scsi: missing size parameter in zfcp_address_to_sg() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9335432959111c982c74177521305e6a3fb600a3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git SG: s390-scsi: missing size parameter in zfcp_address_to_sg() Signed-off-by: Jens Axboe --- diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 0754542978b6..e268f79bdbd2 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 + * @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