> cpufreq_cpu_get_raw() may return NULL if the cpu is not in CPU? > policy->cpus cpu mask and it will cause null pointer dereference. … Would the summary phrase “Prevent null pointer dereference in apple_soc_cpufreq_get_rate()” be a bit nicer here? Regards, Markus