virtio: console: Fix type of 'len' as unsigned int
authorAmit Shah <amit.shah@redhat.com>
Wed, 24 Feb 2010 05:06:51 +0000 (10:36 +0530)
committerAmit Shah <amit.shah@redhat.com>
Thu, 4 Mar 2010 08:10:33 +0000 (13:40 +0530)
commit604b2ad7ccb11569d3b843bb1ce0fbe034e70769
tree16da7dee1fdadf367a583b1642adb3b97628f4bc
parenteaa5eec739637f32f8733d528ff0b94fd62b1214
virtio: console: Fix type of 'len' as unsigned int

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