Skip to content

Commit e6b4d26

Browse files
andy-shevakpm00
authored andcommitted
args: fix documentation to reflect the correct numbers
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: d51e783 ("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>
1 parent 039bef3 commit e6b4d26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/linux/args.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
/*
77
* How do these macros work?
88
*
9-
* In __COUNT_ARGS() _0 to _12 are just placeholders from the start
9+
* In __COUNT_ARGS() _0 to _15 are just placeholders from the start
1010
* in order to make sure _n is positioned over the correct number
11-
* from 12 to 0 (depending on X, which is a variadic argument list).
11+
* from 15 to 0 (depending on X, which is a variadic argument list).
1212
* They serve no purpose other than occupying a position. Since each
1313
* macro parameter must have a distinct identifier, those identifiers
1414
* are as good as any.

0 commit comments

Comments
 (0)