提交 231daf07 编写于 作者: A Alex Shi 提交者: Rusty Russell

cpumask: cpulist_parse() comments correction

As introduced in Rusty's commit 29c0177e, 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: NAlex Shi <alex.shi@intel.com>
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 96263d28
...@@ -591,9 +591,8 @@ static inline int cpulist_scnprintf(char *buf, int len, ...@@ -591,9 +591,8 @@ static inline int cpulist_scnprintf(char *buf, int len,
} }
/** /**
* cpulist_parse_user - extract a cpumask from a user string of ranges * cpulist_parse - extract a cpumask from a user string of ranges
* @buf: the buffer to extract from * @buf: the buffer to extract from
* @len: the length of the buffer
* @dstp: the cpumask to set. * @dstp: the cpumask to set.
* *
* Returns -errno, or 0 for success. * Returns -errno, or 0 for success.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册