staging: unisys: visorchannel: Rename CamelCase variable nQueues
authorBryan Thompson <bryan.thompson@unisys.com>
Fri, 5 Dec 2014 22:09:23 +0000 (17:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Jan 2015 01:32:35 +0000 (17:32 -0800)
Rename the visorchannel_debug parameter nQueues to num_queues.

Signed-off-by: Bryan Thompson <bryan.thompson@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorchannel/visorchannel.h
drivers/staging/unisys/visorchannel/visorchannel_funcs.c

index 5dbfddbe2aa275391d5f5fa7f862d9beecc34243..3f2184c76837de7ece68192f7d267d3da06720ad 100644 (file)
@@ -68,7 +68,7 @@ u64 visorchannel_get_clientpartition(VISORCHANNEL *channel);
 uuid_le visorchannel_get_uuid(VISORCHANNEL *channel);
 struct memregion *visorchannel_get_memregion(VISORCHANNEL *channel);
 char *visorchannel_uuid_id(uuid_le *guid, char *s);
-void visorchannel_debug(VISORCHANNEL *channel, int nQueues,
+void visorchannel_debug(VISORCHANNEL *channel, int num_queues,
                        struct seq_file *seq, u32 off);
 void visorchannel_dump_section(VISORCHANNEL *chan, char *s,
                               int off, int len, struct seq_file *seq);
index 6601b3e32a3c3be9157f1a89b1435049d877c3cb..1568b95ded47dd6145310bed1b80435a6aff406d 100644 (file)
@@ -565,7 +565,7 @@ sigqueue_debug(struct signal_queue_header *q, int which, struct seq_file *seq)
 }
 
 void
-visorchannel_debug(VISORCHANNEL *channel, int nQueues,
+visorchannel_debug(VISORCHANNEL *channel, int num_queues,
                   struct seq_file *seq, u32 off)
 {
        HOSTADDRESS addr = 0;
@@ -625,7 +625,7 @@ visorchannel_debug(VISORCHANNEL *channel, int nQueues,
        if ((phdr->ch_space_offset == 0) || (errcode < 0))
                ;
        else
-               for (i = 0; i < nQueues; i++) {
+               for (i = 0; i < num_queues; i++) {
                        struct signal_queue_header q;
 
                        errcode = visorchannel_read(channel,