summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@vmware.com>2013-01-10 15:41:42 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 12:07:39 -0800
commite6389a13e42d5388ec044ce8da1b3bcfa39598ef (patch)
treefe763613c17a8750686191a663bd4373288fc146 /drivers/misc
parent0e7894dc82bd9d4d82c16d16189f58da6d41d018 (diff)
VMCI: rename PPNset to ppn_set to avoid camel case
Acked-by: Andy King <acking@vmware.com> Signed-off-by: Dmitry Torokhov <dtor@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/vmw_vmci/vmci_queue_pair.c8
-rw-r--r--drivers/misc/vmw_vmci/vmci_queue_pair.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/vmw_vmci/vmci_queue_pair.c b/drivers/misc/vmw_vmci/vmci_queue_pair.c
index 6417a26df8d8..ef81fec0fcb4 100644
--- a/drivers/misc/vmw_vmci/vmci_queue_pair.c
+++ b/drivers/misc/vmw_vmci/vmci_queue_pair.c
@@ -231,7 +231,7 @@ struct qp_guest_endpoint {
u64 num_ppns;
void *produce_q;
void *consume_q;
- struct PPNSet ppn_set;
+ struct ppn_set ppn_set;
};
struct qp_list {
@@ -461,7 +461,7 @@ static int __qp_memcpy_from_queue(void *dest,
static int qp_alloc_ppn_set(void *prod_q,
u64 num_produce_pages,
void *cons_q,
- u64 num_consume_pages, struct PPNSet *ppn_set)
+ u64 num_consume_pages, struct ppn_set *ppn_set)
{
u32 *produce_ppns;
u32 *consume_ppns;
@@ -532,7 +532,7 @@ static int qp_alloc_ppn_set(void *prod_q,
/*
* Frees the two list of PPNs for a queue pair.
*/
-static void qp_free_ppn_set(struct PPNSet *ppn_set)
+static void qp_free_ppn_set(struct ppn_set *ppn_set)
{
if (ppn_set->initialized) {
/* Do not call these functions on NULL inputs. */
@@ -546,7 +546,7 @@ static void qp_free_ppn_set(struct PPNSet *ppn_set)
* Populates the list of PPNs in the hypercall structure with the PPNS
* of the produce queue and the consume queue.
*/
-static int qp_populate_ppn_set(u8 *call_buf, const struct PPNSet *ppn_set)
+static int qp_populate_ppn_set(u8 *call_buf, const struct ppn_set *ppn_set)
{
memcpy(call_buf, ppn_set->produce_ppns,
ppn_set->num_produce_pages * sizeof(*ppn_set->produce_ppns));
diff --git a/drivers/misc/vmw_vmci/vmci_queue_pair.h b/drivers/misc/vmw_vmci/vmci_queue_pair.h
index 8d8d6a1170c3..58c6959f6b6d 100644
--- a/drivers/misc/vmw_vmci/vmci_queue_pair.h
+++ b/drivers/misc/vmw_vmci/vmci_queue_pair.h
@@ -25,7 +25,7 @@
typedef int (*vmci_event_release_cb) (void *client_data);
/* Guest device port I/O. */
-struct PPNSet {
+struct ppn_set {
u64 num_produce_pages;
u64 num_consume_pages;
u32 *produce_ppns;