mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Shi <alex.shi@intel.com>
To: rusty@rustcorp.com.au, kosaki.motohiro@jp.fujitsu.com
Cc: alex.shi@intel.com, akpm@linux-foundation.org,
	paul.gortmaker@windriver.com, linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] cpumask: cpumask_scnprintf() comments correction
Date: Mon, 16 Jul 2012 10:35:54 +0800	[thread overview]
Message-ID: <1342406154-24001-1-git-send-email-alex.shi@intel.com> (raw)

The function has no parameter @len now, so need to remove it from
comments to avoid kernel-doc warning:

alexs@debian:~/linux-next$ scripts/kernel-doc -man
include/linux/cpumask.h | split-man.pl /tmp/man
....
Creating /tmp/man/cpumask_scnprintf.9
Warning(include/linux/cpumask.h:602): Excess function parameter 'len'
description in 'cpulist_parse'

Signed-off-by: Alex Shi <alex.shi@intel.com>
---
 include/linux/cpumask.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 8bf1c27..5bad959 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -593,7 +593,6 @@ static inline int cpulist_scnprintf(char *buf, int len,
 /**
  * cpulist_parse_user - extract a cpumask from a user string of ranges
  * @buf: the buffer to extract from
- * @len: the length of the buffer
  * @dstp: the cpumask to set.
  *
  * Returns -errno, or 0 for success.
-- 
1.7.5.4


             reply	other threads:[~2012-07-16  2:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-16  2:35 Alex Shi [this message]
2012-07-16  7:40 ` Rusty Russell
2012-07-16  8:29   ` Alex Shi
2012-07-20  1:54     ` Alex Shi
2012-07-20  6:16     ` Rusty Russell

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=1342406154-24001-1-git-send-email-alex.shi@intel.com \
    --to=alex.shi@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paul.gortmaker@windriver.com \
    --cc=rusty@rustcorp.com.au \
    /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®