]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: unisys: include: changed 'v' variable to 'state'
authorAlexander Curtin <alexander.curtin@unisys.com>
Thu, 24 Mar 2016 02:15:53 +0000 (22:15 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
The argument for ULTRA_CHANNELCLI_STRING is supposed to be
an integer representing the channel state. 'state' is a more
descriptive variable name for this.

Signed-off-by: Alexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/include/channel.h

index b3c747b77dd06d5ee11837bcdb477d29b3377599..db4e6b28755b45066c73023fade02524d8a17765 100644 (file)
@@ -76,9 +76,9 @@ enum channel_clientstate {
 };
 
 static inline const u8 *
-ULTRA_CHANNELCLI_STRING(u32 v)
+ULTRA_CHANNELCLI_STRING(u32 state)
 {
-       switch (v) {
+       switch (state) {
        case CHANNELCLI_DETACHED:
                return (const u8 *)("DETACHED");
        case CHANNELCLI_DISABLED: