Re: [PATCH] docs/sphinx/kerneldoc.py: Honour --enable-werror

2023-03-16 Thread Peter Maydell
On Thu, 16 Mar 2023 at 15:16, Laurent Vivier wrote: > > Le 16/03/2023 à 14:42, Peter Maydell a écrit : > > > > > > On Thu, 16 Mar 2023 at 13:40, Laurent Vivier > > wrote: > > > > > > Le 14/03/2023 à 12:44, Peter Maydell a écrit : > > > > Currently, the kerneldoc

Re: [PATCH] docs/sphinx/kerneldoc.py: Honour --enable-werror

2023-03-16 Thread Laurent Vivier
Le 16/03/2023 à 14:42, Peter Maydell a écrit : On Thu, 16 Mar 2023 at 13:40, Laurent Vivier mailto:laur...@vivier.eu>> wrote: > > Le 14/03/2023 à 12:44, Peter Maydell a écrit : > > Currently, the kerneldoc Sphinx plugin doesn't honour the > > --enable-werror configure option, so its

Re: [PATCH] docs/sphinx/kerneldoc.py: Honour --enable-werror

2023-03-16 Thread Peter Maydell
On Thu, 16 Mar 2023 at 13:40, Laurent Vivier wrote: > > Le 14/03/2023 à 12:44, Peter Maydell a écrit : > > Currently, the kerneldoc Sphinx plugin doesn't honour the > > --enable-werror configure option, so its warnings are never fatal. > > This is because although we do pass sphinx-build the -W

Re: [PATCH] docs/sphinx/kerneldoc.py: Honour --enable-werror

2023-03-16 Thread Laurent Vivier
Le 14/03/2023 à 12:44, Peter Maydell a écrit : Currently, the kerneldoc Sphinx plugin doesn't honour the --enable-werror configure option, so its warnings are never fatal. This is because although we do pass sphinx-build the -W switch, the warnings from kerneldoc are produced by the

Re: [PATCH] docs/sphinx/kerneldoc.py: Honour --enable-werror

2023-03-16 Thread Thomas Huth
On 14/03/2023 12.44, Peter Maydell wrote: Currently, the kerneldoc Sphinx plugin doesn't honour the --enable-werror configure option, so its warnings are never fatal. This is because although we do pass sphinx-build the -W switch, the warnings from kerneldoc are produced by the

[PATCH] docs/sphinx/kerneldoc.py: Honour --enable-werror

2023-03-14 Thread Peter Maydell
Currently, the kerneldoc Sphinx plugin doesn't honour the --enable-werror configure option, so its warnings are never fatal. This is because although we do pass sphinx-build the -W switch, the warnings from kerneldoc are produced by the scripts/kernel-doc script directly and don't go through