diff options
| author | Dan Carpenter <[email protected]> | 2017-09-07 11:12:05 +0000 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2017-09-12 09:27:36 +0000 |
| commit | 4ce504c4eb5628073f35d38efe490554a12aee04 (patch) | |
| tree | 16e635bcdc7069d4241c7d4c95643e61cb13f0ac /fs/btrfs/dev-replace.c | |
| parent | pinctrl: sprd: check for allocation failure (diff) | |
| download | kernel-4ce504c4eb5628073f35d38efe490554a12aee04.tar.gz kernel-4ce504c4eb5628073f35d38efe490554a12aee04.zip | |
pinctrl: sprd: fix off by one bugs
info->groups[] has info->ngroups elements so these comparisons should be
>= instead of >.
Fixes: 41d32cfce1ae ("pinctrl: sprd: Add Spreadtrum pin control driver")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Baolin Wang <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
