diff options
author | 2020-06-01 14:57:16 +0900 | |
---|---|---|
committer | 2020-06-06 23:38:12 +0900 | |
commit | 4ddea2f8e825a86e94011ebc32eb1dce220b2316 (patch) | |
tree | 3579a3e2a84013845fa64fc30100cc334c360f95 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | modpost: drop RCS/CVS $Revision handling in MODULE_VERSION() (diff) | |
download | wireguard-linux-4ddea2f8e825a86e94011ebc32eb1dce220b2316.tar.xz wireguard-linux-4ddea2f8e825a86e94011ebc32eb1dce220b2316.zip |
modpost: do not call get_modinfo() for vmlinux(.o)
The three calls of get_modinfo() ("license", "import_ns", "version")
always return NULL for vmlinux(.o) because the built-in module info is
prefixed with __MODULE_INFO_PREFIX.
It is harmless to call get_modinfo(), but there is no point to search
for what apparently does not exist.
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