diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2015-11-11 21:27:34 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-11-17 14:39:17 +0100 |
commit | 56880a243c85668762dfec69b878862f86be6f04 (patch) | |
tree | 9c051d9ff44218f26a21339f72bfa3f62334f86d /drivers/gpio/gpio-tegra.c | |
parent | Linux 4.4-rc1 (diff) | |
download | linux-56880a243c85668762dfec69b878862f86be6f04.tar.xz linux-56880a243c85668762dfec69b878862f86be6f04.zip |
gpio: 74xx: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer
dereference later at line 132:
priv->flags = (uintptr_t) of_id->data;
Reported-by: coverity (CID 1324141)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-tegra.c')
0 files changed, 0 insertions, 0 deletions