From: tglx@linutronix.de (Thomas Gleixner)
To: linux-arm-kernel@lists.infradead.org
Subject: [IRQ] Buggy driver makes __setup_irq segfault
Date: Tue, 9 Jun 2015 15:17:15 +0200 (CEST) [thread overview]
Message-ID: <alpine.DEB.2.11.1506091515060.4133@nanos> (raw)
In-Reply-To: <5576E457.6020805@free.fr>
On Tue, 9 Jun 2015, Mason wrote:
> I'm a noob, so I suppose this behavior is expected, but I'm reporting it,
> just in case. (I tested with 3.14.41)
>
> Consider this buggy driver, calling request_irq() multiple times,
> and not calling free_irq in the cleanup routine.
Not freeing things in the module exit code will make stuff explode,
not only interrupts. So yes, it's expected behaviour.
Thanks,
tglx
next prev parent reply other threads:[~2015-06-09 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-09 13:04 [IRQ] Buggy driver makes __setup_irq segfault Mason
2015-06-09 13:17 ` Thomas Gleixner [this message]
2015-06-09 13:20 ` Richard Weinberger
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=alpine.DEB.2.11.1506091515060.4133@nanos \
--to=tglx@linutronix.de \
--cc=linux-arm-kernel@lists.infradead.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