https://github.com/torvalds/linux
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
Tip revision: 9d3004bf7ba32c89873bb8422671d52b4bb52ce1 authored by Simon Leiner on 25 August 2020, 09:31:53 UTC
arm/xen: Add misuse warning to virt_to_gfn
Tip revision: 9d3004b
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 15.8 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.8 KB
.mailmap -rw-r--r-- 15.9 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 97.4 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 548.3 KB
Makefile -rw-r--r-- 60.5 KB
README -rw-r--r-- 727 bytes

README

back to top