Re: [PATCH v2] arm_mpam: make the mon_sel guard conditional only

From: Catalin Marinas

Date: Mon Oct 12 2026 - 12:57:09 EST


On Fri, 09 Oct 2026 12:32:35 -0400, Sasha Levin wrote:
> Building arm64 allmodconfig with clang fails:
>
> drivers/resctrl/mpam_internal.h:207:7: error: ignoring return value
> of function declared with 'warn_unused_result' attribute
> [-Werror,-Wunused-result]
> 207 | mpam_mon_sel_lock(_T), mpam_mon_sel_unlock(_T));
>
> [...]

Applied to arm64 (for-next/mpam), thanks!

[1/1] arm_mpam: make the mon_sel guard conditional only
https://git.kernel.org/arm64/c/8ea457f746d9