diff options
author | Bastian Blank <bastian@waldi.eu.org> | 2006-03-24 11:15:32 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 15:33:18 (GMT) |
commit | b5029622ac86bb441dc5e641226fb1152fca02d7 (patch) | |
tree | f84822901347b4ceaabb7ae58ed06de8e98e9a02 | |
parent | 88abaab4f9b08381e30e737980a1c49d6b524dfc (diff) | |
download | linux-fsl-qoriq-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>
-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 d0c2d73..b8c80d2 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); } /* |