[PATCH 06/11] gpio: em: do not discard em_gio_irq_domain_cleanup

Linus Walleij linus.walleij at linaro.org
Fri Aug 10 06:59:32 EDT 2012


On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann <arnd at arndb.de> wrote:

> The newly added gpio-em driver marks its em_gio_irq_domain_cleanup
> function as __devexit, which would lead to that function being
> discarded in case CONFIG_HOTPLUG is disabled. However, the function
> is also called by the error handling logic em_gio_probe, which
> would cause a jump into a NULL pointer if it was removed from the
> kernel or module.

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Will you push this through the ARM SoC tree or do you want me
to apply it to my GPIO tree?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list