summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/channel.h
diff options
context:
space:
mode:
authorAlexander Curtin <alexander.curtin@unisys.com>2016-03-23 22:15:53 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commit85d83cd8c629e053e3aaec0a4dd6c798d46c109d (patch)
tree870a3c1f6b5efa4bdadbbfe8dd21136546e9a683 /drivers/staging/unisys/include/channel.h
parenta22f57c65062a5ca6b4e7ccfbd143c3819b9045b (diff)
downloadlinux-stable-85d83cd8c629e053e3aaec0a4dd6c798d46c109d.tar.gz
linux-stable-85d83cd8c629e053e3aaec0a4dd6c798d46c109d.tar.bz2
linux-stable-85d83cd8c629e053e3aaec0a4dd6c798d46c109d.zip
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>
Diffstat (limited to 'drivers/staging/unisys/include/channel.h')
-rw-r--r--drivers/staging/unisys/include/channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/include/channel.h b/drivers/staging/unisys/include/channel.h
index b3c747b77dd0..db4e6b28755b 100644
--- a/drivers/staging/unisys/include/channel.h
+++ b/drivers/staging/unisys/include/channel.h
@@ -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: