[dpdk-dev] [PATCH] event/sw: remove spare newline from error logs

Jerin Jacob jerin.jacob at caviumnetworks.com
Thu Sep 21 12:05:18 CEST 2017


-----Original Message-----
> Date: Mon, 18 Sep 2017 14:42:20 +0100
> From: Harry van Haaren <harry.van.haaren at intel.com>
> To: dev at dpdk.org
> CC: jerin.jacob at caviumnetworks.com, Harry van Haaren
>  <harry.van.haaren at intel.com>
> Subject: [PATCH] event/sw: remove spare newline from error logs
> X-Mailer: git-send-email 2.7.4
> 
> This commit removes extra newline characters from SW_LOG_ERR()
> messages, which cleans up the error output.
> 
> Signed-off-by: Harry van Haaren <harry.van.haaren at intel.com>
> 
> ---
> 
> Note that this patchset applies cleanly only on the updated service
> cores patchset (which contained a trivial change to SW PMD). Suggesting
> a rebase of next-eventdev tree before applying this - will make life easier :)
> 
> ---
>  drivers/event/sw/sw_evdev.c | 14 +++++++-------

drivers/event/sw/sw_evdev_xstats.c has similar instance.

➜ [dpdk-next-eventdev] $ grep -ri "SW_LOG_ERR" drivers/event/
drivers/event/sw/sw_evdev_xstats.c:		SW_LOG_ERR("Invalid mode received in sw_xstats_get_names()\n");
drivers/event/sw/sw_evdev_xstats.c:		SW_LOG_ERR("Invalid mode received in sw_xstats_get()\n");




More information about the dev mailing list