Todd Foggoa | a292c8c | 2016-04-06 09:57:01 -0400 | [diff] [blame] | 1 | From a1ed99bc24f88f061d75eed0db84dc6355855dd2 Mon Sep 17 00:00:00 2001 |
| 2 | From: Nelson Escobar <neescoba@cisco.com> |
| 3 | Date: Thu, 17 Mar 2016 15:48:13 -0700 |
| 4 | Subject: [PATCH 13/22] enic: add missing newline to print statements |
John Lo | 23650e6 | 2016-03-29 16:14:35 -0400 | [diff] [blame] | 5 | |
John Lo | 23650e6 | 2016-03-29 16:14:35 -0400 | [diff] [blame] | 6 | Add the missing '\n' character to the end of a few print statements. |
Todd Foggoa | a292c8c | 2016-04-06 09:57:01 -0400 | [diff] [blame] | 7 | |
John Lo | 23650e6 | 2016-03-29 16:14:35 -0400 | [diff] [blame] | 8 | Fixes: fefed3d1e62c ("enic: new driver") |
Todd Foggoa | a292c8c | 2016-04-06 09:57:01 -0400 | [diff] [blame] | 9 | |
John Lo | 23650e6 | 2016-03-29 16:14:35 -0400 | [diff] [blame] | 10 | Signed-off-by: Nelson Escobar <neescoba@cisco.com> |
| 11 | Acked-by: John Daley <johndale@cisco.com> |
Todd Foggoa | a292c8c | 2016-04-06 09:57:01 -0400 | [diff] [blame] | 12 | --- |
| 13 | drivers/net/enic/enic_main.c | 6 +++--- |
| 14 | 1 file changed, 3 insertions(+), 3 deletions(-) |
John Lo | 23650e6 | 2016-03-29 16:14:35 -0400 | [diff] [blame] | 15 | |
| 16 | diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c |
| 17 | index 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 Foggoa | a292c8c | 2016-04-06 09:57:01 -0400 | [diff] [blame] | 45 | -- |
| 46 | 1.9.1 |
| 47 | |