Skip to content

scripts: dt_to_config: Fix nul-separated compatible values

Geert Uytterhoeven linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scripts: dt_to_config: Fix nul-separated compatible valuesscripts/dtc/dt_to_config+1 -00 replies
2/2scripts: dt_to_config: Fix odd formattingscripts/dtc/dt_to_config+879 -8870 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] scripts: dt_to_config: Fix nul-separated compatible values

Hi all,

Due to a not-so-recent change in dtc, the dt_to_config script no longer works well when used on a DTB instead of on a DTS file. The first patch fixes that, the second patch fixes the rather odd spacing in that script.

To not hamper backporting the fix, I put the reformatting patch last.

Thanks for your comments!

P.S. Apparently I had fixed the similar issue in my own out-of-tree
linux-config-from-dt script in a slightly different way.
https://github.com/geertu/linux-scripts/commit/56ade26c032c45e9353334384643d190d34b89fb

Geert Uytterhoeven (2):
scripts: dt_to_config: Fix nul-separated compatible values
scripts: dt_to_config: Fix odd formatting

 scripts/dtc/dt_to_config | 1765 +++++++++++++++++++-------------------
 1 file changed, 879 insertions(+), 886 deletions(-)
Signature · 12 lines
2.34.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds