[PATCH 0/5] Handled return value of platform_get_irq correctly
From: Aman Sharma
Date: Wed Mar 11 2020 - 15:19:16 EST
As mentioned by Bjorn Helgaas in a private mail, the return value of
platform_get_irq must be checked against the conditon of strictly
smaller than 0 and if check must return the value recieved from
platform_get_irq rather than any other macro like -ENODEV.
Aman Sharma (5):
pci: handled return value of platform_get_irq correctly
pci: added check for return value of platform_get_irq
pci: handled return value of platform_get_irq correctly
pci: handled return value of platform_get_irq correctly
pci: added check for return value of platform_get_irq
drivers/pci/controller/pci-aardvark.c | 3 +++
drivers/pci/controller/pci-v3-semi.c | 4 ++--
drivers/pci/controller/pcie-mediatek.c | 3 +++
drivers/pci/controller/pcie-mobiveil.c | 4 ++--
drivers/pci/controller/pcie-tango.c | 4 ++--
5 files changed, 12 insertions(+), 6 deletions(-)
--
2.20.1