summaryrefslogtreecommitdiffstats
path: root/dpdk/dpdk-2.2.0_patches/0013-enic-add-missing-newline-to-print-statements.patch
blob: 97a424f145cbfeca955c34fa2d19076abbc0eb22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From a1ed99bc24f88f061d75eed0db84dc6355855dd2 Mon Sep 17 00:00:00 2001
From: Nelson Escobar <neescoba@cisco.com>
Date: Thu, 17 Mar 2016 15:48:13 -0700
Subject: [PATCH 13/22]     enic: add missing newline to print statements

    Add the missing '\n' character to the end of a few print statements.

    Fixes: fefed3d1e62c ("enic: new driver")

    Signed-off-by: Nelson Escobar <neescoba@cisco.com>
    Acked-by: John Daley <johndale@cisco.com>
---
 drivers/net/enic/enic_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index 9fff020..e30672c 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -342,13 +342,13 @@ enic_alloc_rx_queue_mbufs(struct enic *enic, struct vnic_rq *rq)
 	unsigned i;
 	dma_addr_t dma_addr;
 
-	dev_debug(enic, "queue %u, allocating %u rx queue mbufs", rq->index,
+	dev_debug(enic, "queue %u, allocating %u rx queue mbufs\n", rq->index,
 		  rq->ring.desc_count);
 
 	for (i = 0; i < rq->ring.desc_count; i++, rqd++) {
 		mb = rte_rxmbuf_alloc(rq->mp);
 		if (mb == NULL) {
-			dev_err(enic, "RX mbuf alloc failed queue_id=%u",
+			dev_err(enic, "RX mbuf alloc failed queue_id=%u\n",
 			(unsigned)rq->index);
 			return -ENOMEM;
 		}
@@ -388,7 +388,7 @@ enic_alloc_consistent(__rte_unused void *priv, size_t size,
 	rz = rte_memzone_reserve_aligned((const char *)name,
 					 size, SOCKET_ID_ANY, 0, ENIC_ALIGN);
 	if (!rz) {
-		pr_err("%s : Failed to allocate memory requested for %s",
+		pr_err("%s : Failed to allocate memory requested for %s\n",
 			__func__, name);
 		return NULL;
 	}
-- 
1.9.1