[PATCH 0/3] gpio: check the return value of irq_alloc_generic_chip()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While hacking on some irq devres stuff I noticed that the return value
of irq_alloc_generic_chip() is not being checked in a couple GPIO
drivers.

Those routines can fail, so check it and bail out if they do.

Bartosz Golaszewski (3):
  gpio: pch: check the return value of irq_alloc_generic_chip()
  gpio: sta2x11: check the return value of irq_alloc_generic_chip()
  gpio: ml-ioh: check the return value of irq_alloc_generic_chip()

 drivers/gpio/gpio-ml-ioh.c  | 16 +++++++++++++---
 drivers/gpio/gpio-pch.c     | 15 ++++++++++++---
 drivers/gpio/gpio-sta2x11.c | 12 ++++++++++--
 3 files changed, 35 insertions(+), 8 deletions(-)

-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux