]> 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>
Tue, 1 Nov 2011 00:15:25 +0000 (11:15 +1100)
commit22b1f9effffa03e670d100507cd50e3faa041124
treee66497a973e0041031a5069a43262c3d4c8ef0f5
parent5cfe4f21b515df2c2cb91783116d7e9aa7cccce3
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