From: Randy Dunlap <rdunlap@xenotime.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Docbook: allow warning on unused documentation
Date: Thu, 26 Aug 2010 11:48:30 -0700 [thread overview]
Message-ID: <20100826114830.4f7e116e.rdunlap@xenotime.net> (raw)
In-Reply-To: <1282844594.3812.74.camel@jlt3.sipsolutions.net>
On Thu, 26 Aug 2010 19:43:14 +0200 Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@intel.com>
>
> When you don't use !E or !I but only !F, then
> it's very easy to miss including some functions,
> structs etc. in documentation. To help finding
> which ones were missed, allow printing out the
> unused ones as warnings.
>
> For example, using this on mac80211 yields a
> lot of warnings like this:
>
> Warning: didn't use docs for DOC: mac80211 workqueue
> Warning: didn't use docs for ieee80211_max_queues
> Warning: didn't use docs for ieee80211_bss_change
> Warning: didn't use docs for ieee80211_bss_conf
>
> when generating the documentation for it.
>
> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
> ---
> v2: - fix comment
> - use !C instead of !A
>
> Documentation/kernel-doc-nano-HOWTO.txt | 5 +
> scripts/basic/docproc.c | 129 +++++++++++++++++++++++++++++++-
> scripts/kernel-doc | 52 ++++++++++++
> 3 files changed, 183 insertions(+), 3 deletions(-)
Applied, thanks.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
prev parent reply other threads:[~2010-08-26 18:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-18 13:09 [RFC] " Johannes Berg
2010-08-26 16:37 ` Randy Dunlap
2010-08-26 16:51 ` Johannes Berg
2010-08-26 17:11 ` Randy Dunlap
2010-08-26 17:36 ` Johannes Berg
2010-08-26 17:43 ` [PATCH] " Johannes Berg
2010-08-26 18:48 ` Randy Dunlap [this message]
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=20100826114830.4f7e116e.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=johannes@sipsolutions.net \
--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
all inboxes | Powered by JetHome®