Re: PATCH 09/22] gpio: xilinx: Fix type for irq_base

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux