summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2019-05-21 14:42:34 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-09 09:18:17 +0200
commit7ddc65cba192a0dbfd994856e64f0e1175635bd6 (patch)
tree0f1c397346bb1b070e98afc6ff7df1f83a7fee15 /scripts/gcc-plugins/gcc-common.h
parent7dbf1a7bef3e5ec586b050c81a2afbb8eac18ce6 (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