summaryrefslogtreecommitdiffstats
path: root/include/linux/cpumask.h
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@intel.com>2012-07-26 19:59:42 -0400
committerRusty Russell <rusty@rustcorp.com.au>2012-07-26 19:59:42 -0400
commit231daf0751ccaf21373f591c524a3f557a15d03f (patch)
tree03c193b7e22ebf25b00f406023a947267aa29ac0 /include/linux/cpumask.h
parent96263d2863ab5dfe101bf4dec74e3508cc5d003d (diff)
cpumask: cpulist_parse() comments correction
As introduced in Rusty's commit 29c0177e6a4, the function has no parameter @len, 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 .... Warning(include/linux/cpumask.h:602): Excess function parameter 'len' description in 'cpulist_parse' and correct the function name in comments to cpulist_parse. Signed-off-by: Alex Shi <alex.shi@intel.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/cpumask.h')
-rw-r--r--include/linux/cpumask.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 8bf1c275fce3..032560295fcb 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -591,9 +591,8 @@ static inline int cpulist_scnprintf(char *buf, int len,
591} 591}
592 592
593/** 593/**
594 * cpulist_parse_user - extract a cpumask from a user string of ranges 594 * cpulist_parse - extract a cpumask from a user string of ranges
595 * @buf: the buffer to extract from 595 * @buf: the buffer to extract from
596 * @len: the length of the buffer
597 * @dstp: the cpumask to set. 596 * @dstp: the cpumask to set.
598 * 597 *
599 * Returns -errno, or 0 for success. 598 * Returns -errno, or 0 for success.