On Fri, Dec 06, 2024 at 06:41:15PM +0800, jianqi.ren.cn@xxxxxxxxxxxxx wrote: > From: Anastasia Belova <abelova@xxxxxxxxxxxxx> > > [ Upstream commit 5493f9714e4cdaf0ee7cec15899a231400cb1a9f ] > > cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it > and return in case of error. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Anastasia Belova <abelova@xxxxxxxxxxxxx> > Reviewed-by: Perry Yuan <perry.yuan@xxxxxxx> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx> > Signed-off-by: Jianqi Ren <jianqi.ren.cn@xxxxxxxxxxxxx> > --- > drivers/cpufreq/amd-pstate.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Any reason you are not cc:ing all of the people involved in these patches when backporting them? thanks, greg k-h