diff options
author | Srinivas Neeli <srinivas.neeli@xilinx.com> | 2021-04-09 16:08:06 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2021-06-14 20:21:21 +0200 |
commit | 35d7b72a632bc7afb15356f44005554af8697904 (patch) | |
tree | 161a08647a20a8b546b2d1985705c434a4bb6e57 /drivers/idle | |
parent | gpio: zynq: Check return value of pm_runtime_get_sync (diff) | |
download | linux-35d7b72a632bc7afb15356f44005554af8697904.tar.xz linux-35d7b72a632bc7afb15356f44005554af8697904.zip |
gpio: zynq: Check return value of irq_get_irq_data
In two different instances the return value of "irq_get_irq_data"
API was neither captured nor checked.
Fixed it by capturing the return value and then checking for any error.
Addresses-Coverity: "returned_null"
Signed-off-by: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions