All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergey Shtylyov <s.shtylyov@omprussia.ru>
To: "James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	<linux-scsi@vger.kernel.org>
Subject: [PATCH v2 0/3] Stop calling request_irq() with invalid IRQs
Date: Mon, 29 Mar 2021 23:15:35 +0300	[thread overview]
Message-ID: <ef3823c1-ee4a-5e9a-0a56-85f401ffa9dd@omprussia.ru> (raw)

Here are 3 patches against the 'fixes' branch of Martin Petersen's 'scsi.git' repo,
2 of them were previously posted separately, the 3rd is a new addition.

The affected drivers call platform_get_irq() but ignore its result -- they blithely
pass the negative error codes to request_irq() which expects *unsinged* IRQ #s. Stop
doing that by checking what platfrom_get_irq() returns.

[1/3: scsi: jazz_esp: add IRQ check
[2/3] scsi: sun3x_esp: fix IRQ check
[3/3] scsi: sni_53c710: fix IRQ check

             reply	other threads:[~2021-03-29 20:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 20:15 Sergey Shtylyov [this message]
2021-03-29 20:16 ` [PATCH v2 1/3: scsi: jazz_esp: add IRQ check Sergey Shtylyov
2021-03-29 20:18 ` [PATCH v2 2/3] scsi: sun3x_esp: fix " Sergey Shtylyov
2021-03-29 20:19 ` [PATCH v2 3/3] scsi: sni_53c710: " Sergey Shtylyov
2021-03-30 17:07 ` [PATCH v2 0/3] Stop calling request_irq() with invalid IRQs Sergey Shtylyov

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=ef3823c1-ee4a-5e9a-0a56-85f401ffa9dd@omprussia.ru \
    --to=s.shtylyov@omprussia.ru \
    --cc=jejb@linux.ibm.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.