]> 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>
Wed, 5 Oct 2011 01:01:22 +0000 (12:01 +1100)
commit7d0a4e6a3ff4326a67010220cffcd02fadd45798
treec056448a9ef2296a2976da5fdf642ceeac40f8bd
parent9a73228c56a11807b30ead34768043de2850a05a
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