blob: 97a424f145cbfeca955c34fa2d19076abbc0eb22 [file] [log] [blame]
Todd Foggoaa292c8c2016-04-06 09:57:01 -04001From a1ed99bc24f88f061d75eed0db84dc6355855dd2 Mon Sep 17 00:00:00 2001
2From: Nelson Escobar <neescoba@cisco.com>
3Date: Thu, 17 Mar 2016 15:48:13 -0700
4Subject: [PATCH 13/22] enic: add missing newline to print statements
John Lo23650e62016-03-29 16:14:35 -04005
John Lo23650e62016-03-29 16:14:35 -04006 Add the missing '\n' character to the end of a few print statements.
Todd Foggoaa292c8c2016-04-06 09:57:01 -04007
John Lo23650e62016-03-29 16:14:35 -04008 Fixes: fefed3d1e62c ("enic: new driver")
Todd Foggoaa292c8c2016-04-06 09:57:01 -04009
John Lo23650e62016-03-29 16:14:35 -040010 Signed-off-by: Nelson Escobar <neescoba@cisco.com>
11 Acked-by: John Daley <johndale@cisco.com>
Todd Foggoaa292c8c2016-04-06 09:57:01 -040012---
13 drivers/net/enic/enic_main.c | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
John Lo23650e62016-03-29 16:14:35 -040015
16diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
17index 9fff020..e30672c 100644
18--- a/drivers/net/enic/enic_main.c
19+++ b/drivers/net/enic/enic_main.c
20@@ -342,13 +342,13 @@ enic_alloc_rx_queue_mbufs(struct enic *enic, struct vnic_rq *rq)
21 unsigned i;
22 dma_addr_t dma_addr;
23
24- dev_debug(enic, "queue %u, allocating %u rx queue mbufs", rq->index,
25+ dev_debug(enic, "queue %u, allocating %u rx queue mbufs\n", rq->index,
26 rq->ring.desc_count);
27
28 for (i = 0; i < rq->ring.desc_count; i++, rqd++) {
29 mb = rte_rxmbuf_alloc(rq->mp);
30 if (mb == NULL) {
31- dev_err(enic, "RX mbuf alloc failed queue_id=%u",
32+ dev_err(enic, "RX mbuf alloc failed queue_id=%u\n",
33 (unsigned)rq->index);
34 return -ENOMEM;
35 }
36@@ -388,7 +388,7 @@ enic_alloc_consistent(__rte_unused void *priv, size_t size,
37 rz = rte_memzone_reserve_aligned((const char *)name,
38 size, SOCKET_ID_ANY, 0, ENIC_ALIGN);
39 if (!rz) {
40- pr_err("%s : Failed to allocate memory requested for %s",
41+ pr_err("%s : Failed to allocate memory requested for %s\n",
42 __func__, name);
43 return NULL;
44 }
Todd Foggoaa292c8c2016-04-06 09:57:01 -040045--
461.9.1
47