]> 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>
Thu, 15 Sep 2011 00:38:13 +0000 (10:38 +1000)
commit2d19fa1d14716d498037740a21f9bbe2502fd43d
tree9808ba8a308812d73994cc61b2002e4583c1c83a
parent4d4ecdb9bfe6bc54fa2cdc3142f826a74b78494a
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