Skip to content

Commit

Permalink
[PATCH] dasd: "cleanup dasd_ioctl" fix
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Bastian Blank authored and Linus Torvalds committed Mar 24, 2006
1 parent 88abaab commit b502962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/s390/block/dasd_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit b502962

Please sign in to comment.