eal: fix formatting of hotplug error message

Message ID 20190424164619.18369-1-stephen@networkplumber.org (mailing list archive)
State Accepted, archived
Headers
Series eal: fix formatting of hotplug error message |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK
ci/mellanox-Performance-Testing success Performance Testing PASS
ci/intel-Performance-Testing success Performance Testing PASS

Commit Message

Stephen Hemminger April 24, 2019, 4:46 p.m. UTC
  This message was missing newline, and should capitalize
"Cannot" like all the others in this area.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 lib/librte_eal/common/hotplug_mp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Rami Rosen April 24, 2019, 6:48 p.m. UTC | #1
Acked-by: Rami Rosen <ramirose@gmail.com>
  
Thomas Monjalon May 3, 2019, 8:22 a.m. UTC | #2
24/04/2019 18:46, Stephen Hemminger:
> This message was missing newline, and should capitalize
> "Cannot" like all the others in this area.
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Applied, thanks
  

Patch

diff --git a/lib/librte_eal/common/hotplug_mp.c b/lib/librte_eal/common/hotplug_mp.c
index 4052a5c7fb71..04616519cde0 100644
--- a/lib/librte_eal/common/hotplug_mp.c
+++ b/lib/librte_eal/common/hotplug_mp.c
@@ -376,7 +376,7 @@  int eal_dev_hotplug_request_to_primary(struct eal_dev_mp_req *req)
 
 	ret = rte_mp_request_sync(&mp_req, &mp_reply, &ts);
 	if (ret || mp_reply.nb_received != 1) {
-		RTE_LOG(ERR, EAL, "cannot send request to primary");
+		RTE_LOG(ERR, EAL, "Cannot send request to primary\n");
 		if (!ret)
 			return -1;
 		return ret;