X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=drivers%2Fchar%2Fvirtio_console.c;h=d433b1db1fdd79469ae7b744cf8f2514c3a0fab0;hb=b67be92feb486f800d80d72c67fd87b47b79b18e;hp=5da47e26a0124262734357853eb8290d6e817712;hpb=14986a34e1289424811443a524cdd9e1688c7913;p=cascardo%2Flinux.git diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 5da47e26a012..d433b1db1fdd 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -38,7 +38,6 @@ #include #include #include -#include #include "../tty/hvc/hvc_console.h" #define is_rproc_enabled IS_ENABLED(CONFIG_REMOTEPROC) @@ -889,7 +888,7 @@ static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf, return 0; /* Try lock this page */ - if (buf->ops->steal(pipe, buf) == 0) { + if (pipe_buf_steal(pipe, buf) == 0) { /* Get reference and unlock page for moving */ get_page(buf->page); unlock_page(buf->page);