Check the return value of irq_domain_translate_onecell() and irq_domain_translate_twocell(), do some code cleanups about Loongson to make it more clean and readable. v2: - In order to avoid git send-email failed, make the related patches about Loongson into a new patch series and add "Fixes" tag Tiezhu Yang (7): irqchip/loongson-htpic: Remove redundant kfree operation irqchip/loongson-htpic: Remove unneeded select of I8259 irqchip/loongson-htvec: Fix potential resource leak irqchip/loongson-htvec: Check return value of irq_domain_translate_onecell() irqchip/loongson-pch-pic: Check return value of irq_domain_translate_twocell() irqchip/loongson-pch-msi: Remove unneeded variable dt-bindings: interrupt-controller: Fix typos in loongson,liointc.yaml .../bindings/interrupt-controller/loongson,liointc.yaml | 4 ++-- drivers/irqchip/Kconfig | 1 - drivers/irqchip/irq-loongson-htpic.c | 6 ++---- drivers/irqchip/irq-loongson-htvec.c | 10 ++++++++-- drivers/irqchip/irq-loongson-pch-msi.c | 7 +------ drivers/irqchip/irq-loongson-pch-pic.c | 15 +++++++++------ 6 files changed, 22 insertions(+), 21 deletions(-) -- 2.1.0