diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-07-09 15:19:29 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-13 13:16:33 +0200 |
commit | 2dfbe9afcda3243dd309826cbbb8ae9e9f602006 (patch) | |
tree | 0c86bab57007a317e9d07558b00fb8c4b3edd4bb /sound/soc/codecs/rt5645.h | |
parent | ASoC: zx: i2s: Fix devm_ioremap_resource return value check (diff) | |
download | linux-2dfbe9afcda3243dd309826cbbb8ae9e9f602006.tar.xz linux-2dfbe9afcda3243dd309826cbbb8ae9e9f602006.zip |
ASoC: zx: spdif: 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 'sound/soc/codecs/rt5645.h')
0 files changed, 0 insertions, 0 deletions