Re: [PATCH] tools/docs/get_abi.py: fix get_abi library directory
From: Jonathan Corbet
Date: Mon Nov 10 2025 - 14:46:22 EST
Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> writes:
> changeset a5dd93016f20 ("docs: move get_abi.py to tools/docs") moved
> the script location, but didn't update library location, causing it
> to fail.
>
> Fixes: a5dd93016f20 ("docs: move get_abi.py to tools/docs")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
> tools/docs/get_abi.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/docs/get_abi.py b/tools/docs/get_abi.py
> index 7ce4748a46d2..da69e77559cc 100755
> --- a/tools/docs/get_abi.py
> +++ b/tools/docs/get_abi.py
> @@ -14,7 +14,7 @@ import sys
>
> # Import Python modules
>
> -LIB_DIR = "lib/abi"
> +LIB_DIR = "../../scripts/lib/abi"
> SRC_DIR = os.path.dirname(os.path.realpath(__file__))
Sigh ... I was sure I had tested it ... evidently not.
Applied, thanks.
jon