diff options
author | 2020-03-06 17:02:05 +0100 | |
---|---|---|
committer | 2020-03-13 10:04:36 +0900 | |
commit | 93c95e526a4ef00eb3d5a1e0920ba5a22f32e40d (patch) | |
tree | ef8aeabe63b764b57e4635ffbf1cdf032f3c0e99 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kbuild: allow to run dt_binding_check without kernel configuration (diff) | |
download | wireguard-linux-93c95e526a4ef00eb3d5a1e0920ba5a22f32e40d.tar.xz wireguard-linux-93c95e526a4ef00eb3d5a1e0920ba5a22f32e40d.zip |
modpost: rework and consolidate logging interface
Rework modpost's logging interface by consolidating merror(), warn(), and
fatal() to use a single function, modpost_log(). Introduce different
logging levels (WARN, ERROR, FATAL) as well. The purpose of this cleanup is
to reduce code duplication when deciding whether or not to warn or error
out based on a condition.
Signed-off-by: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions