Skip to content

Commit

Permalink
cpumask: cpulist_parse() comments correction
Browse files Browse the repository at this point in the history
As introduced in Rusty's commit 29c0177, 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>
  • Loading branch information
Alex Shi authored and Rusty Russell committed Jul 26, 2012
1 parent 96263d2 commit 231daf0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/cpumask.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 231daf0

Please sign in to comment.