summaryrefslogtreecommitdiffstats
path: root/include/linux/vmw_vmci_api.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-11-24 19:32:50 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-09 16:28:23 -0500
commitd838df2e5dcbb6ed4d82854869e9a30f9aeef6da (patch)
treedd72df4d21aa997d830a80683b5afc80852f5a01 /include/linux/vmw_vmci_api.h
parent56c39fb67cdb665ae67fba4975f5e20e6614cda6 (diff)
downloadblackbird-op-linux-d838df2e5dcbb6ed4d82854869e9a30f9aeef6da.tar.gz
blackbird-op-linux-d838df2e5dcbb6ed4d82854869e9a30f9aeef6da.zip
vmci: propagate msghdr all way down to __qp_memcpy_from_queue()
... and switch it to memcpy_to_msg() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/vmw_vmci_api.h')
-rw-r--r--include/linux/vmw_vmci_api.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/vmw_vmci_api.h b/include/linux/vmw_vmci_api.h
index 023430e265fe..5691f752ce8f 100644
--- a/include/linux/vmw_vmci_api.h
+++ b/include/linux/vmw_vmci_api.h
@@ -24,6 +24,7 @@
#define VMCI_KERNEL_API_VERSION_2 2
#define VMCI_KERNEL_API_VERSION VMCI_KERNEL_API_VERSION_2
+struct msghdr;
typedef void (vmci_device_shutdown_fn) (void *device_registration,
void *user_data);
@@ -75,8 +76,8 @@ ssize_t vmci_qpair_peek(struct vmci_qp *qpair, void *buf, size_t buf_size,
ssize_t vmci_qpair_enquev(struct vmci_qp *qpair,
void *iov, size_t iov_size, int mode);
ssize_t vmci_qpair_dequev(struct vmci_qp *qpair,
- void *iov, size_t iov_size, int mode);
-ssize_t vmci_qpair_peekv(struct vmci_qp *qpair, void *iov, size_t iov_size,
+ struct msghdr *msg, size_t iov_size, int mode);
+ssize_t vmci_qpair_peekv(struct vmci_qp *qpair, struct msghdr *msg, size_t iov_size,
int mode);
#endif /* !__VMW_VMCI_API_H__ */
OpenPOWER on IntegriCloud