[PATCH] cpufreq: dt: always allocate zeroed cpumask

Christoph Lameter (Ampere) cl at linux.com
Thu Mar 14 10:18:53 PDT 2024


On Thu, 14 Mar 2024, Marek Szyprowski wrote:

> -	if (!alloc_cpumask_var(&priv->cpus, GFP_KERNEL))
> +	if (!zalloc_cpumask_var(&priv->cpus, GFP_KERNEL))
> 		return -ENOMEM;

Reviewed-by: Christoph Lameter (Ampere) <cl at linux.com>




More information about the linux-arm-kernel mailing list