diff mbox series

[2/4] scripts: namespace.pl: add some x86 object files to nmexception

Message ID 20191003031312.313485229@gmail.com (mailing list archive)
State New, archived
Headers show
Series scripts: update namespace.pl | expand

Commit Message

Randy Dunlap Oct. 3, 2019, 3:13 a.m. UTC
These x86 object files do not have any exports or public symbols
so they can be excluded from the namespace checking.

Signed-off-by: Randy Dunlap <rd.dunlab@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
---
patch 2/4:
 scripts/namespace.pl |    2 ++
 1 file changed, 2 insertions(+)

Comments

Masahiro Yamada Oct. 23, 2019, 5:33 a.m. UTC | #1
On Thu, Oct 3, 2019 at 12:18 PM <rd.dunlab@gmail.com> wrote:


You can grow %nmexception until
you no longer see "No nm data for ..." messages,
but is this maintainable?

I think it is more realistic to
delete the printf "No nm data for $fullname\n" line.
diff mbox series

Patch

--- linux-next-20191002.orig/scripts/namespace.pl
+++ linux-next-20191002/scripts/namespace.pl
@@ -91,6 +91,8 @@  my %nmexception = (
     'arch/x86/lib/thunk_32'		=> 1,
     'arch/x86/lib/cmpxchg'		=> 1,
     'arch/x86/vdso/vdso32/note'		=> 1,
+    'arch/x86/entry/vdso/vdso-note.o'	=> 1,
+    'arch/x86/entry/vdso/vdso32/note.o'	=> 1,
     'lib/irq_regs'			=> 1,
     'usr/initramfs_data'		=> 1,
     'drivers/scsi/aic94xx/aic94xx_dump'	=> 1,