Staging: hv: vmbus: Fix a checkpatch warning in ring_buffer.c
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 27 Aug 2011 18:31:42 +0000 (11:31 -0700)
committerGreg 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

index 9212699a6632fa1f2f2076b71bad46472a2467d2..70e2e66fec716d0becbaddc00d8f8a237714b3d0 100644 (file)
@@ -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))
 
 
 /*