public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] Staging: hv: RingBuffer.c: Fixed a spacing issue
@ 2010-03-20  5:53 Vikram Dhillon
  2010-04-27 21:43 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Vikram Dhillon @ 2010-03-20  5:53 UTC (permalink / raw)
  To: gregkh
  Cc: wfp5p, c-bartlett, npalix, hjanssen, devel, linux-kernel,
	Vikram Dhillon

Fixing a minor spacing issue in accordance with checkpatch.pl.

Signed-off-by: Vikram Dhillon <opensolarisdev@gmail.com>
---
 drivers/staging/hv/RingBuffer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/hv/RingBuffer.c b/drivers/staging/hv/RingBuffer.c
index 80b8a2c..08b3c55 100644
--- a/drivers/staging/hv/RingBuffer.c
+++ b/drivers/staging/hv/RingBuffer.c
@@ -32,7 +32,7 @@
 
 
 /* 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))
 
 
 /*++
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-27 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20  5:53 [PATCH 2/2] Staging: hv: RingBuffer.c: Fixed a spacing issue Vikram Dhillon
2010-04-27 21:43 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox