public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] Fix wrong assumption about irq and vector in msi_ia64.c
Date: Sat, 07 Apr 2007 02:22:07 +0000	[thread overview]
Message-ID: <87ejmwexf4.wl%takeuchi_satoru@jp.fujitsu.com> (raw)
In-Reply-To: <4615FBF0.7060900@jp.fujitsu.com>

Hey Yasu,

It seems that the tabs are replaced by the spaces accidentally,
please fix it.

Satoru

At Fri, 06 Apr 2007 16:51:12 +0900,
Ishimatsu Yasuaki wrote:
> 
> This patch fixes a wrong assumption in ia64 MSI code that IRQ equals
> vector.
> 
> Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
> Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
> 
> ---
>  arch/ia64/kernel/msi_ia64.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> Index: linux-2.6.21-rc5/arch/ia64/kernel/msi_ia64.c
> =================================> --- linux-2.6.21-rc5.orig/arch/ia64/kernel/msi_ia64.c   2007-04-05 21:30:52.000000000 +0900
> +++ linux-2.6.21-rc5/arch/ia64/kernel/msi_ia64.c        2007-04-05 21:31:34.000000000 +0900
> @@ -76,7 +76,7 @@
> 
>         set_irq_msi(irq, desc);
>         dest_phys_id = cpu_physical_id(first_cpu(cpu_online_map));
> -       vector = irq;
> +       vector = irq_to_vector(irq);
> 
>         msg.address_hi = 0;
>         msg.address_lo > @@ -110,7 +110,7 @@
> 
>  static int ia64_msi_retrigger_irq(unsigned int irq)
>  {
> -       unsigned int vector = irq;
> +       unsigned int vector = irq_to_vector(irq);
>         ia64_resend_irq(vector);
> 
>         return 1;
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ia64" 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:[~2007-04-07  2:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-06  7:51 [PATCH] Fix wrong assumption about irq and vector in msi_ia64.c Ishimatsu Yasuaki
2007-04-07  2:22 ` Satoru Takeuchi [this message]

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=87ejmwexf4.wl%takeuchi_satoru@jp.fujitsu.com \
    --to=takeuchi_satoru@jp.fujitsu.com \
    --cc=linux-ia64@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