commit | cf14f27f82af78e713f8a57c477cf9233faf8b30 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@kernel.org> | Wed Mar 28 12:05:36 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Mar 28 22:55:19 2018 +0200 |
tree | 35b9919d56890c7c3d04ec24e8c1c427b71786e2 | |
parent | 4fe43c2c00349557fdf4e6d61a67ebbe670412b8 [diff] |
macro: introduce COUNT_ARGS() macro move COUNT_ARGS() macro from apparmor to generic header and extend it to count till twelve. COUNT() was an alternative name for this logic, but it's used for different purpose in many other places. Similarly for CONCATENATE() macro. Suggested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>