From: Aristeu Sergio Rozanski Filho <aris@cathedrallabs.org>
To: linux-scsi@vger.kernel.org
Subject: [patch][10/15] qlogic_cs: don't call qlogic_release on fail
Date: Tue, 9 Mar 2004 10:40:21 -0300 [thread overview]
Message-ID: <20040309134021.GL651@cathedrallabs.org> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 17 bytes --]
--
aris
[-- Attachment #1.2: 10-qlogic_cs-dont_call_qlogic_release_on_fail.patch --]
[-- Type: text/plain, Size: 647 bytes --]
diff -ur linux-2.6.3-applied/drivers/scsi/pcmcia/qlogic_stub.c linux-2.6.3-work/drivers/scsi/pcmcia/qlogic_stub.c
--- linux-2.6.3-applied/drivers/scsi/pcmcia/qlogic_stub.c 2004-03-05 18:47:17.000000000 -0300
+++ linux-2.6.3-work/drivers/scsi/pcmcia/qlogic_stub.c 2004-03-05 18:47:26.000000000 -0300
@@ -267,7 +267,11 @@
cs_failed:
cs_error(link->handle, last_fn, last_ret);
- qlogic_release(link);
+ link->dev = NULL;
+ pcmcia_release_configuration(link->handle);
+ pcmcia_release_io(link->handle, &link->io);
+ pcmcia_release_irq(link->handle, &link->irq);
+ link->state &= ~DEV_CONFIG;
return;
} /* qlogic_config */
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
reply other threads:[~2004-03-09 14: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=20040309134021.GL651@cathedrallabs.org \
--to=aris@cathedrallabs.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