[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20151130.152007.1841592572513563445.davem@davemloft.net>
Date: Mon, 30 Nov 2015 15:20:07 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: broonie@...nel.org
Cc: claudiu.manoil@...escale.com, Shaohui.Xie@...escale.com,
netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] net: fsl: Don't use NO_IRQ to check return value
of irq_of_parse_and_map()
From: Mark Brown <broonie@...nel.org>
Date: Thu, 26 Nov 2015 11:59:45 +0000
> This driver can be built on arm64 but relies on NO_IRQ to check the return
> value of irq_of_parse_and_map() which fails to build on arm64 because the
> architecture does not provide a NO_IRQ. Fix this to correctly check the
> return value of irq_of_parse_and_map().
>
> Even on ARM systems where the driver was previously used the check was
> broken since on ARM NO_IRQ is -1 but irq_of_parse_and_map() returns 0 on
> error.
>
> Signed-off-by: Mark Brown <broonie@...nel.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists