* [patch 1/1] alpha: Fix use of irq_to_desc in irq.c
@ 2011-02-28 12:49 Oliver Falk
2011-02-28 14:17 ` Matt Turner
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Falk @ 2011-02-28 12:49 UTC (permalink / raw)
To: linux-alpha, kyle, Matt Turner
Fixes:
arch/alpha/kernel/irq.c: In function ‘irq_select_affinity’:
arch/alpha/kernel/irq.c:47: error: subscripted value is neither array
nor pointer
make[1]: *** [arch/alpha/kernel/irq.o] Error 1
--- arch/alpha/kernel/irq.c.orig 2011-02-28 11:34:05.000000000 +0100
+++ arch/alpha/kernel/irq.c 2011-02-28 11:32:24.000000000 +0100
@@ -44,7 +44,7 @@
int irq_select_affinity(unsigned int irq)
{
- struct irq_desc *desc = irq_to_desc[irq];
+ struct irq_desc *desc = irq_to_desc(irq);
static int last_cpu;
int cpu = last_cpu + 1;
Seems to be a typo from here:
<http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a891b393dd7f6ed84ecee98c0eac4a808ff2cbbc>
-of
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch 1/1] alpha: Fix use of irq_to_desc in irq.c 2011-02-28 12:49 [patch 1/1] alpha: Fix use of irq_to_desc in irq.c Oliver Falk @ 2011-02-28 14:17 ` Matt Turner 0 siblings, 0 replies; 2+ messages in thread From: Matt Turner @ 2011-02-28 14:17 UTC (permalink / raw) To: Oliver Falk; +Cc: linux-alpha, kyle On Mon, Feb 28, 2011 at 12:49 PM, Oliver Falk <oliver@linux-kernel.at> wrote: > Fixes: > arch/alpha/kernel/irq.c: In function ‘irq_select_affinity’: > arch/alpha/kernel/irq.c:47: error: subscripted value is neither array nor > pointer > make[1]: *** [arch/alpha/kernel/irq.o] Error 1 > > > --- arch/alpha/kernel/irq.c.orig 2011-02-28 11:34:05.000000000 +0100 > +++ arch/alpha/kernel/irq.c 2011-02-28 11:32:24.000000000 +0100 > @@ -44,7 +44,7 @@ > > int irq_select_affinity(unsigned int irq) > { > - struct irq_desc *desc = irq_to_desc[irq]; > + struct irq_desc *desc = irq_to_desc(irq); > static int last_cpu; > int cpu = last_cpu + 1; > > > Seems to be a typo from here: > > <http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a891b393dd7f6ed84ecee98c0eac4a808ff2cbbc> > > -of > Thanks! mhl actually sent a patch for this recently, and it's been sitting in my tree [1] because I haven't had time to push it to Linus. Sorry about this and that you hit this bug. I'll get everything sent to Linus this week. Thanks for the patch! Matt [1] http://git.kernel.org/?p=linux/kernel/git/mattst88/alpha-2.6.git;a=summary -- To unsubscribe from this list: send the line "unsubscribe linux-alpha" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-28 14:17 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-02-28 12:49 [patch 1/1] alpha: Fix use of irq_to_desc in irq.c Oliver Falk 2011-02-28 14:17 ` Matt Turner
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.