]> git.karo-electronics.de Git - karo-tx-linux.git/commit
virtio: console: Fix return type for get_inbuf()
authorAmit Shah <amit.shah@redhat.com>
Wed, 14 Sep 2011 07:36:42 +0000 (13:06 +0530)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Oct 2011 20:12:23 +0000 (07:12 +1100)
commite74e8f867c4e2456608b7653b26900201b810ed0
tree4218ea706abb39d08f0a99b4a832610e4eddb89f
parentc672261418f71c3108ba7597c53c67339ef0fe6f
virtio: console: Fix return type for get_inbuf()

get_inbuf() returns void *.  There's no reason to return void pointers
instead of the correct struct port_buffer *.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c