Re: kcsan -Wmaybe-uninitialized warning in ntfs3

From: David Laight

Date: Thu Apr 23 2026 - 04:13:13 EST


On Wed, 22 Apr 2026 23:50:22 +0200
Marco Elver <elver@xxxxxxxxxx> wrote:

> Which means the simplest fix is probably the absolute_pointer() one.

I'm not sure that using absolute_pointer() is right, it is normally used
for special conversions in low level boot code.

Here it might just be best to explicitly use (void *)(long)addr.

David


>
> Thanks,
> -- Marco
>