Re: [PATCH] percpu: initialize best_upa variable

From: Wonhyuk Yang
Date: Mon May 17 2021 - 07:07:12 EST


On Mon, May 17, 2021 at 11:05 AM Dennis Zhou <dennis@xxxxxxxxxx> wrote:
>
> Can you also tell me what static analysis tool produced this? I'm just a
> little curious because this code hasn't changed in several years so I'd
> have expected some static analyzer to have caught this by now.
>

It's because uninitialize_var() was gone. It was introduced commit :
3f649ab728cda8("treewide: Remove uninitialized_var() usage")