summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-08-02 18:10:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-08-02 18:10:26 -0700
commita4e98a30bc958694579dd5346aa6fcd38b5afe86 (patch)
treecca2420db5cb5e14c57ee2a33a675831d9c6c178 /include
parent4b954598a47ba07034aab9af8ddd485bdc3d5b16 (diff)
parent2356d198d2b4ddec24efea98271cb3be230bc787 (diff)
downloadlinux-stable-a4e98a30bc958694579dd5346aa6fcd38b5afe86.tar.gz
linux-stable-a4e98a30bc958694579dd5346aa6fcd38b5afe86.tar.bz2
linux-stable-a4e98a30bc958694579dd5346aa6fcd38b5afe86.zip
Merge tag 'bitmap-6.5-rc5' of https://github.com:/norov/linux
Pull bitmap fixes from Yury Norov: - Fix for bitmap documentation - Fix for kernel build under certain configurations * tag 'bitmap-6.5-rc5' of https://github.com:/norov/linux: lib/bitmap: workaround const_eval test build failure cpumask: eliminate kernel-doc warnings
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpumask.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 0d2e2a38b92d..f10fb87d49db 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -175,8 +175,8 @@ static inline unsigned int cpumask_first_zero(const struct cpumask *srcp)
/**
* cpumask_first_and - return the first cpu from *srcp1 & *srcp2
- * @src1p: the first input
- * @src2p: the second input
+ * @srcp1: the first input
+ * @srcp2: the second input
*
* Returns >= nr_cpu_ids if no cpus set in both. See also cpumask_next_and().
*/
@@ -1197,6 +1197,10 @@ cpumap_print_bitmask_to_buf(char *buf, const struct cpumask *mask,
/**
* cpumap_print_list_to_buf - copies the cpumask into the buffer as
* comma-separated list of cpus
+ * @buf: the buffer to copy into
+ * @mask: the cpumask to copy
+ * @off: in the string from which we are copying, we copy to @buf
+ * @count: the maximum number of bytes to print
*
* Everything is same with the above cpumap_print_bitmask_to_buf()
* except the print format.