Commit Graph

3 Commits

Author SHA1 Message Date
Alexey Kardashevskiy c79e3375e6 virtio: Compile with -Wextra
-Wextra enables a bunch of rather useful checks which this fixes.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2021-02-12 13:46:16 +11:00
Nikunj A Dadhania 4f26878f17 virtio-net: fix gcc warnings (-Wextra)
Change rx_size type which originally should have been uint32_t. This
also requires a change in the function prototype.

Also change the return type of virtio_9p_load() to silence another gcc
warning

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2016-02-08 16:40:38 +11:00
Benjamin Herrenschmidt 44e8d9a57d Add virtfs support
Code originally written by Timothy Rule and reworked &
bug fixed by myself

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-01-19 17:17:50 +11:00