summaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-09-06 15:33:48 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-09-10 08:48:24 +0200
commitf6d9af4770995d1f58be57139bce7974868231e8 (patch)
tree97184175c3eb661c6d2354e9ddda2adae735ec90 /Kconfig
parentgpio: ep93xx: fix incorrect array element size check (diff)
downloadlinux-f6d9af4770995d1f58be57139bce7974868231e8.tar.xz
linux-f6d9af4770995d1f58be57139bce7974868231e8.zip
gpio: ep93xx: fix test for end of loop
The problem is that if port == ARRAY_SIZE() and "gc == &epg->gc[port]" then that should be treated as invalid. Fixes: fd935fc421e7 ("gpio: ep93xx: Do not pingpong irq numbers") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions