Re: [PATCH] gpio: max730x: eliminate double free

2015-10-02 Thread Linus Walleij
On Sat, Sep 26, 2015 at 1:18 PM, Julia Lawall wrote: > The function __max730x_remove is called from the remove functions of > drivers/gpio/gpio-max7300.c and drivers/gpio/gpio-max7301.c. In both > cases, the probe function allocates ts using devm_kzalloc. Explicitly > freeing such a value with

Re: [PATCH] gpio: max730x: eliminate double free

2015-09-27 Thread Alexandre Courbot
On Sun, Sep 27, 2015 at 5:18 AM, Julia Lawall wrote: > The function __max730x_remove is called from the remove functions of > drivers/gpio/gpio-max7300.c and drivers/gpio/gpio-max7301.c. In both > cases, the probe function allocates ts using devm_kzalloc. Explicitly > freeing such a value with k