All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Shtylyov <s.shtylyov@omprussia.ru>
To: John Garry <john.garry@huawei.com>,
	Avri Altman <avri.altman@wdc.com>,
	"James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	<linux-scsi@vger.kernel.org>
Subject: Re: [PATCH] scsi: hisi_sas: fix IRQ checks
Date: Sat, 10 Apr 2021 21:58:52 +0300	[thread overview]
Message-ID: <4938827a-0778-c149-1df5-2ce9a9de8268@omprussia.ru> (raw)
In-Reply-To: <67ebfc0b-7de5-376c-1f78-a696eb719cce@huawei.com>

Hello!

On 4/6/21 10:43 AM, John Garry wrote:

[...]
>>> Commit df2d8213d9e3 ("hisi_sas: use platform_get_irq()") failed to take
>>> into account that irq_of_parse_and_map() and platform_get_irq() have a
>>> different way of indicating an error: the former returns 0 and the latter
>>> returns a negative error code. Fix up the IRQ checks!
>>>
>>> Fixes: df2d8213d9e3 ("hisi_sas: use platform_get_irq()")
>>> Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
>>>
>>> ---
>>
>>     Sorry, forgot to mention that this patch is against the 'fixes' branch of
>> Martin Petgersen's 'scsi.git' repo.
> 
> JFYI, The HW for this v1 hw driver is all but dead, and I was considering deleting the driver.
> 
> But, for now, if you want to fix up to ensure no one copies this pattern, then fine.

   Yeah, that too. And the -stable kernels also need to be considered...

> Thanks,
> John

MBR, Sergey

  reply	other threads:[~2021-04-10 18:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-03 20:43 [PATCH] scsi: hisi_sas: fix IRQ checks Sergey Shtylyov
     [not found] ` <CAHp75VfZ+B-MNZ57BzMxgTvGXQ7Ek-DU2T4UVQ2tQpPoOmfcTg@mail.gmail.com>
2021-04-04 15:39   ` Sergey Shtylyov
2021-04-05 14:27 ` Sergey Shtylyov
2021-04-06  7:43   ` John Garry
2021-04-10 18:58     ` Sergey Shtylyov [this message]
2021-04-16  2:51 ` Martin K. Petersen

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=4938827a-0778-c149-1df5-2ce9a9de8268@omprussia.ru \
    --to=s.shtylyov@omprussia.ru \
    --cc=avri.altman@wdc.com \
    --cc=jejb@linux.ibm.com \
    --cc=john.garry@huawei.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.