]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
cpumask: fix function description kernel-doc notation
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 2 Jan 2023 21:18:30 +0000 (13:18 -0800)
committerYury Norov <yury.norov@gmail.com>
Thu, 22 Jun 2023 20:57:41 +0000 (13:57 -0700)
Use kernel-doc notation for the function description to prevent
a warning:

lib/cpumask.c:160: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 * Returns an arbitrary cpu within srcp1 & srcp2.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
lib/cpumask.c

index e7258836b60b7fc96f11ea05b3b61653441e9021..de356f16773a04c63a5ef3a090ec5e3ec7321701 100644 (file)
@@ -157,7 +157,7 @@ EXPORT_SYMBOL(cpumask_local_spread);
 static DEFINE_PER_CPU(int, distribute_cpu_mask_prev);
 
 /**
- * Returns an arbitrary cpu within srcp1 & srcp2.
+ * cpumask_any_and_distribute - Return an arbitrary cpu within srcp1 & srcp2.
  *
  * Iterated calls using the same srcp1 and srcp2 will be distributed within
  * their intersection.