[PATCH 6.4 130/737] irqchip/loongson-eiointc: Fix return value checking of eiointc_index