powerpc/prom, of/fdt: fix chosen node handling and cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | powerpc/prom: fix /chosen properties read from wrong nodearch/ | +10 | 1 reply | |
| 2/2 | of/fdt: make early_init_dt_scan_chosen() return voiddrivers/ include/ | +3 | 2 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] powerpc/prom, of/fdt: fix chosen node handling and cleanup
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(-)
Signature · 1 line
2.43.0