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]
Date:	Tue, 09 Feb 2010 22:41:43 +0100
From:	Cosimo Streppone <cosimo@...n.org>
To:	"James E . J . Bottomley" <James.Bottomley@...e.de>,
	linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:	Greg Kroah-Hartman <gregkh@...e.de>,
	Cosimo Streppone <cosimo@...n.org>
Subject: [PATCH] scsi: zorro7xx: braces code style fix

This is just a tiny coding style fix for the scsi/zorro7xx.c file.
FOSDEM GregKH talk helped this patch come to life.

Signed-off-by: Cosimo Streppone <cosimo@...n.org>
---
 drivers/scsi/zorro7xx.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/scsi/zorro7xx.c b/drivers/scsi/zorro7xx.c
index 64d40a2..a666f20 100644
--- a/drivers/scsi/zorro7xx.c
+++ b/drivers/scsi/zorro7xx.c
@@ -80,11 +80,10 @@ static int __devinit zorro7xx_init_one(struct zorro_dev *z,
 	board = zorro_resource_start(z);
 	zdd = (struct zorro_driver_data *)ent->driver_data;
 
-	if (zdd->absolute) {
+	if (zdd->absolute)
 		ioaddr = zdd->offset;
-	} else {
+	else
 		ioaddr = board + zdd->offset;
-	}
 
 	if (!zorro_request_device(z, zdd->name)) {
 		printk(KERN_ERR "zorro7xx: cannot reserve region 0x%lx, abort\n",
-- 
1.6.0.4

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