Skip to contentSkip to conversation

doc/develop/logging.rst

BUG Heinrich Schuchardt 2 participants 2 messages Jan 1, 2021 – Jan 7, 2021

lore
Share & tools
lore
#0 lore raw

Hello Simon,

I am trying to port the updated Sphinx build system from the Linux kernel to U-Boot so that we can use Sphinx 3.

With Sphinx 3 I get an error because the same C elements are described twice:

Warning, treated as error:
doc/develop/logging:39: ./include/log.h:3:
Duplicate C declaration, also defined at develop/logging:79.

I think the whole chapter "Logging API" can be moved to doc/api/ and all other kernel-doc:: should be replaced by cross-references.

Best regards

Heinrich

#1 lore raw

Hi Heinrich,

Quoted 9 lines · Heinrich Schuchardt

Hello Simon,

I am trying to port the updated Sphinx build system from the Linux kernel to U-Boot so that we can use Sphinx 3.

With Sphinx 3 I get an error because the same C elements are described twice:

Quoted 6 lines

Warning, treated as error:
doc/develop/logging:39: ./include/log.h:3:
Duplicate C declaration, also defined at develop/logging:79.

I think the whole chapter "Logging API" can be moved to doc/api/ and all other kernel-doc:: should be replaced by cross-references.

That seems OK to me.

Regards,
Simon