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

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Linus Walleij wrote: > On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann 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.

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

2012-08-10 Thread Linus Walleij
On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann 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

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

2012-08-10 Thread Linus Walleij
On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann a...@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

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

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Linus Walleij wrote: On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann a...@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.

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

2012-08-08 Thread Arnd Bergmann
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

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

2012-08-08 Thread Arnd Bergmann
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