mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
00ee9a1ca5
commit
6b15e0853a
|
@ -156,7 +156,7 @@ static int s3c_irq_type(struct irq_data *data, unsigned int type)
|
||||||
irq_set_handler(data->irq, handle_level_irq);
|
irq_set_handler(data->irq, handle_level_irq);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
pr_err("No such irq type %d", type);
|
pr_err("No such irq type %d\n", type);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -204,7 +204,7 @@ static int s3c_irqext_type_set(void __iomem *gpcon_reg,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
pr_err("No such irq type %d", type);
|
pr_err("No such irq type %d\n", type);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue