Re: [PATCH] docs: core-api: fix broken references for div64.c and gcd.c

From: Jonathan Corbet
Date: Fri Apr 19 2019 - 14:55:53 EST


On Thu, 18 Apr 2019 06:50:18 -0300
Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx> wrote:

> Those files were moved to lib/math.
>
> Fixes: 9635bad21596 ("lib: Move mathematic helpers to separate folder")
> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
> ---
> Documentation/core-api/kernel-api.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst
> index 71f5d2fe39b7..a29c99d13331 100644
> --- a/Documentation/core-api/kernel-api.rst
> +++ b/Documentation/core-api/kernel-api.rst
> @@ -147,10 +147,10 @@ Division Functions
> .. kernel-doc:: include/linux/math64.h
> :internal:
>
> -.. kernel-doc:: lib/div64.c
> +.. kernel-doc:: lib/math/div64.c
> :functions: div_s64_rem div64_u64_rem div64_u64 div64_s64
>
> -.. kernel-doc:: lib/gcd.c
> +.. kernel-doc:: lib/math/gcd.c
> :export:

This, of course, creates a build error in docs-next...hopefully that
situation won't last more than a couple of weeks or so. Applied, thanks.

jon