[dpdk-dev] [PATCH v3 8/9] examples/guest_cli: fix type of cmdline token

Hunt, David david.hunt at intel.com
Wed Oct 23 12:40:32 CEST 2019


On 22/10/2019 16:43, Bruce Richardson wrote:
> Building the example with clang gives the error:
>
>    error: expression which evaluates to zero treated as a null pointer
>    constant of type 'const char *' [-Werror,-Wnon-literal-null-conversion]
>                          lcore_id, UINT8);
>                                    ^~~~~
>
> This error is due to the wrong data type being given for the
> cmd_set_cpu_freq_core_num value - it was specified as string rather than
> numeric type.
>
> Fixes: f5e5c3347ae3 ("examples/vm_power: cli in guest")
> Cc: stable at dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---


Acked-by: David Hunt <david.hunt at intel.com>



More information about the dev mailing list