[PATCH 1/2] ARM: imx: Remove imx_add_imx_dma() unused irq_err argument

Shawn Guo shawnguo at kernel.org
Sun Jul 12 23:27:15 EDT 2020


On Wed, Jul 01, 2020 at 05:10:39PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas at google.com>
> 
> No callers of imx_add_imx_dma() need an error IRQ, so they supply 0 as
> "irq_err", which means we register a resource of IRQ 0, which is invalid
> and causes a warning if used.
> 
> Remove the "irq_err" argument altogether so there's no chance of trying to
> use the invalid IRQ 0.
> 
> Fixes: a85a6c86c25be ("driver core: platform: Clarify that IRQ 0 is invalid")
> Signed-off-by: Bjorn Helgaas <bhelgaas at google.com>
> Cc: Russell King <linux at armlinux.org.uk>
> Cc: Shawn Guo <shawnguo at kernel.org>
> Cc: Sascha Hauer <s.hauer at pengutronix.de>
> Cc: kernel at pengutronix.de
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: linux-imx at nxp.com
> Cc: linux-arm-kernel at lists.infradead.org

Applied, thanks.



More information about the linux-arm-kernel mailing list