mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tools/docs/get_abi.py: fix get_abi library directory
@ 2025-11-07 13:54 Mauro Carvalho Chehab
  2025-11-10 19:46 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2025-11-07 13:54 UTC (permalink / raw)
  To: Linux Doc Mailing List, Jonathan Corbet
  Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, Jani Nikula, linux-kernel

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@kernel.org>
---
 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__))
 
 sys.path.insert(0, os.path.join(SRC_DIR, LIB_DIR))
-- 
2.51.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/docs/get_abi.py: fix get_abi library directory
  2025-11-07 13:54 [PATCH] tools/docs/get_abi.py: fix get_abi library directory Mauro Carvalho Chehab
@ 2025-11-10 19:46 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2025-11-10 19:46 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Linux Doc Mailing List
  Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, Jani Nikula, linux-kernel

Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 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@kernel.org>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-10 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-07 13:54 [PATCH] tools/docs/get_abi.py: fix get_abi library directory Mauro Carvalho Chehab
2025-11-10 19:46 ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®