diff options
author | Bastian Blank <bastian@waldi.eu.org> | 2006-03-24 14:15:32 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 18:33:18 +0300 |
commit | b5029622ac86bb441dc5e641226fb1152fca02d7 (patch) | |
tree | f84822901347b4ceaabb7ae58ed06de8e98e9a02 /drivers/s390/block/dasd_ioctl.c | |
parent | 88abaab4f9b08381e30e737980a1c49d6b524dfc (diff) | |
download | linux-b5029622ac86bb441dc5e641226fb1152fca02d7.tar.xz |
[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/block/dasd_ioctl.c')
-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 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); } /* |