On Sat, May 30, 2026 at 04:51:12PM +0000, John Groves wrote:
> From: John Groves <[email protected]>
> 
> Convert the WARN_ON to a fatal error when pgmap_phys > phys. This
> condition means the remapped region starts after the device's data
> region, which is an impossible state. Previously the probe continued
> with data_offset=0, leaving virt_addr silently misaligned. Now probe
> returns -EINVAL with a diagnostic message.
> 
> Fixes: 759455848df0b ("dax: Save the kva from memremap")
> Signed-off-by: John Groves <[email protected]>
> ---

Reviewed-by: Alison Schofield <[email protected]>

Reply via email to