summaryrefslogtreecommitdiff
path: root/Documentation/sphinx/kernellog.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-02 08:47:35 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-02 08:47:35 +0100
commit48a3d90adafc9ed92d19c93d011f17ec9001cc34 (patch)
tree868f62da2306ddabd6eca57eb6ea2a18ac18995f /Documentation/sphinx/kernellog.py
parent3f7566f4947834db9b36aeb8b308e91448ba74fc (diff)
parent3cea11cd5e3b00d91caf0b4730194039b45c5891 (diff)
Merge 5.10-rc2 into char-misc-next
We need the fixes/changes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/sphinx/kernellog.py')
-rw-r--r--Documentation/sphinx/kernellog.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/sphinx/kernellog.py b/Documentation/sphinx/kernellog.py
index af924f51a7dc..8ac7d274f542 100644
--- a/Documentation/sphinx/kernellog.py
+++ b/Documentation/sphinx/kernellog.py
@@ -25,4 +25,8 @@ def verbose(app, message):
else:
app.verbose(message)
-
+def info(app, message):
+ if UseLogging:
+ logger.info(message)
+ else:
+ app.info(message)