summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-vf610.c
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-11-11 21:27:35 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-11-17 14:39:22 +0100
commit853f0cb8603486a8ba17d5b728b52a9b4b029698 (patch)
treed8b413dc89ff462275ea840552e0f40683487dbf /drivers/gpio/gpio-vf610.c
parent56880a243c85668762dfec69b878862f86be6f04 (diff)
gpio: syscon: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer dereference later at line 199: priv->flags = of_id->data; Reported-by: coverity (CID 1324140) Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-vf610.c')
0 files changed, 0 insertions, 0 deletions