]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drivers/block/floppy.c: remove unnecessary casting in fd_ioctl
authorJoe Perches <joe@perches.com>
Wed, 10 Mar 2010 23:21:11 +0000 (15:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:31 +0000 (15:52 -0800)
commit724ee626f38feaea215a11790e1a0cb5d83b0628
tree499e03c265dd8de1d5b145d1a413b45b186b5694
parent0aad92cfea6fec14bd57dd9c283cc6eb023c97bd
drivers/block/floppy.c: remove unnecessary casting in fd_ioctl

Convert outparam to const void *.
Cast outparam to const char * for strlen().

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/floppy.c