From: Cosimo Streppone <cosimo@cpan.org>
To: "James E . J . Bottomley" <James.Bottomley@suse.de>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>, Cosimo Streppone <cosimo@cpan.org>
Subject: [PATCH] scsi: zorro7xx: braces code style fix
Date: Tue, 09 Feb 2010 22:41:43 +0100 [thread overview]
Message-ID: <1265751703-25745-1-git-send-email-cosimo@cpan.org> (raw)
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@cpan.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
reply other threads:[~2010-02-09 22:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1265751703-25745-1-git-send-email-cosimo@cpan.org \
--to=cosimo@cpan.org \
--cc=James.Bottomley@suse.de \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®