staging: unisys: visorbus: rename typ to cr_type
authorJon Frisch <jon.frisch@unisys.com>
Fri, 19 May 2017 20:17:35 +0000 (16:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:53:12 +0000 (18:53 +0200)
This patch renames enum crash_obj_type typ to cr_type.

Signed-off-by: Jon Frisch <jon.frisch@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c

index 4cfd0fae9bd5b492acd931abce2d83ef88f37a86..951e009a5dd6b863631f0b0db2919ab4989f5e57 100644 (file)
@@ -470,7 +470,7 @@ enum crash_obj_type {
 };
 
 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;
        u16 local_crash_msg_count;
@@ -502,7 +502,7 @@ save_crash_message(struct controlvm_message *msg, enum crash_obj_type typ)
                return err;
        }
 
-       switch (typ) {
+       switch (cr_type) {
        case CRASH_DEV:
                local_crash_msg_offset += sizeof(struct controlvm_message);
                err = visorchannel_write(chipset_dev->controlvm_channel,