[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 06/23] hw/pvrdma: Make function reset_device retu
From: |
Yuval Shaia |
Subject: |
[Qemu-devel] [PATCH v7 06/23] hw/pvrdma: Make function reset_device return void |
Date: |
Mon, 17 Dec 2018 10:10:30 +0200 |
This function cannot fail - fix it to return void
Signed-off-by: Yuval Shaia <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
---
hw/rdma/vmw/pvrdma_main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/rdma/vmw/pvrdma_main.c b/hw/rdma/vmw/pvrdma_main.c
index 6c8c0154fa..fc2abd34af 100644
--- a/hw/rdma/vmw/pvrdma_main.c
+++ b/hw/rdma/vmw/pvrdma_main.c
@@ -369,13 +369,11 @@ static int unquiesce_device(PVRDMADev *dev)
return 0;
}
-static int reset_device(PVRDMADev *dev)
+static void reset_device(PVRDMADev *dev)
{
pvrdma_stop(dev);
pr_dbg("Device reset complete\n");
-
- return 0;
}
static uint64_t regs_read(void *opaque, hwaddr addr, unsigned size)
--
2.17.2
- [Qemu-devel] [PATCH v7 00/23] Add support for RDMA MAD, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 01/23] contrib/rdmacm-mux: Add implementation of RDMA User MAD multiplexer, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 03/23] hw/rdma: Return qpn 1 if ibqp is NULL, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 04/23] hw/rdma: Abort send-op if fail to create addr handler, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 02/23] hw/rdma: Add ability to force notification without re-arm, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 06/23] hw/pvrdma: Make function reset_device return void,
Yuval Shaia <=
- [Qemu-devel] [PATCH v7 07/23] hw/pvrdma: Make default pkey 0xFFFF, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 05/23] hw/rdma: Add support for MAD packets, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 10/23] qapi: Define new QMP message for pvrdma, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 08/23] hw/pvrdma: Set the correct opcode for recv completion, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 09/23] hw/pvrdma: Set the correct opcode for send completion, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 12/23] vmxnet3: Move some definitions to header file, Yuval Shaia, 2018/12/17
- [Qemu-devel] [PATCH v7 11/23] hw/pvrdma: Add support to allow guest to configure GID table, Yuval Shaia, 2018/12/17