From: Thomas Gleixner <tglx@linutronix.de>
To: Chuansheng Liu <chuansheng.liu@intel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] genirq: Give warning when setup an already-setup non-shared irq
Date: Mon, 14 Jan 2013 12:16:24 +0100 (CET) [thread overview]
Message-ID: <alpine.LFD.2.02.1301141211500.7475@ionos> (raw)
In-Reply-To: <1357833301.21958.10.camel@cliu38-desktop-build>
On Thu, 10 Jan 2013, Chuansheng Liu wrote:
>
> Meet the case when the request_threaded_irq() with the same irq
> is called twice continually, get the below mismatch info:
> "IRQ handler type mismatch for IRQ 323"
I have no idea where you get that from. The mismatch is printed with:
if (!(new->flags & IRQF_PROBE_SHARED)) {
pr_err("Flags mismatch irq %d. %08x (%s) vs. %08x (%s)\n",
irq, new->flags, new->name, old->flags, old->name);
And its only printed when IRQF_PROBE_SHARED is not set. Your change
would cause printouts where no printouts are due and it'd change the
return value from EBUSY to EINVAL.
Thanks,
tglx
next prev parent reply other threads:[~2013-01-14 11:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-10 15:55 Chuansheng Liu
2013-01-14 11:16 ` Thomas Gleixner [this message]
2013-01-15 0:54 ` Liu, Chuansheng
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.LFD.2.02.1301141211500.7475@ionos \
--to=tglx@linutronix.de \
--cc=chuansheng.liu@intel.com \
--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®