Skip to content

Handled return value of platform_get_irq correctly

Aman Sharma linux-arm-kernel linux-mediatek linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pci: handled return value of platform_get_irq correctlydrivers/pci/controller/pci-v3-semi.c+2 -25 replies
2/5pci: added check for return value of platform_get_irqdrivers/pci/controller/pci-aardvark.c+3 -00 replies
3/5pci: handled return value of platform_get_irq correctlydrivers/pci/controller/pcie-mobiveil.c+2 -20 replies
4/5pci: handled return value of platform_get_irq correctlydrivers/pci/controller/pcie-tango.c+2 -210 replies
5/5pci: added check for return value of platform_get_irqdrivers/pci/controller/pcie-mediatek.c+3 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Handled return value of platform_get_irq correctly

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(-)
Signature · 1 line
2.20.1