diff options
author | Jonathan Corbet <corbet@lwn.net> | 2019-05-21 14:23:43 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-09 09:18:17 +0200 |
commit | 732c9e41486baa174c30602968d42f558f0974e5 (patch) | |
tree | bbfa52fbbf2aa359f2a1695824378687bed0463b /scripts/gcc-plugins/gcc-common.h | |
parent | 7ddc65cba192a0dbfd994856e64f0e1175635bd6 (diff) |
doc: Cope with Sphinx logging deprecations
commit 096ea522e84ea68f8e6c41e5e7294731a81e29bc upstream.
Recent versions of sphinx will emit messages like:
Documentation/sphinx/kerneldoc.py:103:
RemovedInSphinx20Warning: app.warning() is now deprecated.
Use sphinx.util.logging instead.
Switch to sphinx.util.logging to make this unsightly message go away.
Alas, that interface was only added in version 1.6, so we have to add a
version check to keep things working with older sphinxes.
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