Re: [PATCH v6] riscv: selftests: Fix warnings pointer masking test

From: patchwork-bot+linux-riscv
Date: Wed Jan 08 2025 - 13:20:56 EST


Hello:

This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxxx>:

On Wed, 11 Dec 2024 23:01:43 -0800 you wrote:
> When compiling the pointer masking tests with -Wall this warning
> is present:
>
> pointer_masking.c: In function ‘test_tagged_addr_abi_sysctl’:
> pointer_masking.c:203:9: warning: ignoring return value of ‘pwrite’
> declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 203 | pwrite(fd, &value, 1, 0); |
> ^~~~~~~~~~~~~~~~~~~~~~~~ pointer_masking.c:208:9: warning:
> ignoring return value of ‘pwrite’ declared with attribute
> ‘warn_unused_result’ [-Wunused-result]
> 208 | pwrite(fd, &value, 1, 0);
>
> [...]

Here is the summary with links:
- [v6] riscv: selftests: Fix warnings pointer masking test
https://git.kernel.org/riscv/c/498d5b14db8c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html