linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tyler Hicks <tyhicks@linux.microsoft.com>
To: Borislav Petkov <bp@alien8.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Sasha Levin <sashal@kernel.org>, Lei Wang <lewan@microsoft.com>,
	Tony Luck <tony.luck@intel.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Sinan Kaya <okaya@kernel.org>,
	Shiping Ji <shiping.linux@gmail.com>,
	James Morse <james.morse@arm.com>,
	Robert Richter <rric@kernel.org>,
	linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] EDAC/dmc520: Don't print an error for each unconfigured interrupt line
Date: Mon, 18 Apr 2022 16:34:53 -0500	[thread overview]
Message-ID: <20220418213453.GB31854@sequoia> (raw)
In-Reply-To: <Yl3UgPtVV3t4pzVe@zn.tnic>

On 2022-04-18 23:13:36, Borislav Petkov wrote:
> On Mon, Apr 18, 2022 at 03:40:29PM -0500, Tyler Hicks wrote:
> > > The API argument seems to have fizzled out in v2:
> > > 
> > >  https://lore.kernel.org/lkml/20220212201631.12648-1-s.shtylyov@omp.ru/
> 
> I don't see those two upstream yet, on a quick glance. Perhaps in Greg's tree?
> 
> Greg, what's the latest with that platform_get_*_optional() fun?
> 
> Also, the second of those two patches above has:
> 
> + * Return: non-zero IRQ number on success, 0 if IRQ wasn't found, negative error
> + * number on failure.
>   */
>  int platform_get_irq_byname_optional(struct platform_device *dev,
> 
> and your patch does:
> 
> +		irq = platform_get_irq_byname_optional(pdev, dmc520_irq_configs[idx].name);
>  		irqs[idx] = irq;
> 
> so on failure, it would still write the negative error value in
> irqs[idx].
> 
> How can that be right?

The patches to modify the API have become stale. There have been no
new comments or revisions since Feb. What I'm proposing is to proceed
with merging this simple fix and let the folks discussing the API
changes adjust the use in the dmc250 driver if/when they decide to
revive the API changes.

Tyler

> 
> -- 
> Regards/Gruss,
>     Boris.
> 
> https://people.kernel.org/tglx/notes-about-netiquette
> 

  reply	other threads:[~2022-04-18 21:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11 16:38 [PATCH] EDAC/dmc520: Don't print an error for each unconfigured interrupt line Tyler Hicks
2022-01-12 17:19 ` Lei Wang (DPLAT)
2022-01-16 18:29 ` Borislav Petkov
2022-01-18 15:28   ` Tyler Hicks
2022-01-18 17:28     ` Borislav Petkov
2022-01-18 19:54       ` Tyler Hicks
2022-01-18 21:04         ` Borislav Petkov
2022-01-19  9:17           ` Greg Kroah-Hartman
2022-01-19  9:37             ` Borislav Petkov
2022-01-19 10:28               ` Greg Kroah-Hartman
2022-04-04 21:56                 ` Tyler Hicks
2022-04-18 20:40                   ` Tyler Hicks
2022-04-18 21:13                     ` Borislav Petkov
2022-04-18 21:34                       ` Tyler Hicks [this message]
2022-04-19  9:36                         ` Borislav Petkov

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=20220418213453.GB31854@sequoia \
    --to=tyhicks@linux.microsoft.com \
    --cc=bp@alien8.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=james.morse@arm.com \
    --cc=lewan@microsoft.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=okaya@kernel.org \
    --cc=rric@kernel.org \
    --cc=sashal@kernel.org \
    --cc=shiping.linux@gmail.com \
    --cc=tony.luck@intel.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;
as well as URLs for NNTP newsgroup(s).