diff options
| author | Dan Carpenter <[email protected]> | 2019-03-29 09:21:37 +0300 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-04-05 14:37:56 +0200 |
| commit | 95c5c618fa4349b2ba13aebeabf71911208dfc5e (patch) | |
| tree | d1e981c0a8a22599bf75ac6c1815ab18b4337563 /include/linux/fpga/fpga-bridge.h | |
| parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 (diff) | |
irqchip/irq-ls1x: Missing error code in ls1x_intc_of_init()
Currently, when irq_domain_add_linear() fails, the error code does not get
set so it returns zero which is wrong. Fix it by setting the appropriate
error code.
Fixes: 9e543e22e204 ("irqchip: Add driver for Loongson-1 interrupt controller")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Mukesh Ojha <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Jiaxun Yang <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/20190329062136.GQ32613@kadam
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions