Re: [PATCH v3 03/13] fs/resctrl: Avoid "may be used uninitialized" warning

From: Borislav Petkov

Date: Tue Apr 07 2026 - 18:19:47 EST


On Tue, Apr 07, 2026 at 01:50:50PM -0700, Reinette Chatre wrote:
> Indeed. This patch is for developer and maintenance convenience and not required for
> resctrl health. No problem from me if you find it not to be appropriate. I will just
> continue to parse the warning out of the logs.

Oh, your call. I just think it is unnecessary especially because those
warnings are not really worth to care for as they produce a bunch of false
positives and that's why they're not enabled by default.

IOW, I take them with a grain of salt.

In this particular case, I would care about the code not doing any unnecessary
work if it can be helped. And the warning can take a hike... :-)

But I can apply the patch if you prefer.

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette