]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
args: fix documentation to reflect the correct numbers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 1 Dec 2025 20:10:18 +0000 (21:10 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 11 Dec 2025 00:07:42 +0000 (16:07 -0800)
The macro uses up to 15 arguments.  Reflect this in the top level comment.

Link: https://lkml.kernel.org/r/20251201201018.765475-1-andriy.shevchenko@linux.intel.com
Fixes: d51e783c17ba ("lsm: count the LSMs enabled at compile time")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/args.h

index 2e8e65d975c77822ab87d77d24861db23ed4d213..0562dc51435e2dc1930f74ea435abd853f755cd6 100644 (file)
@@ -6,9 +6,9 @@
 /*
  * How do these macros work?
  *
- * In __COUNT_ARGS() _0 to _12 are just placeholders from the start
+ * In __COUNT_ARGS() _0 to _15 are just placeholders from the start
  * in order to make sure _n is positioned over the correct number
- * from 12 to 0 (depending on X, which is a variadic argument list).
+ * from 15 to 0 (depending on X, which is a variadic argument list).
  * They serve no purpose other than occupying a position. Since each
  * macro parameter must have a distinct identifier, those identifiers
  * are as good as any.