[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 06/14] 9pfs: fix type in *_parse_opts declarations
From: |
Greg Kurz |
Subject: |
[Qemu-devel] [PULL 06/14] 9pfs: fix type in *_parse_opts declarations |
Date: |
Mon, 8 Jan 2018 15:28:23 +0100 |
To comply with the QEMU coding style.
Signed-off-by: Greg Kurz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
---
hw/9pfs/9p-handle.c | 2 +-
hw/9pfs/9p-local.c | 2 +-
hw/9pfs/9p-proxy.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/9pfs/9p-handle.c b/hw/9pfs/9p-handle.c
index 65b12de230c1..26ac90fc5ce3 100644
--- a/hw/9pfs/9p-handle.c
+++ b/hw/9pfs/9p-handle.c
@@ -652,7 +652,7 @@ static void handle_cleanup(FsContext *ctx)
g_free(data);
}
-static int handle_parse_opts(QemuOpts *opts, struct FsDriverEntry *fse)
+static int handle_parse_opts(QemuOpts *opts, FsDriverEntry *fse)
{
const char *sec_model = qemu_opt_get(opts, "security_model");
const char *path = qemu_opt_get(opts, "path");
diff --git a/hw/9pfs/9p-local.c b/hw/9pfs/9p-local.c
index e51af87309c6..155834db28e1 100644
--- a/hw/9pfs/9p-local.c
+++ b/hw/9pfs/9p-local.c
@@ -1459,7 +1459,7 @@ static void local_cleanup(FsContext *ctx)
g_free(data);
}
-static int local_parse_opts(QemuOpts *opts, struct FsDriverEntry *fse)
+static int local_parse_opts(QemuOpts *opts, FsDriverEntry *fse)
{
const char *sec_model = qemu_opt_get(opts, "security_model");
const char *path = qemu_opt_get(opts, "path");
diff --git a/hw/9pfs/9p-proxy.c b/hw/9pfs/9p-proxy.c
index 28b20a7c3dfa..652940726e72 100644
--- a/hw/9pfs/9p-proxy.c
+++ b/hw/9pfs/9p-proxy.c
@@ -1111,7 +1111,7 @@ static int connect_namedsocket(const char *path)
return sockfd;
}
-static int proxy_parse_opts(QemuOpts *opts, struct FsDriverEntry *fs)
+static int proxy_parse_opts(QemuOpts *opts, FsDriverEntry *fs)
{
const char *socket = qemu_opt_get(opts, "socket");
const char *sock_fd = qemu_opt_get(opts, "sock_fd");
--
2.13.6
- [Qemu-devel] [PULL 10/14] tests: virtio-9p: set DRIVER_OK before using the device, (continued)
- [Qemu-devel] [PULL 10/14] tests: virtio-9p: set DRIVER_OK before using the device, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 05/14] 9pfs: handle: fix type definition, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 04/14] 9pfs: fix some type definitions, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 07/14] 9pfs: fix error path in pdu_submit(), Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 08/14] 9pfs: make pdu_marshal() and pdu_unmarshal() static functions, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 02/14] 9pfs: fix XattrOperations typedef, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 13/14] 9pfs: deprecate handle backend, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 03/14] fsdev: fix some type definitions, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 12/14] fsdev: improve error handling of backend init, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 09/14] tests: virtio-9p: fix ISR dependence, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 06/14] 9pfs: fix type in *_parse_opts declarations,
Greg Kurz <=
- [Qemu-devel] [PULL 01/14] virtio-9p: move unrealize/realize after virtio_9p_transport definition, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 11/14] fsdev: improve error handling of backend opts parsing, Greg Kurz, 2018/01/08
- [Qemu-devel] [PULL 14/14] MAINTAINERS: Drop Aneesh as 9pfs maintainer, Greg Kurz, 2018/01/08
- Re: [Qemu-devel] [PULL 00/14] 9p patches for 2.12 20180108, Peter Maydell, 2018/01/09