]> Git Repo - linux.git/commit
x86/mm: Refer to the intended config STRICT_DEVMEM in a comment
authorLukas Bulwahn <[email protected]>
Thu, 7 Jul 2022 11:54:42 +0000 (13:54 +0200)
committerDave Hansen <[email protected]>
Thu, 7 Jul 2022 16:51:36 +0000 (09:51 -0700)
commit9de76f41ea2188f2784f48352f9278819d249afc
tree46ae0319bd2d3de02282377a5efaafd8d5023109
parent018ab4fabddd94f1c96f3b59e180691b9e88d5d8
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 <[email protected]>
Signed-off-by: Lukas Bulwahn <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]/
Link: https://lkml.kernel.org/r/[email protected]
arch/x86/mm/init.c
This page took 0.062915 seconds and 4 git commands to generate.