Re: [PATCH] percpu: initialize best_upa variable
From: Wonhyuk Yang <hidden>
Date: 2021-05-17 11:07:12
Also in:
lkml
From: Wonhyuk Yang <hidden>
Date: 2021-05-17 11:07:12
Also in:
lkml
On Mon, May 17, 2021 at 11:05 AM Dennis Zhou [off-list ref] 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")