Skip to content

Commit

Permalink
VMCI: rename PPNset to ppn_set to avoid camel case
Browse files Browse the repository at this point in the history
Acked-by: Andy King <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
Dmitry Torokhov authored and gregkh committed Jan 17, 2013
1 parent 0e7894d commit e6389a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions drivers/misc/vmw_vmci/vmci_queue_pair.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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. */
Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion drivers/misc/vmw_vmci/vmci_queue_pair.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e6389a1

Please sign in to comment.