Skip to content

scripts: get_abi.pl: some additional fixes and doc update

Mauro Carvalho Chehab linux-doc lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3scripts: get_abi.pl: produce an error if the ref tree is brokenscripts/get_abi.pl+9 -10 replies
2/3scripts: get_abi.pl: fix parse logic for DT firmwarescripts/get_abi.pl+21 -110 replies
3/3scripts: get_abi.pl: update its documentationscripts/get_abi.pl+15 -130 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/3] scripts: get_abi.pl: some additional fixes and doc update

Hi Greg,

This small series address a couple of issues I noticed while testing it on an arm64 board (HiKey970). Those are addressed on patches 1 and 2.

Patch 2 is the real fix: it prevents creating aliases for nodes that are ignored (specially for /sys/firmware, where there's no documentation for the files created there under Documentation/ABI - nor it makes sense to have it).

Patch 1 prevents similar cases, as it will produce an error if a symlink is pointing to an entry that was not added at the internal representation of the sysfs.

Patch 3 just update a few things at the documentation inside the script.

Mauro Carvalho Chehab (3):
scripts: get_abi.pl: produce an error if the ref tree is broken
scripts: get_abi.pl: fix parse logic for DT firmware
scripts: get_abi.pl: update its documentation

 scripts/get_abi.pl | 70 +++++++++++++++++++++++++++++-----------------
 1 file changed, 45 insertions(+), 25 deletions(-)
Signature · 1 line
2.31.1