summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-03-04 11:14:30 +0300
committerVasily Gorbik <gor@linux.ibm.com>2025-03-11 17:27:34 +0300
commitf8c425a94bad5bef4c31792de931470ab5e4bfae (patch)
tree0eefd5af3a48c37e246ad074befa7c8eb23f9f9d /scripts/generate_rust_analyzer.py
parenta64dcfb451e254085a7daee5fe51bf22959d52d3 (diff)
downloadlinux-f8c425a94bad5bef4c31792de931470ab5e4bfae.tar.xz
s390/mm: Use pgprot_val() instead of open coding
Use pgprot_val() to get the page protection value, instead of accessing the structure member directly. The type of pgprot_t is supposed to be hidden from all users so that it can be changed; e.g. for STRICT_MM_TYPECHECKS. Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions