summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mvebu
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-09-07 13:12:05 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-09-12 11:27:36 +0200
commit4ce504c4eb5628073f35d38efe490554a12aee04 (patch)
tree16e635bcdc7069d4241c7d4c95643e61cb13f0ac /drivers/pinctrl/mvebu
parentpinctrl: sprd: check for allocation failure (diff)
downloadlinux-4ce504c4eb5628073f35d38efe490554a12aee04.tar.xz
linux-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 <dan.carpenter@oracle.com> Reviewed-by: Baolin Wang <baolin.wang@spreadtrum.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mvebu')
0 files changed, 0 insertions, 0 deletions