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