diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-03-29 09:21:37 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-04-05 14:37:56 +0200 |
commit | 95c5c618fa4349b2ba13aebeabf71911208dfc5e (patch) | |
tree | d1e981c0a8a22599bf75ac6c1815ab18b4337563 /kernel | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 (diff) | |
download | linux-95c5c618fa4349b2ba13aebeabf71911208dfc5e.tar.bz2 |
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 <dan.carpenter@oracle.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: kernel-janitors@vger.kernel.org
Link: https://lkml.kernel.org/r/20190329062136.GQ32613@kadam
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions