projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ec81c
)
Staging: hv: vmbus: Fix a checkpatch warning in ring_buffer.c
author
K. Y. Srinivasan
<kys@microsoft.com>
Sat, 27 Aug 2011 18:31:42 +0000
(11:31 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 29 Aug 2011 18:10:02 +0000
(11:10 -0700)
Fix a checkpatch warning in ring_buffer.c
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/ring_buffer.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/hv/ring_buffer.c
b/drivers/staging/hv/ring_buffer.c
index 9212699a6632fa1f2f2076b71bad46472a2467d2..70e2e66fec716d0becbaddc00d8f8a237714b3d0 100644
(file)
--- a/
drivers/staging/hv/ring_buffer.c
+++ b/
drivers/staging/hv/ring_buffer.c
@@
-34,7
+34,8
@@
/* Amount of space to write to */
-#define BYTES_AVAIL_TO_WRITE(r, w, z) ((w) >= (r)) ? ((z) - ((w) - (r))) : ((r) - (w))
+#define BYTES_AVAIL_TO_WRITE(r, w, z) \
+ ((w) >= (r)) ? ((z) - ((w) - (r))) : ((r) - (w))
/*