On Thu, Jul 9, 2015 at 3:19 PM, Krzysztof Kozlowski <k.kozlowski.k@xxxxxxxxx> wrote: > Value returned by devm_ioremap_resource() was checked for non-NULL but > devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of > error this could lead to dereference of ERR_PTR. > > Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@xxxxxxxxx> > Fixes: d342571efea8 ("gpio: add ETRAXFS GPIO driver") > Cc: <stable@xxxxxxxxxxxxxxx> Patch applied for next cycle, stripped the Fixes: and stable tags. 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