[dpdk-dev] [PATCH v5] ethdev: fix for compiler warning when vtune profiling is on

Ferruh Yigit ferruh.yigit at intel.com
Tue Apr 7 12:26:36 CEST 2020


On 4/6/2020 7:27 PM, eugeny.parshutin at linux.intel.com wrote:
> From: Eugeny Parshutin <eugeny.parshutin at linux.intel.com>
> 
> Add the previous prototype for the 'profile_hook_rx_burst_cb' function
> to fix the compiler warning when the DPDK is built with
> 'RTE_ETHDEV_PROFILE_WITH_VTUNE' config option enabled:
> /home/dpdk/lib/librte_ethdev/ethdev_profile.c:17:1: warning:
> no previous prototype for profile_hook_rx_burst_cb [-Wmissing-prototypes]
> 
> Fixes: 2c1bbab7f09d ("ethdev: change vtune profiling approach")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Eugeny Parshutin <eugeny.parshutin at linux.intel.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list