Re: [PATCH net] tcp: Avoid preprocessor directives in tracepoint macro args

2017-12-26 Thread David Miller
From: Mat Martineau Date: Thu, 21 Dec 2017 10:29:09 -0800 > Using a preprocessor directive to check for CONFIG_IPV6 in the middle of > a DECLARE_EVENT_CLASS macro's arg list causes sparse to report a series > of errors: > > ./include/trace/events/tcp.h:68:1: error: directive in argument list > .

[PATCH net] tcp: Avoid preprocessor directives in tracepoint macro args

2017-12-21 Thread Mat Martineau
Using a preprocessor directive to check for CONFIG_IPV6 in the middle of a DECLARE_EVENT_CLASS macro's arg list causes sparse to report a series of errors: ./include/trace/events/tcp.h:68:1: error: directive in argument list ./include/trace/events/tcp.h:75:1: error: directive in argument list ./in