[PATCH 0/4] gpio chip cascade fixes

From: Stephen Boyd
Date: Mon Oct 08 2018 - 12:32:21 EST


Originally this was a single patch but then I noticed some
other things that didn't seem quite right so I added on a few
more patches after that. The first patch is the important one
because it fixes a bug where a stack pointer is assigned to
the gpio_irq_chip structure and used later on when that stack
is gone.

Cc: Evan Green <evgreen@xxxxxxxxxxxx>
Cc: Thierry Reding <treding@xxxxxxxxxx>
Cc: Grygorii Strashko <grygorii.strashko@xxxxxx>

Stephen Boyd (4):
gpio: Assign gpio_irq_chip::parents to non-stack pointer
gpio: Drop parent irq assignment during cascade setup
gpio: Remove unused 'irqchip' argument to
gpiochip_set_cascaded_irqchip()
gpio: Clarify kerneldoc on gpiochip_set_chained_irqchip()

drivers/gpio/gpiolib.c | 24 +++++-------------------
include/linux/gpio/driver.h | 5 +++++
2 files changed, 10 insertions(+), 19 deletions(-)

--
Sent by a computer through tubes