Re: [PATCH 2/2 v3] silicom: checkpatch: assignments in if conditions

2013-06-24 Thread Greg KH
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:

[PATCH] drivers: hv: check interrupt mask before read_index

2013-06-24 Thread Jason Wang
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