Re: [PATCH v5 0/4] selftests/mm: refactor pkey helpers and fix mmap error handling

From: Andrew Morton

Date: Mon Jun 01 2026 - 19:21:26 EST


On Mon, 1 Jun 2026 14:19:49 +0800 Hongfu Li <lihongfu@xxxxxxxxxx> wrote:

> The main changes in this series are to refactor shared tracing and assertion
> helpers into a common file, unify both pkey selftests on pkey_assert() and
> per-test tracing for consistent diagnostics, and add missing mmap() return
> checks with MAP_FAILED used throughout for readability and consistency.

Thanks. AI review found a couple of legitimate-looking issues. At
least one of these was also reported against the v2(?) series and you
said you'd take a look. Were these things false positives?

https://sashiko.dev/#/patchset/20260601061953.696844-1-lihongfu@xxxxxxxxxx