diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2022-07-07 14:54:42 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2022-07-07 19:51:36 +0300 |
commit | 9de76f41ea2188f2784f48352f9278819d249afc (patch) | |
tree | 46ae0319bd2d3de02282377a5efaafd8d5023109 /arch/x86/mm/pgprot.c | |
parent | 018ab4fabddd94f1c96f3b59e180691b9e88d5d8 (diff) | |
download | linux-9de76f41ea2188f2784f48352f9278819d249afc.tar.xz |
x86/mm: Refer to the intended config STRICT_DEVMEM in a comment
Commit a4866aa81251 ("mm: Tighten x86 /dev/mem with zeroing reads") adds a
comment to the function devmem_is_allowed() referring to a non-existing
config STRICT_IOMEM, whereas the comment very likely intended to refer to
the config STRICT_DEVMEM, as the commit adds some behavior for the config
STRICT_DEVMEM.
Most of the initial analysis was actually done by Dave Hansen in the
email thread below (see Link).
Refer to the intended and existing config STRICT_DEVMEM.
Suggested-by: Dave Hansen <dave.hansen@intel.com>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/r/f9074e8d-9314-9d7d-7bf5-5b5538c8be8d@intel.com/
Link: https://lkml.kernel.org/r/20220707115442.21107-1-lukas.bulwahn@gmail.com
Diffstat (limited to 'arch/x86/mm/pgprot.c')
0 files changed, 0 insertions, 0 deletions