Re: [PATCH] arch_numa: Avoid false positive fortify warning in setup_node_to_cpumask_map()

From: Nathan Chancellor

Date: Wed Aug 12 2026 - 21:32:14 EST


On Tue, Aug 11, 2026 at 10:47:46PM -0700, Andrew Morton wrote:
> (cc Kees)

Thanks, should have done that originally, I cc'd him on the original
issue.

> Sashiko wants a \n there.

Thanks, will send v2 with this tomorrow.

> Lord only knows why nr_node_ids is unsigned but MAX_NUMNODES is signed.

I can change the specifier for MAX_NUMNODES to unsigned as well (even if
it is technically signed due to the signed '1' literal in its
definition) since it should never be negative, up to you.

--
Cheers,
Nathan