diff options
author | 2015-07-09 22:19:28 +0900 | |
---|---|---|
committer | 2015-07-13 12:16:29 +0100 | |
commit | a18da49ff3ec849c4584ae3abe2b83ff50705ace (patch) | |
tree | 6a0efb0d35375a97d8f7abdeeed610c1d3c04655 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 4.2-rc1 (diff) | |
download | wireguard-linux-a18da49ff3ec849c4584ae3abe2b83ff50705ace.tar.xz wireguard-linux-a18da49ff3ec849c4584ae3abe2b83ff50705ace.zip |
ASoC: zx: i2s: Fix devm_ioremap_resource return value check
Value returned by devm_ioremap_resource() was checked for non-NULL but
devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
error this could lead to dereference of ERR_PTR.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Reviewed-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions