Commit fa90f1de authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman

Staging: hv: vmbus_drv: Rename the variable messageHandler

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarAbhishek Kane <v-abkane@microsoft.com>
Signed-off-by: default avatarHank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 50b03266
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
struct vmbus_channel_message_table_entry { struct vmbus_channel_message_table_entry {
enum vmbus_channel_message_type messageType; enum vmbus_channel_message_type messageType;
void (*messageHandler)(struct vmbus_channel_message_header *msg); void (*message_handler)(struct vmbus_channel_message_header *msg);
}; };
#define MAX_MSG_TYPES 4 #define MAX_MSG_TYPES 4
...@@ -740,8 +740,8 @@ void vmbus_onmessage(void *context) ...@@ -740,8 +740,8 @@ void vmbus_onmessage(void *context)
return; return;
} }
if (gChannelMessageTable[hdr->msgtype].messageHandler) if (gChannelMessageTable[hdr->msgtype].message_handler)
gChannelMessageTable[hdr->msgtype].messageHandler(hdr); gChannelMessageTable[hdr->msgtype].message_handler(hdr);
else else
pr_err("Unhandled channel message type %d\n", hdr->msgtype); pr_err("Unhandled channel message type %d\n", hdr->msgtype);
} }
......
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