diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-27 10:33:15 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-09-02 18:32:02 +0300 |
commit | dd85345abca60a8916617e8d75c0f9ce334336dd (patch) | |
tree | eed5d2e1ae44d86f10453dc71104f6eed80d4dbe /Documentation/devicetree/bindings/memory-controllers | |
parent | 6cf238d4e21bc21bc18d126358dd617b2c991d66 (diff) | |
download | linux-dd85345abca60a8916617e8d75c0f9ce334336dd.tar.xz |
memory: fsl-corenet-cf: Fix handling of platform_get_irq() error
platform_get_irq() returns -ERRNO on error. In such case comparison
to 0 would pass the check.
Fixes: 54afbec0d57f ("memory: Freescale CoreNet Coherency Fabric error reporting driver")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200827073315.29351-1-krzk@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/memory-controllers')
0 files changed, 0 insertions, 0 deletions