[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>
This commit is contained in:
parent
88abaab4f9
commit
b5029622ac
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue