From: "John W. Linville" <linville@tuxdriver.com>
To: linux-wireless@vger.kernel.org
Subject: micro-project proposal -- WARN_ON -> WARN_ON_ONCE under drivers/net/wireless
Date: Mon, 30 Jan 2012 14:28:11 -0500 [thread overview]
Message-ID: <20120130192811.GD2493@tuxdriver.com> (raw)
Anyone looking for a little "janitorial" project to do under the
drivers/net/wireless tree?
find drivers/net/wireless/ -type f -exec grep -H WARN_ON {} \; | \
grep -v WARN_ON_ONCE | wc -l
653
That looks like an awful lot of "WARN_ON" calls. Do all of them
really need to SPAM the log files every single time they are hit?
Couldn't a lot of them be WARN_ON_ONCE instead?
Patches welcome...
John
--
John W. Linville Someday the world will need a hero, and you
linville@tuxdriver.com might be all we have. Be ready.
next reply other threads:[~2012-01-30 19:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-30 19:28 John W. Linville [this message]
2012-01-30 21:43 ` micro-project proposal -- WARN_ON -> WARN_ON_ONCE under drivers/net/wireless Joe Perches
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=20120130192811.GD2493@tuxdriver.com \
--to=linville@tuxdriver.com \
--cc=linux-wireless@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 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.