Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e83fb17f9ba6ea0c64d084cca0c557d7e7dc9693
Commit:     e83fb17f9ba6ea0c64d084cca0c557d7e7dc9693
Parent:     afd69ed142a3aa8df81ea54e5e78d77dbcf08467
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 20 02:39:04 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Fri Jul 20 17:14:46 2007 -0700

    [SPARC64]: Use KERN_ERR in IRQ manipulation error printks.
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 arch/sparc64/kernel/irq.c |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/arch/sparc64/kernel/irq.c b/arch/sparc64/kernel/irq.c
index c727956..edd530f 100644
--- a/arch/sparc64/kernel/irq.c
+++ b/arch/sparc64/kernel/irq.c
@@ -336,15 +336,15 @@ static void sun4v_irq_enable(unsigned int virt_irq)
 
                err = sun4v_intr_settarget(ino, cpuid);
                if (err != HV_EOK)
-                       printk("sun4v_intr_settarget(%x,%lu): err(%d)\n",
-                              ino, cpuid, err);
+                       printk(KERN_ERR "sun4v_intr_settarget(%x,%lu): "
+                              "err(%d)\n", ino, cpuid, err);
                err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE);
                if (err != HV_EOK)
-                       printk("sun4v_intr_setstate(%x): "
+                       printk(KERN_ERR "sun4v_intr_setstate(%x): "
                               "err(%d)\n", ino, err);
                err = sun4v_intr_setenabled(ino, HV_INTR_ENABLED);
                if (err != HV_EOK)
-                       printk("sun4v_intr_setenabled(%x): err(%d)\n",
+                       printk(KERN_ERR "sun4v_intr_setenabled(%x): err(%d)\n",
                               ino, err);
        }
 }
@@ -362,8 +362,8 @@ static void sun4v_set_affinity(unsigned int virt_irq, 
cpumask_t mask)
 
                err = sun4v_intr_settarget(ino, cpuid);
                if (err != HV_EOK)
-                       printk("sun4v_intr_settarget(%x,%lu): err(%d)\n",
-                              ino, cpuid, err);
+                       printk(KERN_ERR "sun4v_intr_settarget(%x,%lu): "
+                              "err(%d)\n", ino, cpuid, err);
        }
 }
 
@@ -377,7 +377,7 @@ static void sun4v_irq_disable(unsigned int virt_irq)
 
                err = sun4v_intr_setenabled(ino, HV_INTR_DISABLED);
                if (err != HV_EOK)
-                       printk("sun4v_intr_setenabled(%x): "
+                       printk(KERN_ERR "sun4v_intr_setenabled(%x): "
                               "err(%d)\n", ino, err);
        }
 }
@@ -410,7 +410,7 @@ static void sun4v_irq_end(unsigned int virt_irq)
 
                err = sun4v_intr_setstate(ino, HV_INTR_STATE_IDLE);
                if (err != HV_EOK)
-                       printk("sun4v_intr_setstate(%x): "
+                       printk(KERN_ERR "sun4v_intr_setstate(%x): "
                               "err(%d)\n", ino, err);
        }
 }
@@ -431,19 +431,19 @@ static void sun4v_virq_enable(unsigned int virt_irq)
 
                err = sun4v_vintr_set_target(dev_handle, dev_ino, cpuid);
                if (err != HV_EOK)
-                       printk("sun4v_vintr_set_target(%lx,%lx,%lu): "
+                       printk(KERN_ERR "sun4v_vintr_set_target(%lx,%lx,%lu): "
                               "err(%d)\n",
                               dev_handle, dev_ino, cpuid, err);
                err = sun4v_vintr_set_state(dev_handle, dev_ino,
                                            HV_INTR_STATE_IDLE);
                if (err != HV_EOK)
-                       printk("sun4v_vintr_set_state(%lx,%lx,"
+                       printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx,"
                                "HV_INTR_STATE_IDLE): err(%d)\n",
                               dev_handle, dev_ino, err);
                err = sun4v_vintr_set_valid(dev_handle, dev_ino,
                                            HV_INTR_ENABLED);
                if (err != HV_EOK)
-                       printk("sun4v_vintr_set_state(%lx,%lx,"
+                       printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx,"
                               "HV_INTR_ENABLED): err(%d)\n",
                               dev_handle, dev_ino, err);
        }
@@ -465,7 +465,7 @@ static void sun4v_virt_set_affinity(unsigned int virt_irq, 
cpumask_t mask)
 
                err = sun4v_vintr_set_target(dev_handle, dev_ino, cpuid);
                if (err != HV_EOK)
-                       printk("sun4v_vintr_set_target(%lx,%lx,%lu): "
+                       printk(KERN_ERR "sun4v_vintr_set_target(%lx,%lx,%lu): "
                               "err(%d)\n",
                               dev_handle, dev_ino, cpuid, err);
        }
@@ -486,7 +486,7 @@ static void sun4v_virq_disable(unsigned int virt_irq)
                err = sun4v_vintr_set_valid(dev_handle, dev_ino,
                                            HV_INTR_DISABLED);
                if (err != HV_EOK)
-                       printk("sun4v_vintr_set_state(%lx,%lx,"
+                       printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx,"
                               "HV_INTR_DISABLED): err(%d)\n",
                               dev_handle, dev_ino, err);
        }
@@ -511,7 +511,7 @@ static void sun4v_virq_end(unsigned int virt_irq)
                err = sun4v_vintr_set_state(dev_handle, dev_ino,
                                            HV_INTR_STATE_IDLE);
                if (err != HV_EOK)
-                       printk("sun4v_vintr_set_state(%lx,%lx,"
+                       printk(KERN_ERR "sun4v_vintr_set_state(%lx,%lx,"
                                "HV_INTR_STATE_IDLE): err(%d)\n",
                               dev_handle, dev_ino, err);
        }
-
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