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@barebox.org>
Cc: Alexander Shiyan <eagle.alexander923@gmail.com>
Subject: Re: [PATCH 1/6] spi: fix NULL pointer dereference for board info devices
Date: Tue, 24 Nov 2026 08:19:09 +0100	[thread overview]
Message-ID: <179550474900.376317.11014962293023062259.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20261119185828.92337-1-a.fatoum@barebox.org>


On Thu, 19 Nov 2026 19:58:11 +0100, Ahmad Fatoum wrote:
> Devices registered with spi_register_board_info() have no device node,
> but spi_new_device() unconditionally stores the new device in it.
> 
> The at91sam9m10g45ek board, which has the Atmel SPI driver enabled in
> its defconfig, still registers its devices this way. Let's add an
> of_node_set_dev() helper that only sets the node's device if there is
> a node and use it here.
> 
> [...]

Applied, thanks!

[1/6] spi: fix NULL pointer dereference for board info devices
      https://git.pengutronix.de/cgit/barebox/commit/?id=cf00a1ea1bfc (link may not be stable)
[2/6] driver: pass the requested node to the rescan hook
      https://git.pengutronix.de/cgit/barebox/commit/?id=22d993692cd0 (link may not be stable)
[3/6] i2c: factor out of_i2c_register_device()
      https://git.pengutronix.de/cgit/barebox/commit/?id=91246097b638 (link may not be stable)
[4/6] i2c: allow creating siblings on demand while populating the bus
      https://git.pengutronix.de/cgit/barebox/commit/?id=6433a89b6339 (link may not be stable)
[5/6] spi: factor out spi_of_register_slave()
      https://git.pengutronix.de/cgit/barebox/commit/?id=b09871d81629 (link may not be stable)
[6/6] spi: allow creating siblings on demand while populating the bus
      https://git.pengutronix.de/cgit/barebox/commit/?id=940243e14d3b (link may not be stable)

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




      parent reply	other threads:[~2026-11-24  7:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-19 18:58 Ahmad Fatoum
2026-11-19 18:58 ` [PATCH 2/6] driver: pass the requested node to the rescan hook Ahmad Fatoum
2026-11-19 18:58 ` [PATCH 3/6] i2c: factor out of_i2c_register_device() Ahmad Fatoum
2026-11-19 18:58 ` [PATCH 4/6] i2c: allow creating siblings on demand while populating the bus Ahmad Fatoum
2026-11-20 11:04   ` Alexander Shiyan
2026-11-19 18:58 ` [PATCH 5/6] spi: factor out spi_of_register_slave() Ahmad Fatoum
2026-11-19 18:58 ` [PATCH 6/6] spi: allow creating siblings on demand while populating the bus Ahmad Fatoum
2026-11-24  7:19 ` 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=179550474900.376317.11014962293023062259.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@barebox.org \
    --cc=barebox@lists.infradead.org \
    --cc=eagle.alexander923@gmail.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