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>] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1202050123210.30244@swampdragon.chaosbits.net>
Date:	Sun, 5 Feb 2012 01:25:10 +0100 (CET)
From:	Jesper Juhl <jj@...osbits.net>
To:	linux-kernel@...r.kernel.org
cc:	trivial@...nel.org, Yoshinori Sato <ysato@...rs.sourceforge.jp>
Subject: [PATCH] h8300: Remove trailing whitespace from
 arch/h8300/kernel/gpio.c

Just a bit of trivial whitespace cleanup.

Signed-off-by: Jesper Juhl <jj@...osbits.net>
---
 arch/h8300/kernel/gpio.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/h8300/kernel/gpio.c b/arch/h8300/kernel/gpio.c
index 6a25dd5..fdd823b 100644
--- a/arch/h8300/kernel/gpio.c
+++ b/arch/h8300/kernel/gpio.c
@@ -48,7 +48,7 @@ static volatile unsigned char *ddrs[] = {
 #define MAX_PORT 17
 #endif
 #undef _
- 
+
 #if !defined(P1DDR)
 #error Unsuppoted CPU Selection
 #endif
@@ -125,7 +125,7 @@ static char *port_status(int portno)
 	char *rp;
 	int c;
 	unsigned char used,ddr;
-	
+
 	used = gpio_regs[portno].used;
 	ddr  = gpio_regs[portno].ddr;
 	result[8]='\0';
@@ -133,12 +133,12 @@ static char *port_status(int portno)
 	for (c = 8; c > 0; c--,rp--,used >>= 1, ddr >>= 1)
 		if (used & 0x01)
 			*rp = io[ ddr & 0x01];
-		else	
+		else
 			*rp = '-';
 	return result;
 }
 
-static int gpio_proc_read(char *buf, char **start, off_t offset, 
+static int gpio_proc_read(char *buf, char **start, off_t offset,
                           int len, int *unused_i, void *unused_v)
 {
 	int c,outlen;
@@ -159,7 +159,7 @@ static __init int register_proc(void)
 	struct proc_dir_entry *proc_gpio;
 
 	proc_gpio = create_proc_entry("gpio", S_IRUGO, NULL);
-	if (proc_gpio) 
+	if (proc_gpio)
 		proc_gpio->read_proc = gpio_proc_read;
 	return proc_gpio != NULL;
 }
-- 
1.7.9


-- 
Jesper Juhl <jj@...osbits.net>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

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