projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73fd546
)
SG: s390-scsi: missing size parameter in zfcp_address_to_sg()
author
Jens Axboe
<jens.axboe@oracle.com>
Fri, 26 Oct 2007 11:55:40 +0000
(13:55 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 29 Oct 2007 08:18:03 +0000
(09:18 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/s390/scsi/zfcp_def.h
patch
|
blob
|
history
diff --git
a/drivers/s390/scsi/zfcp_def.h
b/drivers/s390/scsi/zfcp_def.h
index
0754542
..
e268f79
100644
(file)
--- 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