[dpdk-dev] [PATCH 08/11] kvargs: add const attribute in handler parameters

Richardson, Bruce bruce.richardson at intel.com
Thu Jan 30 12:24:17 CET 2014


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Olivier Matz
> Sent: Tuesday, January 28, 2014 4:07 PM
> To: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH 08/11] kvargs: add const attribute in handler
> parameters
> 
> The "value" argument is read-only and should be const.
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> ---
>  lib/librte_kvargs/rte_kvargs.h     |  2 +-
>  lib/librte_pmd_pcap/rte_eth_pcap.c | 14 +++++++-------
>  2 files changed, 8 insertions(+), 8 deletions(-)

 Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list