Staging: hv: vmbus_drv: Rename the variable gChannelMessageTable
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: Abhishek Kane <v-abkane@microsoft.com> Signed-off-by: Hank Janssen <hjanssen@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
cf9dcba7ff
commit
b7c6b02f34
1 changed files with 3 additions and 3 deletions
|
@ -698,7 +698,7 @@ static void vmbus_onversion_response(
|
||||||
|
|
||||||
/* Channel message dispatch table */
|
/* Channel message dispatch table */
|
||||||
static struct vmbus_channel_message_table_entry
|
static struct vmbus_channel_message_table_entry
|
||||||
gChannelMessageTable[CHANNELMSG_COUNT] = {
|
channel_message_table[CHANNELMSG_COUNT] = {
|
||||||
{CHANNELMSG_INVALID, NULL},
|
{CHANNELMSG_INVALID, NULL},
|
||||||
{CHANNELMSG_OFFERCHANNEL, vmbus_onoffer},
|
{CHANNELMSG_OFFERCHANNEL, vmbus_onoffer},
|
||||||
{CHANNELMSG_RESCIND_CHANNELOFFER, vmbus_onoffer_rescind},
|
{CHANNELMSG_RESCIND_CHANNELOFFER, vmbus_onoffer_rescind},
|
||||||
|
@ -740,8 +740,8 @@ void vmbus_onmessage(void *context)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (gChannelMessageTable[hdr->msgtype].message_handler)
|
if (channel_message_table[hdr->msgtype].message_handler)
|
||||||
gChannelMessageTable[hdr->msgtype].message_handler(hdr);
|
channel_message_table[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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue