commit | 33c07b46774219ceaa2e6650413aa4d2cd6d6dd0 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Sun Mar 29 05:37:20 2015 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Apr 08 09:53:57 2015 +0200 |
tree | 21cd7c318b1be036f285db95a0c50a2f3b0b0be7 | |
parent | cbfb3ea7f8c8da2e12d6d5aeca6d483de4297427 [diff] |
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>