# Re: \[PATCH v2 3/6\] powerpc/pkeys: fix calculation of total pkeys.

- From: Michael Ellerman \<mpe@ellerman.id.au\>
- Date: 2018-06-19 12:40:21 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2018/06/9504729
- Thread: https://ratatoskr.run/linuxppc-dev/2018/06/9504656/t.md

```text
Ram Pai [ref] writes:

> Total number of pkeys calculation is off by 1. Fix it.

Oops.

Fixes: 4fb158f65ac5 ("powerpc: track allocation status of all pkeys")
Cc: <redacted> # v4.16+

cheers
```
