Skip to contentSkip to conversation

s390 updates for 7.2-rc2

GIT PULL Merged Vasily Gorbik 2 participants 2 messages Jul 3 – Jul 4 s390

lore
Share & tools
lore

Vasily Gorbik

author maintainer Applied
#0 lore raw
Quoted 8 lines · Gerald Schaefer

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.

Quoted 6 lines
Fixes 86f48f922ba79 ("s390/mmap: disable mmap alignment when randomize_va_space = 0")
---
 arch/s390/mm/mmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thank you!