Drivers: hv: vmbus: Change server monitor_pages index to 0
authorKimberly Brown <kimbrownkd@gmail.com>
Tue, 19 Feb 2019 05:38:06 +0000 (00:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Feb 2019 08:57:55 +0000 (09:57 +0100)
commitfd8e3c35b4dfafe10278c5f6d48190b5bbf26b40
tree48e1f59b43e936641ccdad2edae9facffd16c4d7
parent668ae7288e82aa8e7f7cc40b8e13248305d752e7
Drivers: hv: vmbus: Change server monitor_pages index to 0

Change the monitor_pages index in server_monitor_pending_show() to '0'.
'0' is the correct monitor_pages index for the server. A comment for the
monitor_pages field in the vmbus_connection struct definition indicates
that the 1st page is for parent->child notifications. In addition, the
server_monitor_latency_show() and server_monitor_conn_id_show()
functions use monitor_pages index '0'.

Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c