Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383880 > unrolled thread

[PATCH] i2c: uniphier: add "\n" at the end of error log

Started byMasahiro Yamada <yamada.masahiro@socionext.com>
First post2016-04-21 08:20 +0200
Last post2016-04-27 19:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] i2c: uniphier: add "\n" at the end of error log Masahiro Yamada <yamada.masahiro@socionext.com> - 2016-04-21 08:20 +0200
    Re: [PATCH] i2c: uniphier: add "\n" at the end of error log Wolfram Sang <wsa@the-dreams.de> - 2016-04-27 19:20 +0200

#1383880 — [PATCH] i2c: uniphier: add "\n" at the end of error log

FromMasahiro Yamada <yamada.masahiro@socionext.com>
Date2016-04-21 08:20 +0200
Subject[PATCH] i2c: uniphier: add "\n" at the end of error log
Message-ID<rqg82-4kQ-7@gated-at.bofh.it>
Just in case.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/i2c/busses/i2c-uniphier-f.c | 2 +-
 drivers/i2c/busses/i2c-uniphier.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/i2c/busses/i2c-uniphier-f.c b/drivers/i2c/busses/i2c-uniphier-f.c
index 213ba55..aeead0d 100644
--- a/drivers/i2c/busses/i2c-uniphier-f.c
+++ b/drivers/i2c/busses/i2c-uniphier-f.c
@@ -524,7 +524,7 @@ static int uniphier_fi2c_probe(struct platform_device *pdev)
 
 	irq = platform_get_irq(pdev, 0);
 	if (irq < 0) {
-		dev_err(dev, "failed to get IRQ number");
+		dev_err(dev, "failed to get IRQ number\n");
 		return irq;
 	}
 
diff --git a/drivers/i2c/busses/i2c-uniphier.c b/drivers/i2c/busses/i2c-uniphier.c
index 89eaa8a..475a5eb 100644
--- a/drivers/i2c/busses/i2c-uniphier.c
+++ b/drivers/i2c/busses/i2c-uniphier.c
@@ -381,7 +381,7 @@ static int uniphier_i2c_probe(struct platform_device *pdev)
 
 	irq = platform_get_irq(pdev, 0);
 	if (irq < 0) {
-		dev_err(dev, "failed to get IRQ number");
+		dev_err(dev, "failed to get IRQ number\n");
 		return irq;
 	}
 
-- 
1.9.1

[toc] | [next] | [standalone]


#1389391

FromWolfram Sang <wsa@the-dreams.de>
Date2016-04-27 19:20 +0200
Message-ID<rsBi2-4Sv-27@gated-at.bofh.it>
In reply to#1383880

[Multipart message — attachments visible in raw view] — view raw

On Thu, Apr 21, 2016 at 03:12:44PM +0900, Masahiro Yamada wrote:
> Just in case.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Applied to for-next, thanks!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web