Skip to contentSkip to conversation

update scripts/namespace.pl

PATCH In review Adrian Bunk 2 participants 2 messages Jan 24, 2005 – Jan 30, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update scripts/namespace.pl

The patch below removes some false positives I've observed.

Is this correct, or is there another correct solution?

scripts/namespace.pl renamed from scripts/namespace.pl.old +5 -0
@@ -406,6 +406,11 @@
 					&& $name !~ /^__.*per_cpu_end/
 					&& $name !~ /^__alt_instructions/
 					&& $name !~ /^__setup_/
+					&& $name !~ /^jiffies/
+					&& $name !~ /^__mod_timer/
+					&& $name !~ /^__mod_page_state/
+					&& $name !~ /^init_module/
+					&& $name !~ /^cleanup_module/
 				) {
 					printf "Cannot resolve ";
 					printf "weak " if ($type eq "w");
#1 lore raw
Quoted 2 lines · Adrian Bunk

The patch below removes some false positives I've observed. Is this correct, or is there another correct solution?

Looked correct to me, applied.

Sam