[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230919141121.711084-1-xiexiuqi@huaweicloud.com>
Date: Tue, 19 Sep 2023 22:11:18 +0800
From: Xie XiuQi <xiexiuqi@...weicloud.com>
To: masahiroy@...nel.org, mcgrof@...nel.org, joe@...ches.com,
ojeda@...nel.org, ndesaulniers@...ogle.com,
linux-kernel@...r.kernel.org
Cc: xiexiuqi@...wei.com
Subject: [PATCH 0/3] scripts/export_report.pl: some bugfix for exported symbols checking
From: Xie XiuQi <xiexiuqi@...wei.com>
'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
Powered by blists - more mailing lists