Linux FPGA development
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Moritz Fischer <mdf@kernel.org>, Xu Yilun <yilun.xu@intel.com>,
	Tom Rix <trix@redhat.com>
Cc: linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] fpga: of-fpga-region: use dev_err_probe for probe deferral
Date: Tue, 07 Jul 2026 11:39:58 +0200	[thread overview]
Message-ID: <3710268.mvXUDI8C0e@steina-w> (raw)
In-Reply-To: <20260420102136.333673-1-alexander.stein@ew.tq-group.com>

Hi,

Am Montag, 20. April 2026, 12:21:35 CEST schrieb Alexander Stein:
> This also adds a message about probe deferral.
> 
> Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>

any feedback on this patch?

Thanks and best regards,
Alexander

> ---
>  drivers/fpga/of-fpga-region.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/fpga/of-fpga-region.c b/drivers/fpga/of-fpga-region.c
> index caa091224dc54..41e6da296cb3e 100644
> --- a/drivers/fpga/of-fpga-region.c
> +++ b/drivers/fpga/of-fpga-region.c
> @@ -405,7 +405,7 @@ static int of_fpga_region_probe(struct platform_device *pdev)
>  	/* Find the FPGA mgr specified by region or parent region. */
>  	mgr = of_fpga_region_get_mgr(np);
>  	if (IS_ERR(mgr))
> -		return -EPROBE_DEFER;
> +		return dev_err_probe(dev, -EPROBE_DEFER, "FPGA manager not found\n");
>  
>  	region = fpga_region_register(dev, mgr, of_fpga_region_get_bridges);
>  	if (IS_ERR(region)) {
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



      reply	other threads:[~2026-07-07  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-20 10:21 [PATCH 1/1] fpga: of-fpga-region: use dev_err_probe for probe deferral Alexander Stein
2026-07-07  9:39 ` Alexander Stein [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=3710268.mvXUDI8C0e@steina-w \
    --to=alexander.stein@ew.tq-group.com \
    --cc=linux-fpga@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mdf@kernel.org \
    --cc=trix@redhat.com \
    --cc=yilun.xu@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