[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1583952275.git.amanharitsh123@gmail.com>
Date: Thu, 12 Mar 2020 00:49:01 +0530
From: Aman Sharma <amanharitsh123@...il.com>
To: unlisted-recipients:; (no To-header on input)
Cc: amanharitsh123@...il.com,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Andrew Murray <amurray@...goodpenguin.co.uk>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Linus Walleij <linus.walleij@...aro.org>,
Ryder Lee <ryder.lee@...iatek.com>,
Karthikeyan Mitran <m.karthikeyan@...iveil.co.in>,
Hou Zhiqiang <Zhiqiang.Hou@....com>,
Marc Gonzalez <marc.w.gonzalez@...e.fr>,
Mans Rullgard <mans@...sr.com>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-pci@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mediatek@...ts.infradead.org
Subject: [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(-)
--
2.20.1
Powered by blists - more mailing lists