From: Alex Shi Date: Sat, 21 Jul 2012 22:28:16 +0000 (+1000) Subject: cpumask: cpulist_parse() comments correction X-Git-Tag: next-20120724~58^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=befbe035127d3e5d80881efe8c024257d7f6e3a0;p=karo-tx-linux.git 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 Signed-off-by: Rusty Russell --- 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, } /** - * 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 - * @len: the length of the buffer * @dstp: the cpumask to set. * * Returns -errno, or 0 for success.