diff options
author | Vladimir Zapolskiy <[email protected]> | 2015-03-29 05:37:20 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-04-08 09:53:57 +0200 |
commit | 33c07b46774219ceaa2e6650413aa4d2cd6d6dd0 (patch) | |
tree | 21cd7c318b1be036f285db95a0c50a2f3b0b0be7 /tools/perf/scripts/python/syscall-counts.py | |
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 <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions