mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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>
This commit is contained in:
parent
a08fa92d16
commit
defde66996
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ fail:
|
|||
}
|
||||
|
||||
/* Callers should take appropriate locks */
|
||||
static void *get_inbuf(struct port *port)
|
||||
static struct port_buffer *get_inbuf(struct port *port)
|
||||
{
|
||||
struct port_buffer *buf;
|
||||
struct virtqueue *vq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue