Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=3aff03739cb19938b25ac262be90faf58192e847
Commit:     3aff03739cb19938b25ac262be90faf58192e847
Parent:     41f667f213da4776e5883ce1e4188dc8e71f275e
Author:     Kenji Kaneshige <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 30 16:01:49 2007 +0900
Committer:  Tony Luck <[EMAIL PROTECTED]>
CommitDate: Tue Oct 30 09:54:47 2007 -0700

    [IA64] Fix incorrect return value from ia64_setup_msi_irq()
    
    Fix the problem that pci_enable_msi() fails on ia64 platform. The cause of
    this problem is incorrect return value of ia64_setup_msi_irq(). It must
    return 0 on success, instead of irq number.
    
    Signed-off-by: Kenji Kaneshige <[EMAIL PROTECTED]>
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>
---
 arch/ia64/kernel/msi_ia64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ia64/kernel/msi_ia64.c b/arch/ia64/kernel/msi_ia64.c
index 2fdbd5c..e86d029 100644
--- a/arch/ia64/kernel/msi_ia64.c
+++ b/arch/ia64/kernel/msi_ia64.c
@@ -109,7 +109,7 @@ int ia64_setup_msi_irq(struct pci_dev *pdev, struct 
msi_desc *desc)
        write_msi_msg(irq, &msg);
        set_irq_chip_and_handler(irq, &ia64_msi_chip, handle_edge_irq);
 
-       return irq;
+       return 0;
 }
 
 void ia64_teardown_msi_irq(unsigned int irq)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to