All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vikram Dhillon <opensolarisdev@gmail.com>
To: gregkh@suse.de
Cc: wfp5p@virginia.edu, c-bartlett@hotmail.co.uk, npalix@diku.dk,
	hjanssen@microsoft.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	Vikram Dhillon <opensolarisdev@gmail.com>
Subject: [PATCH 2/2] Staging: hv: RingBuffer.c: Fixed a spacing issue
Date: Sat, 20 Mar 2010 01:53:25 -0400	[thread overview]
Message-ID: <1269064405-9505-1-git-send-email-opensolarisdev@gmail.com> (raw)

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


             reply	other threads:[~2010-03-20  5:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-20  5:53 Vikram Dhillon [this message]
2010-04-27 21:43 ` [PATCH 2/2] Staging: hv: RingBuffer.c: Fixed a spacing issue Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1269064405-9505-1-git-send-email-opensolarisdev@gmail.com \
    --to=opensolarisdev@gmail.com \
    --cc=c-bartlett@hotmail.co.uk \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@suse.de \
    --cc=hjanssen@microsoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=npalix@diku.dk \
    --cc=wfp5p@virginia.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.