]> 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 23:04:26 +0000 (10:04 +1100)
commit071e453fbb8b94cd8af04700a5e3f75d5b41c9bb
tree583f119b24fc44b4a39b548f99445888dbc52d75
parentf50f0cd79ac4d274a56942145476b92895beba2c
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