commit | fe6a2804e65969a574377bdb3605afb79e6091a9 | [log] [tgz] |
---|---|---|
author | Ram Pai <linuxram@us.ibm.com> | Tue Jul 17 06:51:06 2018 -0700 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Jul 24 21:35:09 2018 +1000 |
tree | 91ded5205f3b862ecfaf5d1e8c7000e288886c0c | |
parent | c76662e825f507b98938dc3bb141c4505bd4968c [diff] |
powerpc/pkeys: Fix calculation of total pkeys. Total number of pkeys calculation is off by 1. Fix it. Fixes: 4fb158f65ac5 ("powerpc: track allocation status of all pkeys") Cc: stable@vger.kernel.org # v4.16+ Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>