Commit b5029622ac86bb441dc5e641226fb1152fca02d7

Authored by Bastian Blank
Committed by Linus Torvalds
1 parent 88abaab4f9

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/s390/block/dasd_ioctl.c
... ... @@ -29,7 +29,7 @@
29 29 dasd_ioctl_api_version(void __user *argp)
30 30 {
31 31 int ver = DASD_API_VERSION;
32   - return put_user(ver, (int *)argp);
  32 + return put_user(ver, (int __user *)argp);
33 33 }
34 34  
35 35 /*