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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1350321868-2613-5-git-send-email-antiroot@gmail.com>
Date:	Tue, 16 Oct 2012 02:24:24 +0900
From:	Sangho Yi <antiroot@...il.com>
To:	devel@...verdev.osuosl.org
Cc:	gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
	Sangho Yi <antiroot@...il.com>
Subject: [PATCH 05/14] staging: csr: Removed spaces between ( and arguments and ) on io.c

I found many coding style errors including spaces like this:
foo ( arg );
So, I fixed them as follows->   foo (arg);

Signed-off-by: Sangho Yi <antiroot@...il.com>
---
 drivers/staging/csr/io.c |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/csr/io.c b/drivers/staging/csr/io.c
index 6f89556..ed34914 100644
--- a/drivers/staging/csr/io.c
+++ b/drivers/staging/csr/io.c
@@ -349,7 +349,7 @@ register_unifi_sdio(CsrSdioFunction *sdio_dev, int bus_id, struct device *dev)
 		priv->totalInterfaceCount =0;
 
 		for(i=1;i<CSR_WIFI_NUM_INTERFACES;i++) {
-			if( !uf_alloc_netdevice_for_other_interfaces(priv,i) ) {
+			if(!uf_alloc_netdevice_for_other_interfaces(priv,i)) {
 				/* error occured while allocating the
 				 * net_device for interface[i].
 				 * The net_device are allocated for the
@@ -896,7 +896,7 @@ uf_read_proc(char *page, char **start, off_t offset, int count,
 		return 0;
 	}
 
-	p = kmalloc( UNIFI_DEBUG_TXT_BUFFER, GFP_KERNEL );
+	p = kmalloc(UNIFI_DEBUG_TXT_BUFFER, GFP_KERNEL);
 
 	orig_p = p;
 
@@ -953,24 +953,24 @@ uf_read_proc(char *page, char **start, off_t offset, int count,
 
 	written = UNIFI_DEBUG_TXT_BUFFER - remain;
 
-	if( offset >= written ) {
+	if(offset >= written) {
 		*eof = 1;
-		kfree( orig_p );
+		kfree(orig_p);
 		return(0);
 	}
 
-	if( offset + count > written ) {
+	if(offset + count > written) {
 		actual_amount_to_copy = written - offset;
 		*eof = 1;
 	} else {
 		actual_amount_to_copy = count;
 	}
 
-	memcpy( page, &(orig_p[offset]), actual_amount_to_copy );
+	memcpy(page, &(orig_p[offset]), actual_amount_to_copy);
 
-	kfree( orig_p );
+	kfree(orig_p);
 
-	return( actual_amount_to_copy );
+	return(actual_amount_to_copy);
 } /* uf_read_proc() */
 #endif
 
-- 
1.7.9.5

--
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