Re: [PATCH v3 3/4] cpumask: Switch from inline to __always_inline

From: Brian Norris
Date: Fri Aug 02 2024 - 17:20:08 EST


On Thu, Jul 18, 2024 at 05:50:39PM -0700, Brian Norris wrote:
> On recent (v6.6+) builds with Clang (based on Clang 18.0.0) and certain
> configurations [0], I'm finding that (lack of) inlining decisions may
> lead to section mismatch warnings like the following:
>
> WARNING: modpost: vmlinux.o: section mismatch in reference:
> cpumask_andnot (section: .text) ->
> cpuhp_bringup_cpus_parallel.tmp_mask (section: .init.data) ERROR:
> modpost: Section mismatches detected.
...

Hi Yury,

I'm wondering if you've had a chance to look at this latest series. I
believe I refactored it the way you recommended.

Regards,
Brian