mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[PATCH] dasd: "cleanup dasd_ioctl" fix
Cast the argument correctly. Cc: Christoph Hellwig <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Heiko Carstens <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
88abaab4f9
commit
b5029622ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue