[dpdk-dev] [PATCH] lib/power: fix return code to unsigned value
Thomas Monjalon
thomas at monjalon.net
Mon Jan 14 23:55:42 CET 2019
07/01/2019 15:40, David Hunt:
> The power_pstate_cpufreq_freqs() function was returning -1 in an
> unsigned int, causing buffer over-runs when the results were being
> processed. This function should be returning zero for all error
> conditions, similar to it's acpi relation, power_acpi_cpufreq_freqs().
>
> Fixes: e6c6dc0f96c8 ("power: add p-state driver compatibility")
>
> Signed-off-by: David Hunt <david.hunt at intel.com>
Applied, thanks
More information about the dev
mailing list