[dpdk-dev] [PATCH] rte_ring: add newline to error message

Thomas Monjalon thomas at monjalon.net
Wed Mar 27 12:21:25 CET 2019


22/03/2019 00:03, Stephen Hemminger:
> Log message should end with newline.
> 
> Fixes: 4e32101f9b01 ("ring: support freeing")
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> -		RTE_LOG(ERR, RING, "Cannot free ring (not created with rte_ring_create()");
> +		RTE_LOG(ERR, RING,
> +			"Cannot free ring (not created with rte_ring_create()\n");

While at it, could you fix the parens?
I think it would be better to replace the first paren with a comma.




More information about the dev mailing list