HomeFreeBSD

kasan: Use kasan_md_unsupported() to check for invalid addresses

Description

kasan: Use kasan_md_unsupported() to check for invalid addresses

The subsequent assert verifies that the address is in the kernel map
anyway, and this removes uses of the MD DMAP_*_ADDRESS constants from MI
code.

This fixes the amd64 KASAN build after commit 4dd828c80828 ("amd64: add
kva_layout").

MFC after: 2 weeks

Details

Provenance
markjAuthored on Jul 15 2025, 12:31 AM
Parents
rGd4cdba5b2f55: p9fs: Set *eofflag in p9fs_readdir()
Branches
Unknown
Tags
Unknown