Alpha arch development list
 help / color / mirror / Atom feed
From: Oliver Falk <oliver@linux-kernel.at>
To: linux-alpha@vger.kernel.org, kyle@redhat.com,
	Matt Turner <mattst88@gmail.com>
Subject: [patch 1/1] alpha: Fix use of irq_to_desc in irq.c
Date: Mon, 28 Feb 2011 13:49:47 +0100	[thread overview]
Message-ID: <4D6B99EB.1040803@linux-kernel.at> (raw)

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

             reply	other threads:[~2011-02-28 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-28 12:49 Oliver Falk [this message]
2011-02-28 14:17 ` [patch 1/1] alpha: Fix use of irq_to_desc in irq.c Matt Turner

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=4D6B99EB.1040803@linux-kernel.at \
    --to=oliver@linux-kernel.at \
    --cc=kyle@redhat.com \
    --cc=linux-alpha@vger.kernel.org \
    --cc=mattst88@gmail.com \
    /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