Commit 603a1989 authored by Jon Frisch's avatar Jon Frisch Committed by Greg Kroah-Hartman

staging: unisys: visorbus: rename typ to cr_type

This patch renames enum crash_obj_type typ to cr_type.
Signed-off-by: default avatarJon Frisch <jon.frisch@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4f5d9865
...@@ -470,7 +470,7 @@ enum crash_obj_type { ...@@ -470,7 +470,7 @@ enum crash_obj_type {
}; };
static int static int
save_crash_message(struct controlvm_message *msg, enum crash_obj_type typ) save_crash_message(struct controlvm_message *msg, enum crash_obj_type cr_type)
{ {
u32 local_crash_msg_offset; u32 local_crash_msg_offset;
u16 local_crash_msg_count; u16 local_crash_msg_count;
...@@ -502,7 +502,7 @@ save_crash_message(struct controlvm_message *msg, enum crash_obj_type typ) ...@@ -502,7 +502,7 @@ save_crash_message(struct controlvm_message *msg, enum crash_obj_type typ)
return err; return err;
} }
switch (typ) { switch (cr_type) {
case CRASH_DEV: case CRASH_DEV:
local_crash_msg_offset += sizeof(struct controlvm_message); local_crash_msg_offset += sizeof(struct controlvm_message);
err = visorchannel_write(chipset_dev->controlvm_channel, err = visorchannel_write(chipset_dev->controlvm_channel,
......
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