public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Checking for incorrect MODULE_PARM
@ 2000-12-10 12:06 Keith Owens
  2000-12-10 16:38 ` Horst von Brand
  0 siblings, 1 reply; 3+ messages in thread
From: Keith Owens @ 2000-12-10 12:06 UTC (permalink / raw)
  To: linux-kernel

modutils 2.3.22 does more rigorous checking of MODULE_PARM entries and
has already found several cases where MODULE_PARM(x) is used but the
corresponding variable 'x' is not defined.  These are module coding
bugs that were previously hidden.  Run this script to do a quick check
of all your modules against modutils 2.3.22.  Run as any user, does not
have not be root.

for i in $(/sbin/modprobe -l)
do
	(echo -e "\n" $i ; /sbin/modinfo -p $i) > /var/tmp/modinfo
	grep warning /var/tmp/modinfo > /dev/null && cat /var/tmp/modinfo
done

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-12-11  0:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-10 12:06 Checking for incorrect MODULE_PARM Keith Owens
2000-12-10 16:38 ` Horst von Brand
2000-12-10 23:58   ` Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox