Re: kcsan -Wmaybe-uninitialized warning in ntfs3

"Arnd Bergmann" <[email protected]> Tue, 21 Apr 2026 21:12:46 +0200
Newsgroups dev.linux.lists.ntfs3,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Tue, Apr 21, 2026, at 21:06, Marco Elver wrote:
> On Tue, 21 Apr 2026 at 17:26, Marco Elver <[email protected]> wrote:
> [...]
>> > To me, 2 makes more sense. The attribute requires gcc-11 or higher,
>> > so you need to wrap that in a compiler version specific macro,
>> > but since I only saw the warning with gcc-12 and higher, that
>> > should be fine.
>
> Kindly test if you can:
> https://lore.kernel.org/all/[email protected]/

Applied to my randconfig tree and verified that this fixes the
known warning (only one out of about 200 random configs). I'll
let you know if something comes up by tomorrow.

Both patches

Reviewed-by: Arnd Bergmann <[email protected]>

Thanks a lot for addressing the warning!