Re: [PATCH] docs: Makefile: use the new script to check for bad ABI references

From: Jonathan Corbet
Date: Thu Feb 13 2025 - 11:55:27 EST


Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx> writes:

> The get_abi.pl script was replaced by get_abi.py. Update it at docs
> makefile.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202502110736.ZGWaWsep-lkp@xxxxxxxxx/
> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
> ---
> Documentation/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/Makefile b/Documentation/Makefile
> index 52c6c5a3efa9..63094646df28 100644
> --- a/Documentation/Makefile
> +++ b/Documentation/Makefile
> @@ -12,7 +12,7 @@ endif
>
> # Check for broken ABI files
> ifeq ($(CONFIG_WARN_ABI_ERRORS),y)
> -$(shell $(srctree)/scripts/get_abi.pl validate --dir $(srctree)/Documentation/ABI)
> +$(shell $(srctree)/scripts/get_abi.py --dir $(srctree)/Documentation/ABI validate)
> endif

Applied, thanks.

jon