All of lore.kernel.org
 help / color / mirror / Atom feed
* [Kernel-janitors] reference_init.pl for Linux 2.6
@ 2004-02-19  2:23 ` Randy.Dunlap
  0 siblings, 0 replies; 8+ messages in thread
From: Randy.Dunlap @ 2004-02-19  2:23 UTC (permalink / raw)
  To: kjo; +Cc: lkml, kaos


I have updated Keith Owens "reference_init.pl" script for
Linux 2.6.  It searches for code that refers to other code
sections that they should not reference, such as init code
calling exit code or v.v.

The script searches all .o (non-MODULE) files in the current
directory and sub-directories.  To restrict its scope, just
'cd drivers/video', e.g., to run it.

Notes:  __devinit and __devexit don't mean/do anything if
CONFIG_HOTPLUG=y, so setting CONFIG_HOTPLUG=n and doing a
'make allyesconfig && make all' finds the most possible
problems.  I say 'possible' because there are probably some
false positives reported.

script for Linux 2.6 is at:
http://developer.osdl.org/rddunlap/scripts/reference_init26.pl

and output from Linux 2.6.3 is at:
http://developer.osdl.org/rddunlap/scripts/badrefs.out

Comments/corrections welcome.

--
~Randy
kernel-janitors project:  http://janitor.kernelnewbies.org/
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-02-19 17:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19  2:23 [Kernel-janitors] reference_init.pl for Linux 2.6 Randy.Dunlap
2004-02-19  2:23 ` Randy.Dunlap
2004-02-19  2:51 ` [Kernel-janitors] " Dave Jones
2004-02-19  2:51   ` Dave Jones
2004-02-19 12:00   ` [Kernel-janitors] " Keith Owens
2004-02-19 12:00     ` Keith Owens
2004-02-19 17:35     ` [Kernel-janitors] " Randy.Dunlap
2004-02-19 17:35       ` Randy.Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.