diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2017-03-04 18:27:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 15:10:49 +0900 |
commit | e6242fa0fb50570acb6364446dec369d7b9b5b2c (patch) | |
tree | 3af29861775ad039474b0843f37dcffab8b2ae10 /drivers/hv/vmbus_drv.c | |
parent | 42dd2715428f24d4ac990ed9207ce28c60a4b7f6 (diff) | |
download | op-kernel-dev-e6242fa0fb50570acb6364446dec369d7b9b5b2c.zip op-kernel-dev-e6242fa0fb50570acb6364446dec369d7b9b5b2c.tar.gz |
vmbus: make channel_message table constant
This table is immutable and should be const.
Cleanup indentation and whitespace for this as well.
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/vmbus_drv.c')
-rw-r--r-- | drivers/hv/vmbus_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 5ca5004..8b272d3 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -853,7 +853,7 @@ void vmbus_on_msg_dpc(unsigned long data) struct hv_message *msg = (struct hv_message *)page_addr + VMBUS_MESSAGE_SINT; struct vmbus_channel_message_header *hdr; - struct vmbus_channel_message_table_entry *entry; + const struct vmbus_channel_message_table_entry *entry; struct onmessage_work_context *ctx; u32 message_type = msg->header.message_type; |