From: Sergey Vlasov <vsu@altlinux.ru>
To: Manu Abraham <manu@linuxtv.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: free free irq and Oops on cat /proc/interrupts (2)
Date: Sat, 17 Sep 2005 21:56:46 +0400 [thread overview]
Message-ID: <20050917215646.78a05044.vsu@altlinux.ru> (raw)
In-Reply-To: <432C344D.1030604@linuxtv.org>
[-- Attachment #1: Type: text/plain, Size: 543 bytes --]
On Sat, 17 Sep 2005 19:20:45 +0400 Manu Abraham wrote:
> Can somebody give me a pointer as to what i am possibly doing wrong.
>
> The module loads fine..
> The module unloads fine.. But i get a "free free IRQ" on free_irq()..
You are not calling pci_enable_device() in your probe handler. You
MUST call this function, check for success, and only after that you
can use pdev->irq (recent kernels perform interrupt routing only after
the device is enabled, so the value of pdev->irq before the call to
pci_enable_device() may not be valid).
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-09-17 17:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-17 15:20 free free irq and Oops on cat /proc/interrupts (2) Manu Abraham
2005-09-17 17:56 ` Sergey Vlasov [this message]
2005-09-17 18:25 ` Manu Abraham
2005-09-17 19:10 ` Sergey Vlasov
2005-09-17 19:28 ` Manu Abraham
2005-09-17 19:49 ` Sergey Vlasov
2005-09-17 19:49 ` Manu Abraham
2005-09-17 22:09 ` Manu Abraham
2005-09-17 18:39 ` Jiri Slaby
2005-09-17 19:24 ` Manu Abraham
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=20050917215646.78a05044.vsu@altlinux.ru \
--to=vsu@altlinux.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=manu@linuxtv.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.