linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Sergey Shtylyov <s.shtylyov@omprussia.ru>,
	Hans de Goede <hdegoede@redhat.com>,
	linux-ide@vger.kernel.org
Subject: Re: [PATCH v2] ata: libahci_platform: fix IRQ check
Date: Tue, 30 Mar 2021 20:24:39 -0600	[thread overview]
Message-ID: <6e2d31a7-9a28-9aee-bd28-84f3d4d7701d@kernel.dk> (raw)
In-Reply-To: <4448c8cc-331f-2915-0e17-38ea34e251c8@omprussia.ru>

On 3/15/21 2:15 PM, Sergey Shtylyov wrote:
> Iff platform_get_irq() returns 0, ahci_platform_init_host() would return 0
> early (as if the call was successful). Override IRQ0 with -EINVAL instead
> as the 'libata' regards 0 as "no IRQ" (thus polling) anyway...

Applied, thanks.

-- 
Jens Axboe


      reply	other threads:[~2021-03-31  2:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 20:15 [PATCH v2] ata: libahci_platform: fix IRQ check Sergey Shtylyov
2021-03-31  2:24 ` Jens Axboe [this message]

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=6e2d31a7-9a28-9aee-bd28-84f3d4d7701d@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hdegoede@redhat.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=s.shtylyov@omprussia.ru \
    /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;
as well as URLs for NNTP newsgroup(s).