diff options
Diffstat (limited to 'drivers/char/virtio_console.c')
-rw-r--r-- | drivers/char/virtio_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 213373b5f17f..2bd6a9c302c8 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c | |||
@@ -379,7 +379,7 @@ static ssize_t send_control_msg(struct port *port, unsigned int event, | |||
379 | struct scatterlist sg[1]; | 379 | struct scatterlist sg[1]; |
380 | struct virtio_console_control cpkt; | 380 | struct virtio_console_control cpkt; |
381 | struct virtqueue *vq; | 381 | struct virtqueue *vq; |
382 | int len; | 382 | unsigned int len; |
383 | 383 | ||
384 | if (!use_multiport(port->portdev)) | 384 | if (!use_multiport(port->portdev)) |
385 | return 0; | 385 | return 0; |