Zero is not a valid IRQ for in-kernel code and the irq_of_parse_and_map() function returns zero on error. So this check for valid IRQs should only accept values > 0. Additional info: 社区有patch已经解决 dmaengine: ti: edma: handle irq_of_parse_and_map() errors commit c53cfe99c2aa9c3c9471febb508ce6c70623745b Reference:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=c53cfe99c2aa9c3c9471febb508ce6c70623745b git cherry-pick -s c53cfe99c(with stable-v5.10.201 repo added)
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2458
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3687