aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-12-06 02:04:58 -0500
committerJames Hogan <jhogan@kernel.org>2018-02-19 05:55:34 -0500
commitdb6775ca6e0353d2618ca7d5e210fc36ad43bbd4 (patch)
treea5f7e2bb2009f0f0eb1286d7899ffbcd31df463e
parent91ab883eb21325ad80f3473633f794c78ac87f51 (diff)
MIPS: Octeon: Fix logging messages with spurious periods after newlines
Using a period after a newline causes bad output. Fixes: 64b139f97c01 ("MIPS: OCTEON: irq: add CIB and other fixes") Signed-off-by: Joe Perches <joe@perches.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/17886/ Signed-off-by: James Hogan <jhogan@kernel.org>
-rw-r--r--arch/mips/cavium-octeon/octeon-irq.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c
index 5b3a3f6a9ad3..b993d9f2c9b9 100644
--- a/arch/mips/cavium-octeon/octeon-irq.c
+++ b/arch/mips/cavium-octeon/octeon-irq.c
@@ -2271,7 +2271,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
2271 2271
2272 parent_irq = irq_of_parse_and_map(ciu_node, 0); 2272 parent_irq = irq_of_parse_and_map(ciu_node, 0);
2273 if (!parent_irq) { 2273 if (!parent_irq) {
2274 pr_err("ERROR: Couldn't acquire parent_irq for %s\n.", 2274 pr_err("ERROR: Couldn't acquire parent_irq for %s\n",
2275 ciu_node->name); 2275 ciu_node->name);
2276 return -EINVAL; 2276 return -EINVAL;
2277 } 2277 }
@@ -2281,7 +2281,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
2281 2281
2282 addr = of_get_address(ciu_node, 0, NULL, NULL); 2282 addr = of_get_address(ciu_node, 0, NULL, NULL);
2283 if (!addr) { 2283 if (!addr) {
2284 pr_err("ERROR: Couldn't acquire reg(0) %s\n.", ciu_node->name); 2284 pr_err("ERROR: Couldn't acquire reg(0) %s\n", ciu_node->name);
2285 return -EINVAL; 2285 return -EINVAL;
2286 } 2286 }
2287 host_data->raw_reg = (u64)phys_to_virt( 2287 host_data->raw_reg = (u64)phys_to_virt(
@@ -2289,7 +2289,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
2289 2289
2290 addr = of_get_address(ciu_node, 1, NULL, NULL); 2290 addr = of_get_address(ciu_node, 1, NULL, NULL);
2291 if (!addr) { 2291 if (!addr) {
2292 pr_err("ERROR: Couldn't acquire reg(1) %s\n.", ciu_node->name); 2292 pr_err("ERROR: Couldn't acquire reg(1) %s\n", ciu_node->name);
2293 return -EINVAL; 2293 return -EINVAL;
2294 } 2294 }
2295 host_data->en_reg = (u64)phys_to_virt( 2295 host_data->en_reg = (u64)phys_to_virt(
@@ -2297,7 +2297,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
2297 2297
2298 r = of_property_read_u32(ciu_node, "cavium,max-bits", &val); 2298 r = of_property_read_u32(ciu_node, "cavium,max-bits", &val);
2299 if (r) { 2299 if (r) {
2300 pr_err("ERROR: Couldn't read cavium,max-bits from %s\n.", 2300 pr_err("ERROR: Couldn't read cavium,max-bits from %s\n",
2301 ciu_node->name); 2301 ciu_node->name);
2302 return r; 2302 return r;
2303 } 2303 }
@@ -2307,7 +2307,7 @@ static int __init octeon_irq_init_cib(struct device_node *ciu_node,
2307 &octeon_irq_domain_cib_ops, 2307 &octeon_irq_domain_cib_ops,
2308 host_data); 2308 host_data);
2309 if (!cib_domain) { 2309 if (!cib_domain) {
2310 pr_err("ERROR: Couldn't irq_domain_add_linear()\n."); 2310 pr_err("ERROR: Couldn't irq_domain_add_linear()\n");
2311 return -ENOMEM; 2311 return -ENOMEM;
2312 } 2312 }
2313 2313