summaryrefslogtreecommitdiff
path: root/drivers/staging/unisys/include
diff options
context:
space:
mode:
authorBenjamin Romer <benjamin.romer@unisys.com>2014-09-30 12:08:47 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-02 09:49:29 -0700
commitb591ebf220e5dbf60ca8854337030c4d56520e99 (patch)
tree4b5c33d6d48b52f79924a6878a9605ecde1e3d89 /drivers/staging/unisys/include
parentb8fd990204db5e3c87b15e8641417cff31b56f94 (diff)
staging: unisys: Fix CamelCase in Issue_VMCALL_CHANNEL_MISMATCH()
Fix CamelCase names: Issue_VMCALL_CHANNEL_MISMATCH => issue_vmcall_channel_mismatch ChannelName => chname ItemName => item_name SourceLineNumber => line_no Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/include')
-rw-r--r--drivers/staging/unisys/include/uisutils.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/staging/unisys/include/uisutils.h b/drivers/staging/unisys/include/uisutils.h
index 81d21b1bae57..f12a3430228b 100644
--- a/drivers/staging/unisys/include/uisutils.h
+++ b/drivers/staging/unisys/include/uisutils.h
@@ -298,21 +298,20 @@ static inline int issue_vmcall_update_physical_time(u64 adjustment)
return result;
}
-static inline unsigned int
-Issue_VMCALL_CHANNEL_MISMATCH(const char *ChannelName,
- const char *ItemName,
- u32 SourceLineNumber, const char *path_n_fn)
+static inline unsigned int issue_vmcall_channel_mismatch(const char *chname,
+ const char *item_name, u32 line_no,
+ const char *path_n_fn)
{
VMCALL_CHANNEL_VERSION_MISMATCH_PARAMS params;
int result = VMCALL_SUCCESS;
u64 physaddr;
char *last_slash = NULL;
- strlcpy(params.ChannelName, ChannelName,
+ strlcpy(params.ChannelName, chname,
lengthof(VMCALL_CHANNEL_VERSION_MISMATCH_PARAMS, ChannelName));
- strlcpy(params.ItemName, ItemName,
+ strlcpy(params.ItemName, item_name,
lengthof(VMCALL_CHANNEL_VERSION_MISMATCH_PARAMS, ItemName));
- params.SourceLineNumber = SourceLineNumber;
+ params.SourceLineNumber = line_no;
last_slash = strrchr(path_n_fn, '/');
if (last_slash != NULL) {