OpenCloudOS-Kernel/drivers/pinctrl/sprd
Dan Carpenter 4ce504c4eb pinctrl: sprd: fix off by one bugs
info->groups[] has info->ngroups elements so these comparisons should be
>= instead of >.

Fixes: 41d32cfce1 ("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>
2017-09-12 11:27:36 +02:00
..
Kconfig pinctrl: sprd: Restrict PINCTRL_SPRD to ARCH_SPRD or COMPILE_TEST 2017-09-12 11:21:12 +02:00
Makefile pinctrl: sprd: Add Spreadtrum pin control driver 2017-08-31 09:23:14 +02:00
pinctrl-sprd-sc9860.c pinctrl: sprd: Add Spreadtrum pin control driver 2017-08-31 09:23:14 +02:00
pinctrl-sprd.c pinctrl: sprd: fix off by one bugs 2017-09-12 11:27:36 +02:00
pinctrl-sprd.h pinctrl: sprd: Add Spreadtrum pin control driver 2017-08-31 09:23:14 +02:00