diff options
author | Jonathan Corbet <corbet@lwn.net> | 2019-05-21 14:42:34 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-09 09:17:20 +0200 |
commit | c0742228bba633537f3d268275a4bdb93afbdc50 (patch) | |
tree | 7c6429e52f79355f3fb7e5d579073ced23f451a6 /scripts/gcc-plugins/gcc-common.h | |
parent | 301b18edbf5673ceabd096e95bff0d4cd228a854 (diff) |
doc: Cope with the deprecation of AutoReporter
commit 2404dad1f67f8917e30fc22a85e0dbcc85b99955 upstream.
AutoReporter is going away; recent versions of sphinx emit a warning like:
Documentation/sphinx/kerneldoc.py:125:
RemovedInSphinx20Warning: AutodocReporter is now deprecated.
Use sphinx.util.docutils.switch_source_input() instead.
Make the switch. But switch_source_input() only showed up in 1.7, so we
have to do ugly version checks to keep things working in older versions.
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions