From: Rusty Russell <rusty@rustcorp.com.au>
To: "Kevin D. Kissell" <kevink@paralogos.com>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Strange initialization in arch/mips/kernel/smtc.c:1094?
Date: Mon, 9 Feb 2009 21:49:16 +1030 [thread overview]
Message-ID: <200902092149.16573.rusty@rustcorp.com.au> (raw)
Latest Linus kernel, but it's been there a while:
static struct irqaction irq_ipi = {
.handler = ipi_interrupt,
.flags = IRQF_DISABLED,
.name = "SMTC_IPI",
.flags = IRQF_PERCPU
};
.flags is initialized twice: I'm amazed this even compiles.
Cheers,
Rusty.
next reply other threads:[~2009-02-09 11:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 11:19 Rusty Russell [this message]
2009-02-09 11:57 ` Strange initialization in arch/mips/kernel/smtc.c:1094? Kevin D. Kissell
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=200902092149.16573.rusty@rustcorp.com.au \
--to=rusty@rustcorp.com.au \
--cc=kevink@paralogos.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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