Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpio: zynq: Check return value of irq_get_irq_data
[ Upstream commit 35d7b72 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information