From a5cca686ce0ef4909deaee4ed46dd991e3a9ece4 Mon Sep 17 00:00:00 2001 From: Christopher Oo Date: Wed, 5 Aug 2015 00:52:40 -0700 Subject: [PATCH] Drivers: hv_vmbus: Fix signal to host condition Fixes a bug where previously hv_ringbuffer_read would pass in the old number of bytes available to read instead of the expected old read index when calculating when to signal to the host that the ringbuffer is empty. Since the previous write size is already saved, also changes the hv_need_to_signal_on_read to use the previously read value rather than recalculating it. Signed-off-by: Christopher Oo Signed-off-by: K. Y. Srinivasan Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed