lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1269064405-9505-1-git-send-email-opensolarisdev@gmail.com>
Date:	Sat, 20 Mar 2010 01:53:25 -0400
From:	Vikram Dhillon <opensolarisdev@...il.com>
To:	gregkh@...e.de
Cc:	wfp5p@...ginia.edu, c-bartlett@...mail.co.uk, npalix@...u.dk,
	hjanssen@...rosoft.com, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org,
	Vikram Dhillon <opensolarisdev@...il.com>
Subject: [PATCH 2/2] Staging: hv: RingBuffer.c: Fixed a spacing issue

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

Signed-off-by: Vikram Dhillon <opensolarisdev@...il.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ