Skip to content

Commit e6389a1

Browse files
Dmitry Torokhovgregkh
authored andcommitted
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>
1 parent 0e7894d commit e6389a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

drivers/misc/vmw_vmci/vmci_queue_pair.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ struct qp_guest_endpoint {
231231
u64 num_ppns;
232232
void *produce_q;
233233
void *consume_q;
234-
struct PPNSet ppn_set;
234+
struct ppn_set ppn_set;
235235
};
236236

237237
struct qp_list {
@@ -461,7 +461,7 @@ static int __qp_memcpy_from_queue(void *dest,
461461
static int qp_alloc_ppn_set(void *prod_q,
462462
u64 num_produce_pages,
463463
void *cons_q,
464-
u64 num_consume_pages, struct PPNSet *ppn_set)
464+
u64 num_consume_pages, struct ppn_set *ppn_set)
465465
{
466466
u32 *produce_ppns;
467467
u32 *consume_ppns;
@@ -532,7 +532,7 @@ static int qp_alloc_ppn_set(void *prod_q,
532532
/*
533533
* Frees the two list of PPNs for a queue pair.
534534
*/
535-
static void qp_free_ppn_set(struct PPNSet *ppn_set)
535+
static void qp_free_ppn_set(struct ppn_set *ppn_set)
536536
{
537537
if (ppn_set->initialized) {
538538
/* Do not call these functions on NULL inputs. */
@@ -546,7 +546,7 @@ static void qp_free_ppn_set(struct PPNSet *ppn_set)
546546
* Populates the list of PPNs in the hypercall structure with the PPNS
547547
* of the produce queue and the consume queue.
548548
*/
549-
static int qp_populate_ppn_set(u8 *call_buf, const struct PPNSet *ppn_set)
549+
static int qp_populate_ppn_set(u8 *call_buf, const struct ppn_set *ppn_set)
550550
{
551551
memcpy(call_buf, ppn_set->produce_ppns,
552552
ppn_set->num_produce_pages * sizeof(*ppn_set->produce_ppns));

drivers/misc/vmw_vmci/vmci_queue_pair.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
typedef int (*vmci_event_release_cb) (void *client_data);
2626

2727
/* Guest device port I/O. */
28-
struct PPNSet {
28+
struct ppn_set {
2929
u64 num_produce_pages;
3030
u64 num_consume_pages;
3131
u32 *produce_ppns;

0 commit comments

Comments
 (0)