From: Oliver Neukum <oneukum@suse.com>
To: Dan Carpenter <error27@gmail.com>, Oliver Neukum <oneukum@suse.com>
Cc: Sergei Shtylyov <sergei.shtylyov@gmail.com>,
Mingxuan Xiang <mx_xiang@hust.edu.cn>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
hust-os-kernel-patches@googlegroups.com,
Dongliang Mu <dzm91@hust.edu.cn>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] usb: dwc3: host: remove dead code in dwc3_host_get_irq()
Date: Thu, 23 Mar 2023 16:38:24 +0100 [thread overview]
Message-ID: <3b3f6024-1ce2-9d8f-f5bf-e30993256fab@suse.com> (raw)
In-Reply-To: <6677e2c6-b621-4c7e-9dd6-631a02ce5996@kili.mountain>
On 23.03.23 15:06, Dan Carpenter wrote:
>> irq != 0
>
> You've reversed this if statement in your head. It says that if
> platform_get_irq() returns zero, then return -EINVAL.
>
Argh. You are right.
Sorry
Oliver
next prev parent reply other threads:[~2023-03-23 15:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-23 9:53 Mingxuan Xiang
2023-03-23 10:29 ` Sergei Shtylyov
2023-03-23 10:54 ` Oliver Neukum
2023-03-23 11:13 ` Dan Carpenter
2023-03-23 13:48 ` Oliver Neukum
2023-03-23 14:06 ` Dan Carpenter
2023-03-23 15:38 ` Oliver Neukum [this message]
2023-03-23 10:52 ` Dan Carpenter
2023-03-23 11:00 ` Dan Carpenter
2023-03-23 11:12 ` Dan Carpenter
2023-03-23 15:40 ` Greg Kroah-Hartman
2023-03-24 1:46 ` Dongliang Mu
2023-03-24 5:17 ` Dan Carpenter
2023-03-24 5:19 ` Dongliang Mu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3b3f6024-1ce2-9d8f-f5bf-e30993256fab@suse.com \
--to=oneukum@suse.com \
--cc=Thinh.Nguyen@synopsys.com \
--cc=dzm91@hust.edu.cn \
--cc=error27@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=hust-os-kernel-patches@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mx_xiang@hust.edu.cn \
--cc=sergei.shtylyov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®