Re: [PATCH] gpio: grgpio: Avoid potential NULL pointer dereference

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

 



On Sat, Dec 20, 2014 at 3:47 PM, Axel Lin <axel.lin@xxxxxxxxxx> wrote:

> irqmap is optional property, so priv->domain can be NULL if !irqmap.
> Thus add NULL test for priv->domain before calling irq_domain_remove()
> to prevent NULL pointer dereference.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Patch applied for fixes. Thanks!

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