aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorXianting Tian <xianting.tian@linux.alibaba.com>2021-10-15 10:46:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-21 10:35:04 +0200
commit9db81eca10ba2d84177fa076704db3a5d76863c3 (patch)
tree92e4d16e58c47d4ee2c02b3ecd96df93bae367d3 /drivers/tty
parenttty: hvc: pass DMA capable memory to put_chars() (diff)
downloadlinux-dev-9db81eca10ba2d84177fa076704db3a5d76863c3.tar.xz
linux-dev-9db81eca10ba2d84177fa076704db3a5d76863c3.zip
virtio-console: remove unnecessary kmemdup()
This revert commit c4baad5029 ("virtio-console: avoid DMA from stack") hvc framework will never pass stack memory to the put_chars() function, So the calling of kmemdup() is unnecessary, we can remove it. Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com> Reviewed-by: Shile Zhang <shile.zhang@linux.alibaba.com> Link: https://lore.kernel.org/r/20211015024658.1353987-4-xianting.tian@linux.alibaba.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions