linux-stable/scripts/dtc
Matthias Schiffer fe02c43440 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 09:04:33 +01:00
..
include-prefixes dts: remove cris & metag dts hard link file 2018-04-06 15:26:31 +02:00
libfdt scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
.gitignore .gitignore: move *.lex.c *.tab.[ch] patterns to the top-level .gitignore 2018-04-07 19:04:02 +09:00
Makefile scripts/dtc: consolidate include path options in Makefile 2018-08-22 23:21:36 +09:00
Makefile.dtc
checks.c scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2018-05-14 19:45:01 -05:00
data.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
dt_to_config scripts: Switch to more portable Perl shebang 2017-05-14 11:20:44 +09:00
dtc-lexer.l scripts/dtc: Remove redundant YYLOC global declaration 2020-04-02 15:28:17 +02:00
dtc-parser.y scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2018-05-14 19:45:01 -05:00
dtc.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
dtc.h scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2018-05-14 19:45:01 -05:00
dtx_diff scripts/dtc: dtx_diff: remove broken example from help text 2022-01-27 09:04:33 +01:00
fdtdump.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fdtget.c
fdtput.c
flattree.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
fstree.c scripts/dtc: Update to upstream version 0931cea3ba20 2017-01-04 10:47:53 -06:00
livetree.c scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2018-05-14 19:45:01 -05:00
srcpos.c scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
srcpos.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
treesource.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
update-dtc-source.sh scripts/dtc: generate lexer and parser during build instead of shipping 2018-03-05 20:58:17 -06:00
util.c scripts/dtc: Update to upstream version v1.4.4-8-g756ffc4f52f6 2017-03-22 14:56:14 -05:00
util.h scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987 2018-03-05 20:58:17 -06:00
version_gen.h scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc 2018-05-14 19:45:01 -05:00