summaryrefslogtreecommitdiff
path: root/rust/zerocopy/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@linux.ibm.com>2026-06-30 19:32:14 +0200
committerVasily Gorbik <gor@linux.ibm.com>2026-07-08 17:02:47 +0200
commitec84aad4c3594307d103af563991b4415ac5c8ab (patch)
tree4c41cd31a627935e057871e712a889d05b4e712c /rust/zerocopy/git@git.tavy.me:linux-stable.git
parentb7577fe4c47a31ca7c99714c53244a44af03cdfe (diff)
s390/mm: Fix type mismatch in get_align_mask().
Commit 86f48f922ba79 ("s390/mmap: disable mmap alignment when randomize_va_space = 0") introduced get_align_mask() with return type of 'int', while the target field 'info.align_mask' in struct vm_unmapped_area_info is 'unsigned long'. With currently used masks, this should not cause truncation issues, but fix it and return 'unsigned long' to avoid future problems. Fixes: 86f48f922ba79 ("s390/mmap: disable mmap alignment when randomize_va_space = 0") Cc: stable@vger.kernel.org # v6.9+ Signed-off-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com> Reviewed-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'rust/zerocopy/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions