irqchip/s3c24xx: pr_err() strings should end with newlines
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 13 Nov 2017 13:53:48 +0000 (19:23 +0530)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 13 Nov 2017 14:35:08 +0000 (14:35 +0000)
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>
drivers/irqchip/irq-s3c24xx.c

index c25ce5af091addb2f23653feb8fcbac27d5c9180..ec0e6a8cdb7558433d933868520d8d72e7b28b2b 100644 (file)
@@ -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;
        }