projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eaa5eec
)
virtio: console: Fix type of 'len' as unsigned int
author
Amit Shah
<amit.shah@redhat.com>
Wed, 24 Feb 2010 05:06:51 +0000
(10:36 +0530)
committer
Amit Shah
<amit.shah@redhat.com>
Thu, 4 Mar 2010 08:10:33 +0000
(13:40 +0530)
We declare 'len' as int type but it should be 'unsigned int', as
get_buf() wants it to be.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reported-by: Juan Quintela <quintela@redhat.com>
drivers/char/virtio_console.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/virtio_console.c
b/drivers/char/virtio_console.c
index 213373b5f17fc61e2112001a23811e82e44bcc63..2bd6a9c302c85dddef371137c14ddbad39985cc1 100644
(file)
--- 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,
struct scatterlist sg[1];
struct virtio_console_control cpkt;
struct virtqueue *vq;
- int len;
+
unsigned
int len;
if (!use_multiport(port->portdev))
return 0;