net/mana: add missing \n to DP logs
Checks
Commit Message
From: Long Li <longli@microsoft.com>
Add a missing "\n" to DP logs. This makes the logs correctly formatted.
Signed-off-by: Long Li <longli@microsoft.com>
---
drivers/net/mana/mana.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 10/13/2023 9:37 PM, longli@linuxonhyperv.com wrote:
> From: Long Li <longli@microsoft.com>
>
> Add a missing "\n" to DP logs. This makes the logs correctly formatted.
>
> Signed-off-by: Long Li <longli@microsoft.com>
>
Fixes: e2d3a3c060c4 ("net/mana: use datapath logging")
Cc: stable@dpdk.org
Applied to dpdk-next-net/main, thanks.
@@ -467,7 +467,7 @@ extern int mana_logtype_init;
__func__, ## args)
#define DP_LOG(level, fmt, args...) \
- RTE_LOG_DP(level, PMD, fmt, ## args)
+ RTE_LOG_DP(level, PMD, fmt "\n", ## args)
#define PMD_INIT_LOG(level, fmt, args...) \
rte_log(RTE_LOG_ ## level, mana_logtype_init, "%s(): " fmt "\n",\