On Sat, Jul 21, 2018 at 4:26 PM Hedges Alexander <ahedges@xxxxxxxxxxxxxxx> wrote: > From: Michal Simek <michal.simek@xxxxxxxxxx> > Date: Tue, 3 Sep 2013 16:22:12 +0200 > > irq_alloc_descs() returns negative numbers > on error path. Use int type to capture it. > > Bug was introduced by this commit: > "GPIO: xilinx: Add irq support to the driver" > (sha1: 796ae5e3e4ae5f550e0ba01ade34604c83b08cfd) > > Reported-by: Kester Aernoudt <kestera@xxxxxxxxxx> > Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx> > Signed-off-by: Alexander Hedges <ahedges@xxxxxxx> > (cherry picked from commit 32161b344f3eb80f59bd99e9ca215a93b40b929a) Do not fix code you just added, just fold this into the commit adding irq support. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html