--- v4
+++ v12
@@ -1,9 +1,10 @@
+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.
-This revert commit c4baad5029 ("virtio-console: avoid DMA from stack")
-
Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
+Reviewed-by: Shile Zhang <shile.zhang@linux.alibaba.com>
---
drivers/char/virtio_console.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)