mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Dongliang Mu <dzm91@hust.edu.cn>
Cc: Li Ningke <lnk_01@hust.edu.cn>,
	hust-os-kernel-patches@googlegroups.com,
	linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org,
	Dan Carpenter <error27@gmail.com>
Subject: Re: [PATCH] spi: davinci: Remove dead code in `davinci_spi_probe()`
Date: Wed, 26 Apr 2023 15:13:31 +0100	[thread overview]
Message-ID: <dbcc6739-e741-495f-85f9-bac104647194@sirena.org.uk> (raw)
In-Reply-To: <1488abfa-9a0e-970b-e074-11842a6c6413@hust.edu.cn>

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

On Wed, Apr 26, 2023 at 09:50:26AM +0800, Dongliang Mu wrote:

> Second, from code review of platform_get_irq / platform_get_irq_optional, it
> would warn IRQ 0 as an invalid IRQ number.

> out:
> 	if (WARN(!ret, "0 is an invalid IRQ number\n"))
> 		return -EINVAL;
> 	return ret;

Like I say I'm not sure that's actually accurate for all architectures
yet.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2023-04-26 14:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-23  3:24 Li Ningke
2023-04-24 11:48 ` Mark Brown
2023-04-24 12:03   ` Dongliang Mu
2023-04-24 15:52     ` Mark Brown
2023-04-26  1:50       ` Dongliang Mu
2023-04-26 14:13         ` Mark Brown [this message]
2023-04-26 15:07           ` 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=dbcc6739-e741-495f-85f9-bac104647194@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=dzm91@hust.edu.cn \
    --cc=error27@gmail.com \
    --cc=hust-os-kernel-patches@googlegroups.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=lnk_01@hust.edu.cn \
    /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®