summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-11-13 19:23:48 +0530
committerMarc Zyngier <marc.zyngier@arm.com>2017-11-13 14:35:08 +0000
commit6b15e0853a0641f6d641b35ad8668c839e95093c (patch)
treedb32e04eeccddadfb47b1f8b915f797ff4ce3dba
parent00ee9a1ca5080202bc37b44e998c3b2c74d45817 (diff)
downloadlinux-6b15e0853a0641f6d641b35ad8668c839e95093c.tar.gz
linux-6b15e0853a0641f6d641b35ad8668c839e95093c.tar.bz2
linux-6b15e0853a0641f6d641b35ad8668c839e95093c.zip
irqchip/s3c24xx: pr_err() strings should end with newlines
pr_err() messages should end with a new-line to avoid other messages being concatenated. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r--drivers/irqchip/irq-s3c24xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c
index c25ce5af091a..ec0e6a8cdb75 100644
--- a/drivers/irqchip/irq-s3c24xx.c
+++ b/drivers/irqchip/irq-s3c24xx.c
@@ -156,7 +156,7 @@ static int s3c_irq_type(struct irq_data *data, unsigned int type)
irq_set_handler(data->irq, handle_level_irq);
break;
default:
- pr_err("No such irq type %d", type);
+ pr_err("No such irq type %d\n", type);
return -EINVAL;
}
@@ -204,7 +204,7 @@ static int s3c_irqext_type_set(void __iomem *gpcon_reg,
break;
default:
- pr_err("No such irq type %d", type);
+ pr_err("No such irq type %d\n", type);
return -EINVAL;
}