scripts: Remove export_report.pl
PATCH v2 1/1 scripts: Remove export_report.pl
This script has been broken for 5 years with no user complaints.
It first had its .mod.c parser broken in commit a3d0cb04f7df ("modpost:
use __section in the output to *.mod.c"). Later, it had its object file enumeration broken in commit f65a486821cf ("kbuild: change module.order to list *.o instead of *.ko"). Both of these changes sat for years with no reports.
Rather than reviving this script as we make further changes to .mod.c, this patch gets rid of it because it is clearly unused.
---
Changes in v2:
- Remove references to export_report from Makefile
- Link to v1: https://lore.kernel.org/r/[email protected]
--- Makefile | 6 +- scripts/export_report.pl | 186 ----------------------------------------------- 2 files changed, 1 insertion(+), 191 deletions(-)
Makefile +1 -5
@@ -1620,7 +1620,6 @@ help: @echo ' with a stack size larger than MINSTACKSIZE (default: 100)' @echo ' versioncheck - Sanity check on version.h usage' @echo ' includecheck - Check for duplicate included header files' - @echo ' export_report - List the usages of all exported symbols' @echo ' headerdep - Detect inclusion cycles in headers' @echo ' coccicheck - Check with Coccinelle' @echo ' clang-analyzer - Check with clang static analyzer'
@@ -2033,7 +2032,7 @@ endif # Scripts to check various things for consistency # --------------------------------------------------------------------------- -PHONY += includecheck versioncheck coccicheck export_report +PHONY += includecheck versioncheck coccicheck includecheck: find $(srctree)/* $(RCS_FIND_IGNORE) \
@@ -2048,9 +2047,6 @@ versioncheck: coccicheck: $(Q)$(BASH) $(srctree)/scripts/$@ -export_report: - $(PERL) $(srctree)/scripts/export_report.pl - PHONY += checkstack kernelrelease kernelversion image_name # UML needs a little special treatment here. It wants to use the host
scripts/export_report.pl deleted +0 -186
186 lines not on this page · raw message
---
base-commit: 6fb2fa9805c501d9ade047fc511961f3273cdcb5
change-id: 20241029-remove-export-report-pl-7365c6ca3bee
Best regards,
Signature · 1 line
Matthew Maurer <[email protected]>
Luis Chamberlain
AppliedQuoted 8 lines · Matthew Maurer
This script has been broken for 5 years with no user complaints.
It first had its
.mod.cparser broken in commita3d0cb04f7df("modpost:
use__sectionin the output to *.mod.c"). Later, it had its object file enumeration broken in commitf65a486821cf("kbuild: change module.order to list *.o instead of *.ko"). Both of these changes sat for years with no reports.
Quoted 4 lines
Rather than reviving this script as we make further changes to
.mod.c, this patch gets rid of it because it is clearly unused.Signed-off-by Matthew Maurer <[email protected]>
Thanks! Applied and pushed!
Luis
Masahiro Yamada
Acked-byQuoted 10 lines · Luis Chamberlain
Quoted 8 lines · Matthew Maurer
This script has been broken for 5 years with no user complaints.
It first had its
.mod.cparser broken in commita3d0cb04f7df("modpost:
use__sectionin the output to *.mod.c"). Later, it had its object file enumeration broken in commitf65a486821cf("kbuild: change module.order to list *.o instead of *.ko"). Both of these changes sat for years with no reports.
Quoted 8 lines
Quoted 4 lines
Rather than reviving this script as we make further changes to
.mod.c, this patch gets rid of it because it is clearly unused.Signed-off-by Matthew Maurer <[email protected]>Thanks! Applied and pushed!
Luis
Signature · 2 lines
Best Regards Masahiro Yamada