Re: [PATCH] selftests/configfs: fix the build on 32-bit architectures
From: Breno Leitao
Date: Wed Nov 04 2026 - 06:23:40 EST
On Tue, 03 Nov 2026 09:16:27 -0500, Sasha Levin wrote:
> The fixture setup checks the result of mkdtemp() with ASSERT_NE(), which
> hands the pointer to the harness. The harness casts both operands to
> intmax_t to print them, and on 32-bit architectures gcc warns about the
> cast from a pointer to an integer of a different size. The configfs
> test builds with -Werror, so it fails to build there:
>
> kselftest_harness.h:797:49: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
>
> [...]
Applied, thanks!
[1/1] selftests/configfs: fix the build on 32-bit architectures
https://git.kernel.org/pub/scm/linux/kernel/git/leitao/linux.git/commit/?id=57d94d26ed42
Best regards,
--
Breno Leitao <leitao@xxxxxxxxxx>