mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: mfe@pengutronix.de
Subject: Re: [PATCH v2 1/5] driver: refactor probe return value handling into switch statement
Date: Tue, 20 Feb 2024 12:08:32 +0100	[thread overview]
Message-ID: <170842731297.2943921.7634914007838859374.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240219172925.3798024-1-a.fatoum@pengutronix.de>


On Mon, 19 Feb 2024 18:29:21 +0100, Ahmad Fatoum wrote:
> The return values of the bus probe function called inside device_probe()
> are classified into 4 categories and they are checked by if statement
> distributed across device_probe().
> 
> For clarity and easier changes, collect all of them into a switch
> statement and while at it, use helpers to make use of %pe, list_move and
> list_del_init instead of opencoding them.
> 
> [...]

Applied, thanks!

[1/5] driver: refactor probe return value handling into switch statement
      https://git.pengutronix.de/cgit/barebox/commit/?id=6e08b4ab5bec (link may not be stable)
[2/5] deep-probe: treat any probe deferral as permanent
      https://git.pengutronix.de/cgit/barebox/commit/?id=8a42a6bf42b0 (link may not be stable)
[3/5] deep-probe: use IS_ERR_OR_NULL() instead of opencoding
      https://git.pengutronix.de/cgit/barebox/commit/?id=05785e25af00 (link may not be stable)
[4/5] deep-probe: return -EPROBE_DEFER when ensuring probe fails
      https://git.pengutronix.de/cgit/barebox/commit/?id=1905fa7cb425 (link may not be stable)
[5/5] phy: freescale: imx8mq-usb: make i.MX8MP support more explicit
      https://git.pengutronix.de/cgit/barebox/commit/?id=e87ca6e235e4 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      parent reply	other threads:[~2024-02-20 11:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-19 17:29 Ahmad Fatoum
2024-02-19 17:29 ` [PATCH v2 2/5] deep-probe: treat any probe deferral as permanent Ahmad Fatoum
2024-02-19 17:29 ` [PATCH v2 3/5] deep-probe: use IS_ERR_OR_NULL() instead of opencoding Ahmad Fatoum
2024-02-19 17:29 ` [PATCH v2 4/5] deep-probe: return -EPROBE_DEFER when ensuring probe fails Ahmad Fatoum
2024-02-19 17:29 ` [PATCH v2 5/5] phy: freescale: imx8mq-usb: make i.MX8MP support more explicit Ahmad Fatoum
2024-02-20 11:08 ` Sascha Hauer [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=170842731297.2943921.7634914007838859374.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=mfe@pengutronix.de \
    /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