[PATCH 0/3] scripts/export_report.pl: some bugfix for exported symbols checking

Xie XiuQi posted 3 patches 9 months, 4 weeks ago
scripts/export_report.pl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
[PATCH 0/3] scripts/export_report.pl: some bugfix for exported symbols checking
Posted by Xie XiuQi 9 months, 4 weeks ago
From: Xie XiuQi <xiexiuqi@huawei.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