From: Christoph Hellwig <hch@lst.de>
To: James.Bottomley@steeleye.com
Cc: linux-scsi@vger.kernel.org
Subject: [PATCH] remove an escaped __MOD_DEC_USE_COUNT
Date: Thu, 20 Feb 2003 20:48:00 +0100 [thread overview]
Message-ID: <20030220204800.A19547@lst.de> (raw)
we should be using module_put really, __MOD_DEC_USE_COUNT will die soon
--- 1.9/drivers/scsi/pluto.c Tue Feb 4 12:55:10 2003
+++ edited/drivers/scsi/pluto.c Thu Feb 20 19:26:15 2003
@@ -287,7 +287,7 @@
struct pluto *pluto = (struct pluto *)host->hostdata;
fc_channel *fc = pluto->fc;
- if (fc->module) __MOD_DEC_USE_COUNT(fc->module);
+ module_put(fc->module);
fc->fcp_register(fc, TYPE_SCSI_FCP, 1);
PLND((" releasing pluto.\n"));
reply other threads:[~2003-02-20 19:48 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=20030220204800.A19547@lst.de \
--to=hch@lst.de \
--cc=James.Bottomley@steeleye.com \
--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