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

From: Mauro Carvalho Chehab
Date: Thu Apr 18 2019 - 19:13:58 EST


Em Thu, 18 Apr 2019 14:59:41 -0700
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> escreveu:

> On 4/18/19 2:50 AM, Mauro Carvalho Chehab wrote:
> > Those files were moved to lib/math.
> >
> > Fixes: 9635bad21596 ("lib: Move mathematic helpers to separate folder")
>
> Is that commid ID in mainline? I get:
> fatal: ambiguous argument '9635bad21596': unknown revision or path not in the working tree.

No, it is on Linux-next.

>
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@xxxxxxxxxx>
>
> Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Thanks.
>
> > ---
> > 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:
> >
> > UUID/GUID
> >
>
>



Thanks,
Mauro