1
0
Fork 0

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: Alexander Curtin <alexander.curtin@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
hifive-unleashed-5.1
Alexander Curtin 2016-03-23 22:15:53 -04:00 committed by Greg Kroah-Hartman
parent a22f57c650
commit 85d83cd8c6
1 changed files with 2 additions and 2 deletions

View 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: