Re: [PATCH v5 0/3] docs/zh_CN add three core api docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all:

>   I tested it on other computers (at least three) with no problem,
>   But on my computers it prints 1000+ warnings, I tried to find the
>   cause in the past few days but no clue.
>   So, the two patches may print as follows:(maybe your computer won't print anything)
>
>   linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235.
>   Declaration is '.. c:None:: struct list_head *prev'.
>   linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235.
>   Declaration is '.. c:None:: struct list_head *next'.
>   linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:235: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:235.
>   Declaration is '.. c:None:: void (*sync)(void)'.
>   linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:283: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:283.
>   Declaration is '.. c:function:: void list_splice_init_rcu(struct list_head *list, struct list_head *head, void (*sync)(void))'.
>   linux-next/Documentation/translations/zh_CN/core-api/kernel-api.rst:283: WARNING: Duplicate C declaration, also defined at core-api/kernel-api:283.
>   Declaration is '.. c:None:: struct list_head *list'.
>   ...
I've done a lot of testing and found that these warnings are only
reported in very old (sphinx 1.7.6)
 or very new (sphinx 3.5.2, this is the version I'm currently using),
and the default version (sphinx 2.4.4)
is all right, so the current warnings can be ignored.>_<

Thanks,
Yanteng



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux