]> git.karo-electronics.de Git - mv-sheeva.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)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 2 Nov 2011 01:11:00 +0000 (11:41 +1030)
commitdefde66996476295dc7b1b60ea318965f8c3ad86
tree8dcf44f08a9287dec917e36808867e7943ea0b01
parenta08fa92d16f2fa112e3400c6c513d23ae78b960a
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