diff options
author | Bastian Blank <bastian@waldi.eu.org> | 2006-03-24 06:15:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:18 -0500 |
commit | b5029622ac86bb441dc5e641226fb1152fca02d7 (patch) | |
tree | f84822901347b4ceaabb7ae58ed06de8e98e9a02 /drivers/s390 | |
parent | 88abaab4f9b08381e30e737980a1c49d6b524dfc (diff) |
[PATCH] dasd: "cleanup dasd_ioctl" fix
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>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/block/dasd_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_ioctl.c b/drivers/s390/block/dasd_ioctl.c index d0c2d732dcff..b8c80d28df41 100644 --- a/drivers/s390/block/dasd_ioctl.c +++ b/drivers/s390/block/dasd_ioctl.c | |||
@@ -29,7 +29,7 @@ static int | |||
29 | dasd_ioctl_api_version(void __user *argp) | 29 | dasd_ioctl_api_version(void __user *argp) |
30 | { | 30 | { |
31 | int ver = DASD_API_VERSION; | 31 | int ver = DASD_API_VERSION; |
32 | return put_user(ver, (int *)argp); | 32 | return put_user(ver, (int __user *)argp); |
33 | } | 33 | } |
34 | 34 | ||
35 | /* | 35 | /* |