From: K. Y. Srinivasan Date: Tue, 10 May 2011 14:55:36 +0000 (-0700) Subject: Staging: hv: vmbus_drv: Rename the variable messageHandler X-Git-Tag: firefly_0821_release~7613^2~1326^2~324 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fa90f1de21a038ff36526d2366ad25ab35f21188;p=firefly-linux-kernel-4.4.55.git Staging: hv: vmbus_drv: Rename the variable messageHandler Signed-off-by: K. Y. Srinivasan Signed-off-by: Haiyang Zhang Signed-off-by: Abhishek Kane Signed-off-by: Hank Janssen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/channel_mgmt.c b/drivers/staging/hv/channel_mgmt.c index 71b79c636654..bc6e235f949c 100644 --- a/drivers/staging/hv/channel_mgmt.c +++ b/drivers/staging/hv/channel_mgmt.c @@ -35,7 +35,7 @@ struct vmbus_channel_message_table_entry { 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 @@ -740,8 +740,8 @@ void vmbus_onmessage(void *context) return; } - if (gChannelMessageTable[hdr->msgtype].messageHandler) - gChannelMessageTable[hdr->msgtype].messageHandler(hdr); + if (gChannelMessageTable[hdr->msgtype].message_handler) + gChannelMessageTable[hdr->msgtype].message_handler(hdr); else pr_err("Unhandled channel message type %d\n", hdr->msgtype); }