linux-stable/scripts/dtc
Matthias Schiffer 0febebd36e scripts/dtc: dtx_diff: remove broken example from help text
commit d8adf5b92a upstream.

dtx_diff suggests to use <(...) syntax to pipe two inputs into it, but
this has never worked: The /proc/self/fds/... paths passed by the shell
will fail the `[ -f "${dtx}" ] && [ -r "${dtx}" ]` check in compile_to_dts,
but even with this check removed, the function cannot work: hexdump will
eat up the DTB magic, making the subsequent dtc call fail, as a pipe
cannot be rewound.

Simply remove this broken example, as there is already an alternative one
that works fine.

Fixes: 10eadc253d ("dtc: create tool to diff device trees")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220113081918.10387-1-matthias.schiffer@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 08:47:42 +01:00
..
libfdt scripts/dtc: Update to upstream version 53bf130b1cdd 2016-03-29 13:29:22 -05:00
.gitignore kbuild: trivial - remove trailing empty lines 2014-06-10 00:04:06 +02:00
checks.c scripts/dtc: Update to upstream version 53bf130b1cdd 2016-03-29 13:29:22 -05:00
data.c scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
dt_to_config tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
dtc-lexer.l scripts/dtc: Remove redundant YYLOC global declaration 2020-04-02 17:20:33 +02:00
dtc-lexer.lex.c_shipped scripts/dtc: Remove redundant YYLOC global declaration 2020-04-02 17:20:33 +02:00
dtc-parser.tab.c_shipped scripts/dtc: Update to upstream commit b06e55c88b9b 2016-02-11 19:45:09 -06:00
dtc-parser.tab.h_shipped scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
dtc-parser.y scripts/dtc: Update to upstream commit b06e55c88b9b 2016-02-11 19:45:09 -06:00
dtc.c scripts/dtc: Update to upstream commit b06e55c88b9b 2016-02-11 19:45:09 -06:00
dtc.h scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
dtx_diff scripts/dtc: dtx_diff: remove broken example from help text 2022-01-27 08:47:42 +01:00
fdtdump.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
fdtget.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
fdtput.c dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
flattree.c scripts/dtc: Update to upstream version 53bf130b1cdd 2016-03-29 13:29:22 -05:00
fstree.c scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
livetree.c scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
Makefile script: dtc: clean generated files 2012-11-21 15:53:22 +00:00
Makefile.dtc dtc: import latest upstream dtc 2012-10-01 11:11:35 -05:00
srcpos.c scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
srcpos.h scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
treesource.c scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
update-dtc-source.sh scripts/dtc: add missing libfdt and fixups to import script 2015-04-29 16:08:05 -05:00
util.c scripts/dtc: Update to upstream commit b06e55c88b9b 2016-02-11 19:45:09 -06:00
util.h scripts/dtc: Update to upstream version 9d3649bd3be245c9 2015-04-29 17:17:27 -05:00
version_gen.h scripts/dtc: Update to upstream version 53bf130b1cdd 2016-03-29 13:29:22 -05:00