Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/vm_power: fix type of cmdline token in cli
[ upstream commit 99dc014 ] 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: f5e5c33 ("examples/vm_power: cli in guest") Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: David Hunt <david.hunt@intel.com>
- Loading branch information