lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 30 Sep 2020 07:24:05 +0000 From: Pawel Laszczak <pawell@...ence.com> To: "balbi@...nel.org" <balbi@...nel.org> CC: "peter.chen@....com" <peter.chen@....com>, "rogerq@...com" <rogerq@...com>, "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>, "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, Rahul Kumar <kurahul@...ence.com>, Pawel Laszczak <pawell@...ence.com> Subject: RE: [PATCH] usb: cdns3: platform_get_irq_byname_optional instead platform_get_irq_byname Hi, My email server complains that delivery to peter.chan@....org has failed. This address has generated by get_maintainer.pl. I only updated email to correct: peter.chan@....com. Regards, Pawel >To avoid duplicate error information patch replaces platform_get_irq_byname >into platform_get_irq_byname_optional. > >A change was suggested during reviewing CDNSP driver by Chunfeng Yun. > >Signed-off-by: Pawel Laszczak <pawell@...ence.com> >--- > drivers/usb/cdns3/core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/drivers/usb/cdns3/core.c b/drivers/usb/cdns3/core.c >index a0f73d4711ae..a3f6dc44cf3a 100644 >--- a/drivers/usb/cdns3/core.c >+++ b/drivers/usb/cdns3/core.c >@@ -465,7 +465,7 @@ static int cdns3_probe(struct platform_device *pdev) > > cdns->xhci_res[1] = *res; > >- cdns->dev_irq = platform_get_irq_byname(pdev, "peripheral"); >+ cdns->dev_irq = platform_get_irq_byname_optional(pdev, "peripheral"); > if (cdns->dev_irq == -EPROBE_DEFER) > return cdns->dev_irq; > >@@ -477,7 +477,7 @@ static int cdns3_probe(struct platform_device *pdev) > return PTR_ERR(regs); > cdns->dev_regs = regs; > >- cdns->otg_irq = platform_get_irq_byname(pdev, "otg"); >+ cdns->otg_irq = platform_get_irq_byname_optional(pdev, "otg"); > if (cdns->otg_irq == -EPROBE_DEFER) > return cdns->otg_irq; > >-- >2.17.1
Powered by blists - more mailing lists