[dpdk-dev] [PATCH v3] service: fix parameter type

Thomas Monjalon thomas at monjalon.net
Wed Mar 27 10:52:39 CET 2019


15/02/2019 11:29, Nikhil Rao:
> The type of value parameter to rte_service_attr_get
> should be uint64_t *, since the attributes
> are of type uint64_t.
> 
> Fixes: 4d55194d76a4 ("service: add attribute get function")
> 
> Reviewed-by: Gage Eads <gage.eads at intel.com>
> Signed-off-by: Nikhil Rao <nikhil.rao at intel.com>
> Acked-by: Harry van Haaren <harry.van.haaren at intel.com>
> ---
> --- a/lib/librte_eal/common/include/rte_service.h
> +++ b/lib/librte_eal/common/include/rte_service.h
>  int32_t rte_service_attr_get(uint32_t id, uint32_t attr_id,
> -		uint32_t *attr_value);
> +		uint64_t *attr_value);

I'm seeing this error:
app/test/test_service_cores.c:265:8: error:
passing argument 3 of ‘rte_service_attr_get’ from incompatible pointer type

> --- a/doc/guides/rel_notes/release_19_05.rst
> +++ b/doc/guides/rel_notes/release_19_05.rst
> -     librte_eal.so.9
> +    +librte_eal.so.10

A space is missing after the +





More information about the dev mailing list