public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] IB/ocrdma: pr_err() strings should end with newlines
@ 2017-09-26  6:51 Arvind Yadav
  2017-09-26  7:19 ` Yuval Shaia
  2017-09-27 14:20 ` Doug Ledford
  0 siblings, 2 replies; 5+ messages in thread
From: Arvind Yadav @ 2017-09-26  6:51 UTC (permalink / raw)
  To: selvin.xavier, dledford, sean.hefty, hal.rosenstock
  Cc: linux-rdma, linux-kernel

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>
---
 drivers/infiniband/hw/ocrdma/ocrdma_stats.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_stats.c b/drivers/infiniband/hw/ocrdma/ocrdma_stats.c
index 66056f9..e528d7a 100644
--- a/drivers/infiniband/hw/ocrdma/ocrdma_stats.c
+++ b/drivers/infiniband/hw/ocrdma/ocrdma_stats.c
@@ -658,7 +658,7 @@ static ssize_t ocrdma_dbgfs_ops_write(struct file *filp,
 		if (reset) {
 			status = ocrdma_mbx_rdma_stats(dev, true);
 			if (status) {
-				pr_err("Failed to reset stats = %d", status);
+				pr_err("Failed to reset stats = %d\n", status);
 				goto err;
 			}
 		}
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-27 14:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-26  6:51 [PATCH] IB/ocrdma: pr_err() strings should end with newlines Arvind Yadav
2017-09-26  7:19 ` Yuval Shaia
2017-09-26  7:31   ` Arvind Yadav
2017-09-26 15:23   ` Joe Perches
2017-09-27 14:20 ` Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox