Skip to content
Commit f1dbc1c5 authored by Michael Bringmann's avatar Michael Bringmann Committed by Michael Ellerman
Browse files

powerpc/pseries/lparcfg: Fix display of Maximum Memory



Correct overflow problem in calculation and display of Maximum Memory
value to syscfg.

Signed-off-by: default avatarMichael Bringmann <mwb@linux.ibm.com>
[mpe: Only n_lmbs needs casting to unsigned long]
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/5577aef8-1d5a-ca95-ff0a-9c7b5977e5bf@linux.ibm.com
parent 736bcdd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment