On Wed, Jun 19, 2013 at 10:44:04AM +0200, Lorenz Haspel wrote:
> Fixes checkpatch error:
> There were assignments in if conditions, so I extracted them.
>
> Signed-off-by: Lorenz Haspel
> Signed-off-by: Michael Banken
> ---
> v2: removed some buggy extra lines and fixed white space issues
> v3:
This patches add a read barriers to force the driver to check the interrupt mask
before read_index. Otherwise we may lost a kick to host.
Cc: K. Y. Srinivasan
Cc: Haiyang Zhang
Signed-off-by: Jason Wang
---
drivers/hv/ring_buffer.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
d