From: "Peter Hüwe" <PeterHuewe@gmx.de>
To: trivial@kernel.org
Cc: kernel-janitors@vger.kernel.org,
James.Bottomley@hansenpartnership.com,
fujita.tomonori@lab.ntt.co.jp, akpm@linux-foundation.org,
harvey.harrison@gmail.com, linux-scsi@vger.kernel.org,
linux-kernel@vger.kernel.org, peterhuewe@gmx.de
Subject: [PATCH] scsi: adding __init/__exit macros to ibmvstgt.c
Date: Wed, 24 Jun 2009 11:22:57 +0000 [thread overview]
Message-ID: <200906241322.58136.PeterHuewe@gmx.de> (raw)
From: Peter Huewe <peterhuewe@gmx.de>
Trivial patch which adds the __init and __exit macros to the module_init /
module_exit functions from drivers/scsi/ibmvscsi/ibmvstgt.c
linux version 2.6.30 - linus git tree.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
---
I'm sorry if you receive this message twice - but my first message does
not seemto be delivered to any of the mailing lists.
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c
index d5eaf97..30a25da 100644
--- a/drivers/scsi/ibmvscsi/ibmvstgt.c
+++ b/drivers/scsi/ibmvscsi/ibmvstgt.c
@@ -955,7 +955,7 @@ static struct srp_function_template ibmvstgt_transport_functions = {
.it_nexus_response = ibmvstgt_it_nexus_response,
};
-static int ibmvstgt_init(void)
+static int __init ibmvstgt_init(void)
{
int err = -ENOMEM;
@@ -986,7 +986,7 @@ release_transport:
return err;
}
-static void ibmvstgt_exit(void)
+static void __exit ibmvstgt_exit(void)
{
printk("Unregister IBM virtual SCSI driver\n");
reply other threads:[~2009-06-24 11:22 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=200906241322.58136.PeterHuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=James.Bottomley@hansenpartnership.com \
--cc=akpm@linux-foundation.org \
--cc=fujita.tomonori@lab.ntt.co.jp \
--cc=harvey.harrison@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=trivial@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;
as well as URLs for NNTP newsgroup(s).