Linux mainline fork with MSM8998 patches | https://mainline.space | Currently supported devices: OnePlus 5/5T, Xiaomi Mi 6, F(x)tec Pro¹ (2019 QX1000 model) & Sony Xperia XZ Premium (UNTESTED!)
Find a file
Xianting Tian 9db81eca10 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>
2021-10-21 10:35:04 +02:00
arch Merge 5.15-rc6 into tty-next 2021-10-18 09:38:54 +02:00
block block-5.15-2021-10-17 2021-10-17 19:25:20 -10:00
certs
crypto
Documentation Merge 5.15-rc6 into tty-next 2021-10-18 09:38:54 +02:00
drivers virtio-console: remove unnecessary kmemdup() 2021-10-21 10:35:04 +02:00
fs io_uring-5.15-2021-10-17 2021-10-17 19:20:13 -10:00
include Merge 5.15-rc6 into tty-next 2021-10-18 09:38:54 +02:00
init
ipc
kernel
lib
LICENSES
mm
net Merge 5.15-rc6 into tty-next 2021-10-18 09:38:54 +02:00
samples
scripts
security
sound Merge 5.15-rc6 into tty-next 2021-10-18 09:38:54 +02:00
tools - Update section headers before the respective relocations to not 2021-10-17 17:41:39 -10:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile Linux 5.15-rc6 2021-10-17 20:00:13 -10:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.