[PATCH 0/3] scripts/export_report.pl: some bugfix for exported symbols checking
From: Xie XiuQi
Date: Tue Sep 19 2023 - 10:15:42 EST
From: Xie XiuQi <xiexiuqi@xxxxxxxxxx>
'make export_report' with CONFIG_MODVERSIONS enabled, but we get this warning
message and empty export-symbol-usage SECTION.
$ make export_report
...
WARNING:fs/efivarfs/efivarfs.o is not built with CONFIG_MODVERSIONS enabled
WARNING:drivers/thermal/intel/x86_pkg_temp_thermal.o is not built with CONFIG_MODVERSIONS enabled
WARNING:net/netfilter/nf_log_syslog.o is not built with CONFIG_MODVERSIONS enabled
WARNING:net/netfilter/xt_mark.o is not built with CONFIG_MODVERSIONS enabled
WARNING:net/netfilter/xt_nat.o is not built with CONFIG_MODVERSIONS enabled
WARNING:net/netfilter/xt_LOG.o is not built with CONFIG_MODVERSIONS enabled
WARNING:net/netfilter/xt_MASQUERADE.o is not built with CONFIG_MODVERSIONS enabled
WARNING:net/netfilter/xt_addrtype.o is not built with CONFIG_MODVERSIONS enabled
WARNING:net/ipv4/netfilter/iptable_nat.o is not built with CONFIG_MODVERSIONS enabled
...
SECTION 2:
This section reports export-symbol-usage of in-kernel
modules. Each module lists the modules, and the symbols from that module that
it uses. Each listed symbol reports the number of modules using it
NOTE: Got 9 CONFIG_MODVERSIONS warnings
The causes of the problem is that the formats of modules.order and .mod.c are
changed, but the modification for export_report.pl is missing. So, fix them.
Xie XiuQi (3):
scripts/export_report.pl: fix the path suffix of module
scripts/export_report.pl: use the module name in warning message
scripts/export_report.pl: fix modversion checking
scripts/export_report.pl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--
2.25.1