Subject: linux-next: build warning after merge of the bitmap tree

From: Stephen Rothwell <[email-masked]>
Date: Thu, 10 Jul 2025 18:34:49 +1000

Hi all,

After merging the bitmap tree, today's linux-next build (arm64 defconfig)
produced this warning:

arch/arm64/kvm/sys_regs.c: In function 'access_mdcr':
arch/arm64/kvm/sys_regs.c:2654:17: warning: ignoring return value of 'u64_replace_bits' declared with attribute 'warn_unused_result' [-Wunused-result]
 2654 |                 u64_replace_bits(val, hpmn, MDCR_EL2_HPMN);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  f66f9c3d09c1 ("bitfield: Ensure the return values of helper functions are checked")

-- 
Cheers,
Stephen Rothwell