mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Taral <taral@taral.net>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.5 drivers/pcmcia/cs.c non-isa fix
Date: Mon, 2 Jun 2003 00:35:00 -0500	[thread overview]
Message-ID: <20030602053500.GA4490@taral.net> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 352 bytes --]

RequestIRQ of a 16-bit card on a kernel without CONFIG_ISA will succeed
without setting AssignedIRQ. This patch causes it to fail (based on
current BK).

-- 
Taral <taral@taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Most parents have better things to do with their time than take care of
their children." -- Me

[-- Attachment #1.2: cs.c.patch --]
[-- Type: text/plain, Size: 317 bytes --]


--- 1.29/drivers/pcmcia/cs.c	Fri May 30 00:42:33 2003
+++ edited/drivers/pcmcia/cs.c	Mon Jun  2 00:32:07 2003
@@ -1980,6 +1980,9 @@
 	    irq = req->IRQInfo1 & IRQ_MASK;
 	    ret = try_irq(req->Attributes, irq, 1);
 	}
+#else
+    } else {
+	ret = CS_UNSUPPORTED_MODE;
 #endif
     }
     if (ret != 0) return ret;

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2003-06-02  5:21 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=20030602053500.GA4490@taral.net \
    --to=taral@taral.net \
    --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®