From b5029622ac86bb441dc5e641226fb1152fca02d7 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Fri, 24 Mar 2006 03:15:32 -0800 Subject: [PATCH] [PATCH] dasd: "cleanup dasd_ioctl" fix Cast the argument correctly. Cc: Christoph Hellwig Cc: Martin Schwidefsky Cc: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/s390/block/dasd_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /* -- 2.20.1