diff options
| author | Vladimir Zapolskiy <vz@mleia.com> | 2015-03-29 05:37:20 +0300 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2015-04-08 09:53:57 +0200 |
| commit | 33c07b46774219ceaa2e6650413aa4d2cd6d6dd0 (patch) | |
| tree | 21cd7c318b1be036f285db95a0c50a2f3b0b0be7 /scripts/patch-kernel | |
| parent | gpio: loongson: Add Loongson-3A/3B GPIO driver support (diff) | |
| download | linux-33c07b46774219ceaa2e6650413aa4d2cd6d6dd0.tar.gz linux-33c07b46774219ceaa2e6650413aa4d2cd6d6dd0.zip | |
gpio: x-gene: fix devm_ioremap_resource() check
devm_ioremap_resource() returns IOMEM_ERR_PTR() and it never
returns NULL, fix the check to prevent access to invalid
virtual address.
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
