Commit 85d83cd8 authored by Alexander Curtin's avatar Alexander Curtin Committed by Greg Kroah-Hartman

staging: unisys: include: changed 'v' variable to 'state'

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: default avatarAlexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a22f57c6
...@@ -76,9 +76,9 @@ enum channel_clientstate { ...@@ -76,9 +76,9 @@ enum channel_clientstate {
}; };
static inline const u8 * static inline const u8 *
ULTRA_CHANNELCLI_STRING(u32 v) ULTRA_CHANNELCLI_STRING(u32 state)
{ {
switch (v) { switch (state) {
case CHANNELCLI_DETACHED: case CHANNELCLI_DETACHED:
return (const u8 *)("DETACHED"); return (const u8 *)("DETACHED");
case CHANNELCLI_DISABLED: case CHANNELCLI_DISABLED:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment