backports.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] backports: extend magic to 6 possible arguments
@ 2017-04-21 10:47 Johannes Berg
  2017-04-21 10:47 ` [PATCH 2/2] backports: add the necessary backports for netlink extack Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2017-04-21 10:47 UTC (permalink / raw)
  To: backports; +Cc: Johannes Berg

From: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 backport/backport-include/backport/magic.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backport/backport-include/backport/magic.h b/backport/backport-include/backport/magic.h
index 222e02513ef2..d7e7cc961bbf 100644
--- a/backport/backport-include/backport/magic.h
+++ b/backport/backport-include/backport/magic.h
@@ -5,8 +5,8 @@
  * http://efesx.com/2010/08/31/overloading-macros/
  */
 
-#define VA_NUM_ARGS(...) VA_NUM_ARGS_IMPL(__VA_ARGS__, 5,4,3,2,1)
-#define VA_NUM_ARGS_IMPL(_1,_2,_3,_4,_5,N,...) N
+#define VA_NUM_ARGS(...) VA_NUM_ARGS_IMPL(__VA_ARGS__, 6,5,4,3,2,1)
+#define VA_NUM_ARGS_IMPL(_1,_2,_3,_4,_5,_6,N,...) N
 
 #define macro_dispatcher(func, ...) \
 	macro_dispatcher_(func, VA_NUM_ARGS(__VA_ARGS__))
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-04-21 18:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-21 10:47 [PATCH 1/2] backports: extend magic to 6 possible arguments Johannes Berg
2017-04-21 10:47 ` [PATCH 2/2] backports: add the necessary backports for netlink extack Johannes Berg
2017-04-21 18:50   ` Arend Van Spriel
2017-04-21 18:54     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).