Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] powerpc/prom, of/fdt: fix chosen node handling and cleanup
@ 2026-05-10 17:13 Sang-Heon Jeon
  2026-05-10 17:13 ` [PATCH 1/2] powerpc/prom: fix /chosen properties read from wrong node Sang-Heon Jeon
  2026-05-10 17:13 ` [PATCH 2/2] of/fdt: make early_init_dt_scan_chosen() return void Sang-Heon Jeon
  0 siblings, 2 replies; 3+ messages in thread
From: Sang-Heon Jeon @ 2026-05-10 17:13 UTC (permalink / raw)
  To: maddy, mpe, npiggin, chleroy, robh, saravanak
  Cc: linuxppc-dev, devicetree, Sang-Heon Jeon

Hello,

While looking into boot information, I found one bug fix and one
minor cleanup around /chosen node handling.

Patch 1 fixes a bug in powerpc where /chosen properties are read
from the wrong node.

This bug has existed for a while without any report, so I don't
think backporting is necessary and I did not add Cc: stable.
Please let me know if you think otherwise.

Patch 2 is a follow-up cleanup that drops the now-unused return
value of early_init_dt_scan_chosen() and the dead checks at its
callers.

If I missunderstood anything, please feel free to let me know.

Best Regards,
Sang-Heon Jeon

Sang-Heon Jeon (2):
  powerpc/prom: fix /chosen properties read from wrong node
  of/fdt: make early_init_dt_scan_chosen() return void

 arch/powerpc/kernel/prom.c | 20 ++++++++++----------
 drivers/of/fdt.c           | 10 ++--------
 include/linux/of_fdt.h     |  2 +-
 3 files changed, 13 insertions(+), 19 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-05-10 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-10 17:13 [PATCH 0/2] powerpc/prom, of/fdt: fix chosen node handling and cleanup Sang-Heon Jeon
2026-05-10 17:13 ` [PATCH 1/2] powerpc/prom: fix /chosen properties read from wrong node Sang-Heon Jeon
2026-05-10 17:13 ` [PATCH 2/2] of/fdt: make early_init_dt_scan_chosen() return void Sang-Heon Jeon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox