aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-09-07 11:12:05 +0000
committerLinus Walleij <[email protected]>2017-09-12 09:27:36 +0000
commit4ce504c4eb5628073f35d38efe490554a12aee04 (patch)
tree16e635bcdc7069d4241c7d4c95643e61cb13f0ac /fs/btrfs/dev-replace.c
parentpinctrl: sprd: check for allocation failure (diff)
downloadkernel-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