aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorLiu Xiang <[email protected]>2020-12-14 19:12:05 -0800
committerLinus Torvalds <[email protected]>2020-12-15 12:13:44 -0800
commit0a4f3d1bb91cac4efdd780373638b6a1a4c24c51 (patch)
treece7178171289186ab535a0043e2e299e3eaf7f85 /lib/mpi/mpi-cmp.c
parent336e6b53d99ae32ee35c1a7d3d0f99db22e1ff51 (diff)
mm: hugetlb: fix type of delta parameter and related local variables in gather_surplus_pages()
On 64-bit machine, delta variable in hugetlb_acct_memory() may be larger than 0xffffffff, but gather_surplus_pages() can only use the low 32-bit value now. So we need to fix type of delta parameter and related local variables in gather_surplus_pages(). Link: https://lkml.kernel.org/r/[email protected] Reported-by: Ma Chenggong <[email protected]> Signed-off-by: Liu Xiang <[email protected]> Signed-off-by: Pan Jiagen <[email protected]> Reviewed-by: Mike Kravetz <[email protected]> Cc: Liu Xiang <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions