From: Keith Owens <kaos@ocs.com.au>
To: linux-kernel@vger.kernel.org
Subject: Checking for incorrect MODULE_PARM
Date: Sun, 10 Dec 2000 23:06:10 +1100 [thread overview]
Message-ID: <18434.976449970@ocs3.ocs-net> (raw)
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/
next reply other threads:[~2000-12-10 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-10 12:06 Keith Owens [this message]
2000-12-10 16:38 ` Checking for incorrect MODULE_PARM Horst von Brand
2000-12-10 23:58 ` Keith Owens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18434.976449970@ocs3.ocs-net \
--to=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox