From: Grant Likely <grant.likely@secretlab.ca>
To: axboe@kernel.dk, linux-kernel@vger.kernel.org
Subject: [PATCH] Sysace: Labels in C code should not be indented.
Date: Mon, 01 Oct 2007 08:19:10 -0600 [thread overview]
Message-ID: <20071001141818.22465.46885.stgit@trillian.cg.shawcable.net> (raw)
From: Grant Likely <grant.likely@secretlab.ca>
Remove the indentation on labels
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
Jens,
Here's the unindent of labels fixup patch that I promised you. Please
apply after applying the SystemACE series.
Thanks,
g.
drivers/block/xsysace.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/drivers/block/xsysace.c b/drivers/block/xsysace.c
index 77bd805..3847464 100644
--- a/drivers/block/xsysace.c
+++ b/drivers/block/xsysace.c
@@ -1034,13 +1034,13 @@ static int __devinit ace_setup(struct ace_device *ace)
return 0;
- err_read:
+err_read:
put_disk(ace->gd);
- err_alloc_disk:
+err_alloc_disk:
blk_cleanup_queue(ace->queue);
- err_blk_initq:
+err_blk_initq:
iounmap(ace->baseaddr);
- err_ioremap:
+err_ioremap:
dev_info(ace->dev, "xsysace: error initializing device at 0x%lx\n",
ace->physaddr);
return -ENOMEM;
@@ -1098,11 +1098,11 @@ ace_alloc(struct device *dev, int id, unsigned long physaddr,
dev_set_drvdata(dev, ace);
return 0;
- err_setup:
+err_setup:
dev_set_drvdata(dev, NULL);
kfree(ace);
- err_alloc:
- err_noreg:
+err_alloc:
+err_noreg:
dev_err(dev, "could not initialize device, err=%i\n", rc);
return rc;
}
@@ -1266,11 +1266,11 @@ static int __init ace_init(void)
pr_info("Xilinx SystemACE device driver, major=%i\n", ace_major);
return 0;
- err_plat:
+err_plat:
ace_of_unregister();
- err_of:
+err_of:
unregister_blkdev(ace_major, "xsysace");
- err_blk:
+err_blk:
printk(KERN_ERR "xsysace: registration failed; err=%i\n", rc);
return rc;
}
reply other threads:[~2007-10-01 14:20 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=20071001141818.22465.46885.stgit@trillian.cg.shawcable.net \
--to=grant.likely@secretlab.ca \
--cc=axboe@kernel.dk \
--cc=linux-kernel@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®