Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 52f6f9d upstream. As sparse points out, these two copy_from_user() should actually be copy_to_user(). Fixes: 229b53c ("take floppy compat ioctls to sodding floppy.c") Cc: stable@vger.kernel.org Acked-by: Alexander Popov <alex.popov@linux.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information