diff options
author | Jann Horn <jannh@google.com> | 2019-03-27 01:03:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-21 08:17:14 +0300 |
commit | c3817ffb10369fac0979f0c4367159c412ccc3d8 (patch) | |
tree | 5905d60bb54456e6544d4db53903d2a2aeee64ce /scripts/gdb/linux/utils.py | |
parent | 9c13e770cca978b8d5c870f2270cdf3a10c63817 (diff) | |
download | linux-c3817ffb10369fac0979f0c4367159c412ccc3d8.tar.xz |
floppy: fix usercopy direction
commit 52f6f9d74f31078964ca1574f7bb612da7877ac8 upstream.
As sparse points out, these two copy_from_user() should actually be
copy_to_user().
Fixes: 229b53c9bf4e ("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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions