Re: [PATCH v1 1/9] ext2: fix ext2_xattr_delete_inode() context analysis warning
From: Timothy Day
Date: Wed Jul 15 2026 - 12:53:19 EST
On Wed, 15 Jul 2026 00:52:07 +0200, Marco Elver wrote:
> My Clang PR was merged. Can you rebase and send your Clang fix and add
> me as a reviewer? Please add a more elaborate commit description,
> because it's a little more intrusive and the problem and your solution
> is less obvious.
I submitted https://github.com/llvm/llvm-project/pull/209796. I tagged
you in a comment, since I can't add you as a reviewer myself.
While I work on getting the LLVM change landed, I might try adding some
annotations to other drivers. I have a series for infiniband/hw/efa/.
And I've been working on Lustre as well, since I want it to enforce
context analysis on it once it's accepted upstream.
Is there a roadmap for future Clang static checks? Other ideas for
using context analysis? I'm really interested in using Clang to
improve the correctness of kernel code and I'd like to help get this
adopted more widely.
Tim Day