Revision 9d3004bf7ba32c89873bb8422671d52b4bb52ce1 authored by Simon Leiner on 25 August 2020, 09:31:53 UTC, committed by Juergen Gross on 27 August 2020, 06:58:51 UTC
As virt_to_gfn uses virt_to_phys, it will return invalid addresses when
used with vmalloc'd addresses. This patch introduces a warning, when
virt_to_gfn is used in this way.

Signed-off-by: Simon Leiner <simon@leiner.me>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Link: https://lore.kernel.org/r/20200825093153.35500-2-simon@leiner.me
Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent d742db7
History

back to top