gpio: fix gpio_chip add and remove
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | gpio: fix memory and reference leaks in gpiochip_add error pathdrivers/ | +7 | 0 replies | |
| 2/6 | gpio: fix gpio-chip list corruptiondrivers/ | +10 | 0 replies | |
| 3/6 | gpio: clean up gpiochip_add error handlingdrivers/ | +17 | 0 replies | |
| 4/6 | gpio: fix memory leak and sleep-while-atomicdrivers/ | +2 | 0 replies | |
| 5/6 | gpio: fix sleep-while-atomic in gpiochip_removedrivers/ | +1 | 0 replies | |
| 6/6 | gpio: unregister gpiochip device before removing itdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] gpio: fix gpio_chip add and remove
This series fix a few issues with gpiochip_add and gpiochip_remove.
The gpio-chip removal paths have probably not been exercised much, and there are further issues here that I'm working on fixing in order better support hot-plugging of gpio chips. I believe these patches should go into 3.19 meanwhile.
Johan
Johan Hovold (6):
gpio: fix memory and reference leaks in gpiochip_add error path
gpio: fix gpio-chip list corruption
gpio: clean up gpiochip_add error handling
gpio: fix memory leak and sleep-while-atomic
gpio: fix sleep-while-atomic in gpiochip_remove
gpio: unregister gpiochip device before removing it
drivers/gpio/gpiolib.c | 58 ++++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 28 deletions(-)
Signature · 1 line
2.0.5