projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88abaab
)
[PATCH] dasd: "cleanup dasd_ioctl" fix
author
Bastian Blank
<bastian@waldi.eu.org>
Fri, 24 Mar 2006 11:15:32 +0000
(
03:15
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 24 Mar 2006 15:33:18 +0000
(07:33 -0800)
Cast the argument correctly.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/block/dasd_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/s390/block/dasd_ioctl.c
b/drivers/s390/block/dasd_ioctl.c
index d0c2d732dcff574d0596222b8510a9279f431cb2..b8c80d28df41dba762d8827608fd22e5c5c93e2f 100644
(file)
--- a/
drivers/s390/block/dasd_ioctl.c
+++ b/
drivers/s390/block/dasd_ioctl.c
@@
-29,7
+29,7
@@
static int
dasd_ioctl_api_version(void __user *argp)
{
int ver = DASD_API_VERSION;
- return put_user(ver, (int *)argp);
+ return put_user(ver, (int
__user
*)argp);
}
/*