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

Nathan Chancellor <[email protected]>
Newsgroups dev.linux.lists.llvm,org.kernel.vger.linux-kernel,org.kernel.vger.stable,org.kvack.linux-mm
Message-ID <20260813013203.GA3920328@ax162>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.