Re: [PATCH v2] ext4: Fix sparse warning in extents kunit test when EXT4_KUNIT_TESTS=m
From: Theodore Ts'o
Date: Thu Nov 19 2026 - 09:51:03 EST
On Thu, 24 Sep 2026 13:09:28 +0530, Ojaswin Mujoo wrote:
> When kunit tests are compiled as modules, the extents kunit test emits
> a sparse warning:
>
> >> fs/ext4/extents-test.c:59:3: sparse: sparse: symbol 'k_ctx' was not
> declared. Should it be static?
>
> Fix this by declaring it as static.
>
> [...]
Applied, thanks!
[1/1] ext4: Fix sparse warning in extents kunit test when EXT4_KUNIT_TESTS=m
commit: 7d2ac21f7cc66c45fe7bc69d00aceb4fd1404629
Best regards,
--
Theodore Ts'o <tytso@xxxxxxx>