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: <1275734187-26583-7-git-send-email-mike.kernel@gilksonline.com>
Date:	Sat,  5 Jun 2010 18:36:21 +0800
From:	Mike Gilks <mike.kernel@...ksonline.com>
To:	gregkh@...e.de, mchehab@...hat.com, julia@...u.dk, joe@...ches.com
Cc:	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	Mike Gilks <kernel.online@...ksonline.com>
Subject: [PATCH 06/12] fix most checkpatch.pl issues to line 400

From: Mike Gilks <kernel.online@...ksonline.com>

---
 drivers/staging/rtl8192u/r8192U_core.c |   21 ++++++---------------
 1 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index ac620a5..ae388f7 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -315,9 +315,8 @@ void write_nic_byte_E(struct net_device *dev, int indx, u8 data)
 			       RTL8187_REQ_SET_REGS, RTL8187_REQT_WRITE,
 			       indx|0xfe00, 0, &data, 1, HZ / 2);
 
-	if (status < 0) {
+	if (status < 0)
 		printk("write_nic_byte_E TimeOut! status:%d\n", status);
-	}
 }
 
 u8 read_nic_byte_E(struct net_device *dev, int indx)
@@ -331,9 +330,8 @@ u8 read_nic_byte_E(struct net_device *dev, int indx)
 			       RTL8187_REQ_GET_REGS, RTL8187_REQT_READ,
 			       indx|0xfe00, 0, &data, 1, HZ / 2);
 
-	if (status < 0) {
+	if (status < 0)
 		printk("read_nic_byte_E TimeOut! status:%d\n", status);
-	}
 
 	return data;
 }
@@ -351,10 +349,8 @@ void write_nic_byte(struct net_device *dev, int indx, u8 data)
 				       (indx&0xff)|0xff00, (indx>>8)&0x0f,
 							&data, 1, HZ / 2);
 
-	if (status < 0) {
+	if (status < 0)
 		printk("write_nic_byte TimeOut! status:%d\n", status);
-	}
-
 
 }
 
@@ -370,9 +366,8 @@ void write_nic_word(struct net_device *dev, int indx, u16 data)
 					(indx&0xff)|0xff00, (indx>>8)&0x0f,
 							&data, 2, HZ / 2);
 
-	if (status < 0) {
+	if (status < 0)
 		printk("write_nic_word TimeOut! status:%d\n", status);
-	}
 
 }
 
@@ -388,13 +383,10 @@ void write_nic_dword(struct net_device *dev, int indx, u32 data)
 					(indx&0xff)|0xff00, (indx>>8)&0x0f,
 							&data, 4, HZ / 2);
 
-	if (status < 0) {
+	if (status < 0)
 		printk("write_nic_dword TimeOut! status:%d\n", status);
-	}
 }
 
-
-
 u8 read_nic_byte(struct net_device *dev, int indx)
 {
 	u8 data;
@@ -407,9 +399,8 @@ u8 read_nic_byte(struct net_device *dev, int indx)
 					(indx&0xff)|0xff00, (indx>>8)&0x0f,
 							&data, 1, HZ / 2);
 
-	if (status < 0) {
+	if (status < 0)
 		printk("read_nic_byte TimeOut! status:%d\n", status);
-	}
 
 	return data;
 }
-- 
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