diff options
| author | Dan Carpenter <[email protected]> | 2018-07-03 12:04:25 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2018-07-14 10:47:04 +0000 |
| commit | f90a21c898db58eaea14b8ad7e9af3b9e15e5f8a (patch) | |
| tree | 9b5632dad65256452c2ceb4f9c4edb4c599fe014 /fs/btrfs/dev-replace.c | |
| parent | pinctrl: sh-pfc: r8a77970: remove SH_PFC_PIN_CFG_DRIVE_STRENGTH flag (diff) | |
| download | kernel-f90a21c898db58eaea14b8ad7e9af3b9e15e5f8a.tar.gz kernel-f90a21c898db58eaea14b8ad7e9af3b9e15e5f8a.zip | |
pinctrl: nsp: off by ones in nsp_pinmux_enable()
The > comparisons should be >= or else we read beyond the end of the
pinctrl->functions[] array.
Fixes: cc4fa83f66e9 ("pinctrl: nsp: add pinmux driver support for Broadcom NSP SoC")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Ray Jui <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
